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
The linker throws an error because the file is missing.
Failure Information (for bugs)
/usr/bin/ld: cannot find -l:/home/user/dev/libs/Odin/vendor/stb/image//../lib/stb_image.a: No such file or directory
clang: error: linker command failed with exit code 1 (use -v to see invocation)
Steps to Reproduce
Create a project (on Linux)
import "vendor:stb/image"
Try to run it. It fails because of the missing file
(The fix: Compile it yourself and place it in the path, or install it through the package manager.)
The text was updated successfully, but these errors were encountered:
On Linux we do not pre-compile some libraries, if that is the case we will either try to link to a system version, or provide a Makefile in the vendor package.
So in this case you can do cd vendor/stb/src && make and that will compile the stb libraries and put them in place.
Context
odin report
output:Expected Behavior
Programs should compile.
Current Behavior
The linker throws an error because the file is missing.
Failure Information (for bugs)
Steps to Reproduce
import "vendor:stb/image"
(The fix: Compile it yourself and place it in the path, or install it through the package manager.)
The text was updated successfully, but these errors were encountered: