View Full Version : Cannot get SOIL to work

01-29-2010, 07:06 PM

I cannot seem to install SOIL properly. I have trouble with linking the library file to vs 2008 express.
This is the error i get:
1>main.obj : error LNK2001: unresolved external symbol _SOIL_load_OGL_texture
1>C:\Documents and Settings\Vlad\My Documents\Visual Studio 2008\Projects\OCB\Release\OCB.exe : fatal error LNK1120: 2 unresolved externals

I compiled and linked the libraries correct but it still throws that error. I followed the directions on the site but still have problems.
Did anyone else have this problem?

01-29-2010, 08:26 PM
Are you sure you put SOIL lib in the project settings > Linker > Input > Additional dependencies? This error is typically a linker configuration issue.

01-30-2010, 11:06 AM
If using the SOIL.lib doesn't work try using the .h and .c files.