-
Notifications
You must be signed in to change notification settings - Fork 328
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
compilation error "fatal error: stb_image.h: No such file or directory" #227
Comments
Some information about my system
|
See https://github.com/phoboslab/qoi/blob/master/qoiconv.c#L5. Essentially you just need to have those downloaded h files in the same folder. Alternatively you can add an extra CC flag with the -I arg to tell it where it is on your system (if you use a package manager to install that lib). |
I ended up cloning https://github.com/nothings/stb.git into a different directory, and re-writing each c files to point to that directory. |
please close issue |
Being an absolute beginner in image processing in C, I ran the most intuitive command that I could come up with: make
However, that was met with the following error
Does this mean that I need to copy over stb_image.h from somewhere else? or do I need to rewrite the source to point the header include to somewhere else?
I hope I'm not alone on this.
Also, I think there should be an instruction on how to compile on the main README page for beginners like me.
The text was updated successfully, but these errors were encountered: