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
On linux, normally all libraries are prefixed with lib, so you need to alter your RLAPI pragma to look like this:
constPEXT*=whendefined(windows):""elifdefined(macosx):"This I'm not sure, you'll have to ask an osx user"else:"lib"
{.pragma: RLAPI, cdecl, discardable, dynlib: PEXT&"raylib"&LEXT.}
otherwise linking to the raylib library will be difficult.
The text was updated successfully, but these errors were encountered:
No, just libraylib.so, but if you omit the lib prefix it won't be found properly by nim, that's why I suggested the PEXT addtion for linux.
Edit: Actually.. I think this might be my mistake, sorry. I think I edited my local copy of raylib.nim trying to see if I could figure out why 3D wasn't working on linux and spaced it, my bad. I do however see that a fresh download of raygui.nim is missing that lib prefix though.
On linux, normally all libraries are prefixed with
lib
, so you need to alter yourRLAPI
pragma to look like this:otherwise linking to the raylib library will be difficult.
The text was updated successfully, but these errors were encountered: