View Full Version : Need help desperately with SOIL

12-22-2015, 01:45 PM
Hey, I'm using CodeBlocks, and the site where i downloaded SOIL (lonesock dot net/soil.html) instructed me to include SOIL.h and link libSOIL.a to the project, and everything should work just fine. I unzipped the downloaded file, linked the libSOIL.a included SOIL.h, it compiled fine, but when i try to use SOIL functions it giving me undefined reference errors. Any suggestions maybe?

12-22-2015, 06:45 PM
i managed to solve it, can't delete thread, so i'll just post an update maybe someone needs it as i do, dont link soil with path, use -lSOIL and link it before opengl.