You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
So, in both msys/clang, and vscode, I cannot get this to launch properly on a windows machine.
I can compile other programs and run them just fine, but as soon as I do anything with these raylib bindings, it compiles, then silently fails when running the .exe. I'm not sure why.
It works fine under an ArchLinux environment too. So it seems to be just a Windows related thing.
Do you start the exe in a terminal? Maybe there it shows an error output. Chances are it can't find the DLL it needs.
Yes, I do start it via terminal. It just silently fails. Current workaround for me is to check the OS tag in the build.zig, and if linux, build shared to avoid the lld complaints, and if windows, build static.
Activity
NilOmniscient commentedon Jun 21, 2025
So, the windows issue only seems to happen if raylib_dep has .shared = true as one of the options.
Not-Nik commentedon Jun 27, 2025
Do you start the exe in a terminal? Maybe there it shows an error output. Chances are it can't find the DLL it needs.
NilOmniscient commentedon Jun 27, 2025
Yes, I do start it via terminal. It just silently fails. Current workaround for me is to check the OS tag in the build.zig, and if linux, build shared to avoid the lld complaints, and if windows, build static.
maiconpintoabreu commentedon Aug 12, 2025
Hi @NilOmniscient, if you set raylib shared, you need to ship the lib in the folder as well. (*.dll on windows case)