Hi. I've spent days trying to figure out this, searching the web and everything. I want to include SOIL into my project. The downloaded zip folder contains lib/libSOIL.a. Here is what I did:
I put lib/libSOIL.a in my project directory, in a directory lib. Then I added these flags to g++ in my makefile: -Llib -lSOIL (also, in a clueless attempt, tried -I/home/ploppz/downloads/soil/src)
Then I added #include <SOIL.h> (tried also with "" instead of <>).
But I always get errors:
1 2 3 4
g++ -c src/main.cpp -o .obj/main.o -std=c++11
src/main.cpp:10:18: fatal error: SOIL.h: No such file or directory
#include <SOIL.h>
^
Generally, I find a lack of information on exactly how to go about doing this. It would be really nice if you could help me see what I'm doing wrong so that I can proceed. Thanks!