CombustUI icon indicating copy to clipboard operation
CombustUI copied to clipboard

Issue with ignite_app.sh script and missing documentation

Open gonsolo opened this issue 1 year ago • 12 comments

curl https://raw.githubusercontent.com/Hammad-hab/CombustUI/main/create_new_app.sh -o ignite_app.sh

returns "404 - Not Found"

gonsolo avatar Jul 08 '25 09:07 gonsolo

You can find the old script here: https://raw.githubusercontent.com/Hammad-hab/CombustUI/refs/heads/dev/create_new_app.sh. Keep in mind that you'll need to install fltk too using homebrew, apt or whatever package manager you have

Hammad-hab avatar Jul 08 '25 12:07 Hammad-hab

The Readme still references this script. Installation as explained there does not work.

gonsolo avatar Jul 08 '25 12:07 gonsolo

Ok, I'll make sure to fix that

Hammad-hab avatar Jul 08 '25 14:07 Hammad-hab

@gonsolo, this issue has been resolved here #6

Hammad-hab avatar Jul 08 '25 16:07 Hammad-hab

Downloading works now, generating an example app via ./ignite_app.sh works too, but then? There is an empty app.[fire], but no instructions what to do, copying the example from the README into this app.[fire] generates a lot of errors.

Frankly, if you can't provide instructions how to use this that work within one minute, nobody is going to use this. :(

gonsolo avatar Jul 09 '25 07:07 gonsolo

Sorry about the confusion and the rough edges right now. I’m currently working on writing clear documentation, and I plan to have it released by the end of this month. That should make getting started much easier.

Hammad-hab avatar Jul 09 '25 07:07 Hammad-hab

Could you share the errors you're encountering? I could help you with that

Downloading works now, generating an example app via ./ignite_app.sh works too, but then? There is an empty app.[fire], but no instructions what to do, copying the example from the README into this app.[fire] generates a lot of errors.

Frankly, if you can't provide instructions how to use this that work within one minute, nobody is going to use this. :(

Hammad-hab avatar Jul 09 '25 07:07 Hammad-hab

I generate the project, change dir into it and then what? There are some files and directories

app.🔥 assets CHANGELOG examples LICENSE logo.jpeg magic.lock maplib mjui mojoproject.toml pixi.toml README.md USAGE.md XOsX.gif

and absolutely no instructions what to do there.

gonsolo avatar Jul 09 '25 08:07 gonsolo

@gonsolo, I've done some inspection and it seems that the errors you're getting are being caused by the ignite_app script. Just to be sure, could you send the contents of /mjui/fltk_bindings/dll.mojo? If that file doesn't include a init() function then it's most likely that the script is cloning an old version of the repo

Hammad-hab avatar Jul 09 '25 09:07 Hammad-hab

cat mjui/fltk_bindings/dll.mojo:

from sys.ffi import DLHandle, UnsafePointer\nvar __dll = DLHandle('/home/gonsolo/tmp/Combust/Bla/mjui/fltk_bindings/libc/out/mjui.dylib')

gonsolo avatar Jul 10 '25 07:07 gonsolo

Thanks for providing that. It looks like the issue might be from my create_app script. I'll review it and work on fixing the issue. I’ll keep you update you once it's resolved.

Hammad-hab avatar Jul 10 '25 08:07 Hammad-hab

@gonsolo the API Reference for combustui have been released, you can check them out at:

  • https://hammad-hab.github.io/CombustUI/API_REFERENCE.html

Additionally, there are examples available at https://hammad-hab.github.io/CombustUI/EXAMPLES.html. Please note that the old script ignite_app.sh has been deprecated in favor of create_app.py which provides more functionality and supports installing FLTK. You can view the proper installation and setup instructions here

Hammad-hab avatar Jul 30 '25 06:07 Hammad-hab