SourceForge has been redesigned. Learn more.
Close

Linker errors in VS2k8

Developers
Anonymous
2010-08-02
2013-05-02
  • Anonymous

    Anonymous - 2010-08-02

    I am getting linker errors in VS2008 while using DevIL library. I have already linked to files ILU.lib, ILUT.lib and DevIL.lib
    I also checked the dll files and the functions that are giving linker errors are their inside the dll. So, I have really no idea why my compiler cannot find them in library?
    Is there some known issue or some settings that I need to make??

    Here are the errors I get:
    1>Linking…
    1>source2.obj : error LNK2019: unresolved external symbol __imp__ilDeleteImages@8 referenced in function "int __cdecl InitImageLibrary(void)" (?InitImageLibrary@@YAHXZ)
    1>source2.obj : error LNK2019: unresolved external symbol __imp__ilutGLBindTexImage@0 referenced in function "int __cdecl InitImageLibrary(void)" (?InitImageLibrary@@YAHXZ)
    1>source2.obj : error LNK2019: unresolved external symbol __imp__ilutRenderer@4 referenced in function "int __cdecl InitImageLibrary(void)" (?InitImageLibrary@@YAHXZ)
    1>source2.obj : error LNK2019: unresolved external symbol __imp__ilGetData@0 referenced in function "int __cdecl InitImageLibrary(void)" (?InitImageLibrary@@YAHXZ)
    1>source2.obj : error LNK2019: unresolved external symbol __imp__ilGetInteger@4 referenced in function "int __cdecl InitImageLibrary(void)" (?InitImageLibrary@@YAHXZ)
    1>source2.obj : error LNK2019: unresolved external symbol __imp__ilGetError@0 referenced in function "int __cdecl InitImageLibrary(void)" (?InitImageLibrary@@YAHXZ)
    1>source2.obj : error LNK2019: unresolved external symbol __imp__ilLoadImage@4 referenced in function "int __cdecl InitImageLibrary(void)" (?InitImageLibrary@@YAHXZ)
    1>source2.obj : error LNK2019: unresolved external symbol __imp__ilBindImage@4 referenced in function "int __cdecl InitImageLibrary(void)" (?InitImageLibrary@@YAHXZ)
    1>source2.obj : error LNK2019: unresolved external symbol __imp__ilGenImages@8 referenced in function "int __cdecl InitImageLibrary(void)" (?InitImageLibrary@@YAHXZ)
    1>source2.obj : error LNK2019: unresolved external symbol __imp__ilInit@0 referenced in function "int __cdecl InitImageLibrary(void)" (?InitImageLibrary@@YAHXZ)

     
  • Anonymous

    Anonymous - 2010-08-02

    sorry for the bother guys. i had downloaded 64 bit libraries by mistake for a 32 bit machine. i have two pcs one is 64 bit and other is 32 bit and I often get confused between which is which.

     

Log in to post a comment.