-
Notifications
You must be signed in to change notification settings - Fork 20
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add a sokol microui example program. #2
base: main
Are you sure you want to change the base?
Conversation
When I try to build the sample from the build directory via:
...I get:
Odin was installed via
...is there a step I'm missing to install the vendor packages? (PS: same with the "stable" version |
Apart from the above, could you add the new sample to the GH Action script? (that way compilation is tested on the various platforms): See the end of file here: https://github.com/floooh/sokol-odin/blob/main/.github/workflows/main.yml |
Sure, I can update that. |
Alternatively, it looks like an ODIN_ROOT environment variable can be set to specify where the |
Aha ok, on Mac homebrew is creating a link to the actual Odin executable, and that link is in the path. Maybe this confuses the compiler... sucks though that it doesn't work out of the box... I guess that would need to be fixed in Odin to first follow links before trying to resolve a relative path. ...but it's still strange that I don't see any traces of the vendor packages in the install directory... ...e.g. at the top level I have 3 directories:
..under libexex there's two directories:
...maybe there's something wrong with the homebrew formula? |
...e.g. here's the tree output of the Odin install dir (when installed with homebrew) for reference: |
Yeah it should have a vendor directory. I don't have macOS to test anything. Seems like another discord user ran into the same issue and made a fork of that homebrew: https://github.com/esnunes/homebrew-tap/blob/main/Formula/odin.rb#L31 |
Hmm ok... I think it's better to not put any samples in for now which use vendor packages... TBH I looked at the Mac installation instructions on the Odin landing page, realized that this involves installing llvm and building from source, and then checked if there's a homebrew package instead :D Would be nice if Odin had ready-made downloads like this: |
Alright, I'll keep it on a fork until a future date when Odin is at 1.0 and has fully-fledged releases. |
No description provided.