raylib-cr
raylib-cr copied to clipboard
Can't run the raygui_button example
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)
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.
Ok, I’ll see if I can fix it. You think it’s an issue with the install script?
It most definitely is, the install script never installs Ray gui, it also doesn't install the miniaudiohelpers package. Although I would like to remove that package in the future.
On Wed, Feb 28, 2024, 6:16 PM Avram Eisner @.***> wrote:
Ok, I’ll see if I can fix it. You think it’s an issue with the install script?
— Reply to this email directly, view it on GitHub https://github.com/sol-vin/raylib-cr/issues/30#issuecomment-1970274606, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAJ5ARJUBH4WECQDAZOMJ43YV7QHHAVCNFSM6AAAAABCWCKQ2OVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTSNZQGI3TINRQGY . You are receiving this because you commented.Message ID: @.***>