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
Link correctly to rlgl in /usr/lib/odin/vendor/raylib/rlgl
Current Behavior
Build fails
Failure Information (for bugs)
/usr/bin/ld: cannot find -l:/usr/lib/odin/vendor/raylib/rlgl//../linux/libraylib.so.500: No such file or directory
clang: error: linker command failed with exit code 1 (use -v to see invocation)
Context
Please provide any relevant information about your setup. This is important in case the issue is not reproducible except for under certain conditions.
Linker does not currently look into the right folder when building Raylib as a shared library.
Useful information to add to a bug report:
Expected Behavior
Link correctly to rlgl in /usr/lib/odin/vendor/raylib/rlgl
Current Behavior
Build fails
Failure Information (for bugs)
/usr/bin/ld: cannot find -l:/usr/lib/odin/vendor/raylib/rlgl//../linux/libraylib.so.500: No such file or directory
clang: error: linker command failed with exit code 1 (use -v to see invocation)
Steps to Reproduce
odin file:
package main
import rl "vendor:raylib"
import rlgl "vendor:raylib/rlgl"
main :: proc () {
// do something with rlgl
rlgl.DrawRenderBatchActive()
rlgl.DisableBackfaceCulling()
}
odin build . -define:RAYLIB_SHARED=true -build-mode:dll
The text was updated successfully, but these errors were encountered: