Skip to content
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

Can't run the raygui_button example #30

Open
avrame opened this issue Feb 2, 2024 · 3 comments
Open

Can't run the raygui_button example #30

avrame opened this issue Feb 2, 2024 · 3 comments

Comments

@avrame
Copy link
Contributor

avrame commented Feb 2, 2024

The other examples work fine, but raygui_button doesn't run.

I type in my terminal: crystal run src/raygui_button.cr
I get this error:

ld: library 'raygui' not found
clang: error: linker command failed with exit code 1 (use -v to see invocation)
Error: execution of command failed with exit status 1: cc "${@}" -o /Users/avrameisner/.cache/crystal/crystal-run-raygui_button.tmp  -rdynamic -L/opt/homebrew/Cellar/crystal/1.11.1/bin/../../../../lib -lraygui -lraylib -framework IOKit -framework Cocoa -framework OpenAL -framework OpenGL -lpcre2-8 -L/opt/homebrew/Cellar/bdw-gc/8.2.4/lib -lgc -lpthread -L/opt/homebrew/Cellar/libevent/2.1.12_1/lib -levent -liconv

I am on an MacBook Pro M1 running macOS Sonoma 14.2.1 (23C71)

@sol-vin
Copy link
Owner

sol-vin commented Feb 28, 2024

Hi, unfortunately I know nothing about the Mac side of things and I don't have one so I have no way to test. You are free to take a look at the install script and edit it if you would like, otherwise I moved Mac back out of supported to weak support since I have no idea how to get raygui working for it.

@avrame
Copy link
Contributor Author

avrame commented Feb 29, 2024

Ok, I’ll see if I can fix it. You think it’s an issue with the install script?

@sol-vin
Copy link
Owner

sol-vin commented Feb 29, 2024 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants