PDA

View Full Version : Cannot get SOIL to work



vkerkez
01-29-2010, 08:06 PM
Hello,

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?

dletozeun
01-29-2010, 09: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.

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