OpenGL SuperBible won't compile

Hi everyone,

I just downloaded the source code that goes with the OpenGL book (I just bought), does anyone have any idea why source won’t compile, it seems to be having trouble finding headers, even though they are all in the right directories.

Errors received are Linkers eg.
undefined reference to ‘glClear@4’
undefined reference to ‘glShadeModel@4’
etc…

Environment is Dev-C++ and this was just on the first chapter’s file block.cpp

I hope this question isn’t too trivial, I did try to find the answer but couldn’t find any ‘compile’ issues like this when I tried to search.

Cheers

Are you manually setting up Dev-C++ project? Sounds like you need to specify the correct link libraries. Take a look at Dev-C++ “Project/Project Options” under “parameters” tab and you should see something like


libopengl32.a
libglu32.a
libglut32.a

If not then you must add them or else you will definitely get these errors you describe from them missing.

A good reference to setting up and using Dev-C++ is here.

Thanks for the reply. I am setting it up manually. I managed to get a C project working with the source supplied on the link but can’t seem to get the C++ from the OpenGL superbible download.

I’ve downloaded VC++2008 which does seem to work, so I will fly with that. Thanks again!

I can’t compile demo “texfloat” in Chapt18:

1>Linking…
1>IlmImf.lib(imfhuf.obj) : error LNK2001: unresolved external symbol “__declspec(dllimport) public: void __thiscall std::locale::facet::_Register(void)” (_imp?_Register@facet@locale@std@@QAEXXZ)
1>IlmImf.lib(imfzipcompressor.obj) : error LNK2001: unresolved external symbol “__declspec(dllimport) public: void __thiscall std::locale::facet::_Register(void)” (_imp?_Register@facet@locale@std@@QAEXXZ)
1>IlmImf.lib(imfrlecompressor.obj) : error LNK2001: unresolved external symbol “__declspec(dllimport) public: void __thiscall std::locale::facet::_Register(void)” (_imp?_Register@facet@locale@std@@QAEXXZ)
1>IlmImf.lib(imftileoffsets.obj) : error LNK2001: unresolved external symbol “__declspec(dllimport) public: void __thiscall std::locale::facet::_Register(void)” (_imp?_Register@facet@locale@std@@QAEXXZ)
1>IlmImf.lib(imftiledmisc.obj) : error LNK2001: unresolved external symbol “__declspec(dllimport) public: void __thiscall std::locale::facet::_Register(void)” (_imp?_Register@facet@locale@std@@QAEXXZ)
1>IlmImf.lib(imftiledinputfile.obj) : error LNK2001: unresolved external symbol “__declspec(dllimport) public: void __thiscall std::locale::facet::_Register(void)” (_imp?_Register@facet@locale@std@@QAEXXZ)
1>IlmImf.lib(ilmthreadwin32.obj) : error LNK2001: unresolved external symbol “__declspec(dllimport) public: void __thiscall std::locale::facet::_Register(void)” (_imp?_Register@facet@locale@std@@QAEXXZ)
1>IlmImf.lib(imfpxr24compressor.obj) : error LNK2001: unresolved external symbol “__declspec(dllimport) public: void __thiscall std::locale::facet::_Register(void)” (_imp?_Register@facet@locale@std@@QAEXXZ)
1>IlmImf.lib(imfpizcompressor.obj) : error LNK2001: unresolved external symbol “__declspec(dllimport) public: void __thiscall std::locale::facet::_Register(void)” (_imp?_Register@facet@locale@std@@QAEXXZ)
1>IlmImf.lib(imfmatrixattribute.obj) : error LNK2001: unresolved external symbol “__declspec(dllimport) public: void __thiscall std::locale::facet::_Register(void)” (_imp?_Register@facet@locale@std@@QAEXXZ)
1>IlmImf.lib(imfopaqueattribute.obj) : error LNK2001: unresolved external symbol “__declspec(dllimport) public: void __thiscall std::locale::facet::_Register(void)” (_imp?_Register@facet@locale@std@@QAEXXZ)
1>IlmImf.lib(imfchannellistattribute.obj) : error LNK2001: unresolved external symbol “__declspec(dllimport) public: void __thiscall std::locale::facet::_Register(void)” (_imp?_Register@facet@locale@std@@QAEXXZ)
1>IlmImf.lib(imfscanlineinputfile.obj) : error LNK2001: unresolved external symbol “__declspec(dllimport) public: void __thiscall std::locale::facet::_Register(void)” (_imp?_Register@facet@locale@std@@QAEXXZ)
1>IlmImf.lib(imfstringattribute.obj) : error LNK2001: unresolved external symbol “__declspec(dllimport) public: void __thiscall std::locale::facet::_Register(void)” (_imp?_Register@facet@locale@std@@QAEXXZ)
1>IlmImf.lib(imftimecodeattribute.obj) : error LNK2001: unresolved external symbol “__declspec(dllimport) public: void __thiscall std::locale::facet::_Register(void)” (_imp?_Register@facet@locale@std@@QAEXXZ)
1>IlmImf.lib(imftimecode.obj) : error LNK2001: unresolved external symbol “__declspec(dllimport) public: void __thiscall std::locale::facet::_Register(void)” (_imp?_Register@facet@locale@std@@QAEXXZ)
1>IlmImf.lib(imfchromaticitiesattribute.obj) : error LNK2001: unresolved external symbol “__declspec(dllimport) public: void __thiscall std::locale::facet::_Register(void)” (_imp?_Register@facet@locale@std@@QAEXXZ)
1>IlmImf.lib(imfenvmapattribute.obj) : error LNK2001: unresolved external symbol “__declspec(dllimport) public: void __thiscall std::locale::facet::_Register(void)” (_imp?_Register@facet@locale@std@@QAEXXZ)
1>IlmImf.lib(imfintattribute.obj) : error LNK2001: unresolved external symbol “__declspec(dllimport) public: void __thiscall std::locale::facet::_Register(void)” (_imp?_Register@facet@locale@std@@QAEXXZ)
1>IlmImf.lib(imfkeycodeattribute.obj) : error LNK2001: unresolved external symbol “__declspec(dllimport) public: void __thiscall std::locale::facet::_Register(void)” (_imp?_Register@facet@locale@std@@QAEXXZ)
1>IlmImf.lib(imfkeycode.obj) : error LNK2001: unresolved external symbol “__declspec(dllimport) public: void __thiscall std::locale::facet::_Register(void)” (_imp?_Register@facet@locale@std@@QAEXXZ)
1>IlmImf.lib(imfpreviewimage.obj) : error LNK2001: unresolved external symbol “__declspec(dllimport) public: void __thiscall std::locale::facet::_Register(void)” (_imp?_Register@facet@locale@std@@QAEXXZ)
1>IlmImf.lib(imftiledescriptionattribute.obj) : error LNK2001: unresolved external symbol “__declspec(dllimport) public: void __thiscall std::locale::facet::_Register(void)” (_imp?_Register@facet@locale@std@@QAEXXZ)
1>IlmImf.lib(imfvecattribute.obj) : error LNK2001: unresolved external symbol “__declspec(dllimport) public: void __thiscall std::locale::facet::_Register(void)” (_imp?_Register@facet@locale@std@@QAEXXZ)
1>IlmImf.lib(imfdoubleattribute.obj) : error LNK2001: unresolved external symbol “__declspec(dllimport) public: void __thiscall std::locale::facet::_Register(void)” (_imp?_Register@facet@locale@std@@QAEXXZ)
1>IlmImf.lib(imfcompressionattribute.obj) : error LNK2001: unresolved external symbol “__declspec(dllimport) public: void __thiscall std::locale::facet::_Register(void)” (_imp?_Register@facet@locale@std@@QAEXXZ)
1>IlmImf.lib(imffloatattribute.obj) : error LNK2001: unresolved external symbol “__declspec(dllimport) public: void __thiscall std::locale::facet::_Register(void)” (_imp?_Register@facet@locale@std@@QAEXXZ)
1>IlmImf.lib(imflineorderattribute.obj) : error LNK2001: unresolved external symbol “__declspec(dllimport) public: void __thiscall std::locale::facet::_Register(void)” (_imp?_Register@facet@locale@std@@QAEXXZ)
1>IlmImf.lib(imfpreviewimageattribute.obj) : error LNK2001: unresolved external symbol “__declspec(dllimport) public: void __thiscall std::locale::facet::_Register(void)” (_imp?_Register@facet@locale@std@@QAEXXZ)
1>IlmImf.lib(imfcompressor.obj) : error LNK2001: unresolved external symbol “__declspec(dllimport) public: void __thiscall std::locale::facet::_Register(void)” (_imp?_Register@facet@locale@std@@QAEXXZ)
1>IlmImf.lib(imfstdio.obj) : error LNK2001: unresolved external symbol “__declspec(dllimport) public: void __thiscall std::locale::facet::_Register(void)” (_imp?_Register@facet@locale@std@@QAEXXZ)
1>IlmImf.lib(imfboxattribute.obj) : error LNK2001: unresolved external symbol “__declspec(dllimport) public: void __thiscall std::locale::facet::_Register(void)” (_imp?_Register@facet@locale@std@@QAEXXZ)
1>IlmImf.lib(imfattribute.obj) : error LNK2001: unresolved external symbol “__declspec(dllimport) public: void __thiscall std::locale::facet::_Register(void)” (_imp?_Register@facet@locale@std@@QAEXXZ)
1>IlmImf.lib(ilmthreadsemaphorewin32.obj) : error LNK2001: unresolved external symbol “__declspec(dllimport) public: void __thiscall std::locale::facet::_Register(void)” (_imp?_Register@facet@locale@std@@QAEXXZ)
1>IlmImf.lib(imfio.obj) : error LNK2001: unresolved external symbol “__declspec(dllimport) public: void __thiscall std::locale::facet::_Register(void)” (_imp?_Register@facet@locale@std@@QAEXXZ)
1>IlmImf.lib(iexthrowerrnoexc.obj) : error LNK2001: unresolved external symbol “__declspec(dllimport) public: void __thiscall std::locale::facet::_Register(void)” (_imp?_Register@facet@locale@std@@QAEXXZ)
1>IlmImf.lib(imfmisc.obj) : error LNK2001: unresolved external symbol “__declspec(dllimport) public: void __thiscall std::locale::facet::_Register(void)” (_imp?_Register@facet@locale@std@@QAEXXZ)
1>IlmImf.lib(imfstandardattributes.obj) : error LNK2001: unresolved external symbol “__declspec(dllimport) public: void __thiscall std::locale::facet::_Register(void)” (_imp?_Register@facet@locale@std@@QAEXXZ)
1>IlmImf.lib(imfchromaticities.obj) : error LNK2001: unresolved external symbol “__declspec(dllimport) public: void __thiscall std::locale::facet::_Register(void)” (_imp?_Register@facet@locale@std@@QAEXXZ)
1>IlmImf.lib(imfframebuffer.obj) : error LNK2001: unresolved external symbol “__declspec(dllimport) public: void __thiscall std::locale::facet::_Register(void)” (_imp?_Register@facet@locale@std@@QAEXXZ)
1>IlmImf.lib(ilmthreadpool.obj) : error LNK2001: unresolved external symbol “__declspec(dllimport) public: void __thiscall std::locale::facet::_Register(void)” (_imp?_Register@facet@locale@std@@QAEXXZ)
1>IlmImf.lib(imfoutputfile.obj) : error LNK2001: unresolved external symbol “__declspec(dllimport) public: void __thiscall std::locale::facet::_Register(void)” (_imp?_Register@facet@locale@std@@QAEXXZ)
1>IlmImf.lib(imfrgbayca.obj) : error LNK2001: unresolved external symbol “__declspec(dllimport) public: void __thiscall std::locale::facet::_Register(void)” (_imp?_Register@facet@locale@std@@QAEXXZ)
1>IlmImf.lib(imfheader.obj) : error LNK2001: unresolved external symbol “__declspec(dllimport) public: void __thiscall std::locale::facet::_Register(void)” (_imp?_Register@facet@locale@std@@QAEXXZ)
1>IlmImf.lib(imfinputfile.obj) : error LNK2001: unresolved external symbol “__declspec(dllimport) public: void __thiscall std::locale::facet::_Register(void)” (_imp?_Register@facet@locale@std@@QAEXXZ)
1>IlmImf.lib(imfrgbafile.obj) : error LNK2019: unresolved external symbol “__declspec(dllimport) public: void __thiscall std::locale::facet::_Register(void)” (_imp?_Register@facet@locale@std@@QAEXXZ) referenced in function “class std::ctype<char> const & __cdecl std::use_facet<class std::ctype<char> >(class std::locale const &)” (??$use_facet@V?$ctype@D@std@@@std@@YAABV?$ctype@D@0@ABVlocale@0@@Z)
1>IlmImf.lib(iexbaseexc.obj) : error LNK2001: unresolved external symbol “__declspec(dllimport) public: void __thiscall std::locale::facet::_Register(void)” (_imp?_Register@facet@locale@std@@QAEXXZ)
1>IlmImf.lib(ilmthreadmutexwin32.obj) : error LNK2001: unresolved external symbol “__declspec(dllimport) public: void __thiscall std::locale::facet::_Register(void)” (_imp?_Register@facet@locale@std@@QAEXXZ)
1>IlmImf.lib(imfchannellist.obj) : error LNK2001: unresolved external symbol “__declspec(dllimport) public: void __thiscall std::locale::facet::_Register(void)” (_imp?_Register@facet@locale@std@@QAEXXZ)
1>IlmImf.lib(imfhuf.obj) : error LNK2001: unresolved external symbol “__declspec(dllimport) public: static unsigned int __cdecl std::ctype<char>::_Getcat(class std::locale::facet const * *)” (_imp?_Getcat@?$ctype@D@std@@SAIPAPBVfacet@locale@2@@Z)
1>IlmImf.lib(imfzipcompressor.obj) : error LNK2001: unresolved external symbol “__declspec(dllimport) public: static unsigned int __cdecl std::ctype<char>::_Getcat(class std::locale::facet const * *)” (_imp?_Getcat@?$ctype@D@std@@SAIPAPBVfacet@locale@2@@Z)
1>IlmImf.lib(imfrlecompressor.obj) : error LNK2001: unresolved external symbol “__declspec(dllimport) public: static unsigned int __cdecl std::ctype<char>::_Getcat(class std::locale::facet const * *)” (_imp?_Getcat@?$ctype@D@std@@SAIPAPBVfacet@locale@2@@Z)
1>IlmImf.lib(imftileoffsets.obj) : error LNK2019: unresolved external symbol “__declspec(dllimport) public: static unsigned int __cdecl std::ctype<char>::_Getcat(class std::locale::facet const * *)” (_imp?_Getcat@?$ctype@D@std@@SAIPAPBVfacet@locale@2@@Z) referenced in function “public: __thiscall std::basic_ostream<unsigned short,struct std::char_traits<unsigned short> >::sentry::sentry(class std::basic_ostream<unsigned short,struct std::char_traits<unsigned short> > &)” (??0sentry@?$basic_ostream@GU?$char_traits@G@std@@@std@@QAE@AAV12@@Z)
1>IlmImf.lib(imftiledmisc.obj) : error LNK2001: unresolved external symbol “__declspec(dllimport) public: static unsigned int __cdecl std::ctype<char>::_Getcat(class std::locale::facet const * *)” (_imp?_Getcat@?$ctype@D@std@@SAIPAPBVfacet@locale@2@@Z)
1>IlmImf.lib(imftiledinputfile.obj) : error LNK2001: unresolved external symbol “__declspec(dllimport) public: static unsigned int __cdecl std::ctype<char>::_Getcat(class std::locale::facet const * *)” (_imp?_Getcat@?$ctype@D@std@@SAIPAPBVfacet@locale@2@@Z)
1>IlmImf.lib(ilmthreadwin32.obj) : error LNK2001: unresolved external symbol “__declspec(dllimport) public: static unsigned int __cdecl std::ctype<char>::_Getcat(class std::locale::facet const * *)” (_imp?_Getcat@?$ctype@D@std@@SAIPAPBVfacet@locale@2@@Z)
1>IlmImf.lib(imfpxr24compressor.obj) : error LNK2001: unresolved external symbol “__declspec(dllimport) public: static unsigned int __cdecl std::ctype<char>::_Getcat(class std::locale::facet const * *)” (_imp?_Getcat@?$ctype@D@std@@SAIPAPBVfacet@locale@2@@Z)
1>IlmImf.lib(imfpizcompressor.obj) : error LNK2001: unresolved external symbol “__declspec(dllimport) public: static unsigned int __cdecl std::ctype<char>::_Getcat(class std::locale::facet const * *)” (_imp?_Getcat@?$ctype@D@std@@SAIPAPBVfacet@locale@2@@Z)
1>IlmImf.lib(imfmatrixattribute.obj) : error LNK2001: unresolved external symbol “__declspec(dllimport) public: static unsigned int __cdecl std::ctype<char>::_Getcat(class std::locale::facet const * *)” (_imp?_Getcat@?$ctype@D@std@@SAIPAPBVfacet@locale@2@@Z)
1>IlmImf.lib(imfopaqueattribute.obj) : error LNK2001: unresolved external symbol “__declspec(dllimport) public: static unsigned int __cdecl std::ctype<char>::_Getcat(class std::locale::facet const * *)” (_imp?_Getcat@?$ctype@D@std@@SAIPAPBVfacet@locale@2@@Z)
1>IlmImf.lib(imfchannellistattribute.obj) : error LNK2001: unresolved external symbol “__declspec(dllimport) public: static unsigned int __cdecl std::ctype<char>::_Getcat(class std::locale::facet const * *)” (_imp?_Getcat@?$ctype@D@std@@SAIPAPBVfacet@locale@2@@Z)
1>IlmImf.lib(imfscanlineinputfile.obj) : error LNK2001: unresolved external symbol “__declspec(dllimport) public: static unsigned int __cdecl std::ctype<char>::_Getcat(class std::locale::facet const * *)” (_imp?_Getcat@?$ctype@D@std@@SAIPAPBVfacet@locale@2@@Z)
1>IlmImf.lib(imfstringattribute.obj) : error LNK2001: unresolved external symbol “__declspec(dllimport) public: static unsigned int __cdecl std::ctype<char>::_Getcat(class std::locale::facet const * *)” (_imp?_Getcat@?$ctype@D@std@@SAIPAPBVfacet@locale@2@@Z)
1>IlmImf.lib(imftimecodeattribute.obj) : error LNK2001: unresolved external symbol “__declspec(dllimport) public: static unsigned int __cdecl std::ctype<char>::_Getcat(class std::locale::facet const * *)” (_imp?_Getcat@?$ctype@D@std@@SAIPAPBVfacet@locale@2@@Z)
1>IlmImf.lib(imftimecode.obj) : error LNK2001: unresolved external symbol “__declspec(dllimport) public: static unsigned int __cdecl std::ctype<char>::_Getcat(class std::locale::facet const * *)” (_imp?_Getcat@?$ctype@D@std@@SAIPAPBVfacet@locale@2@@Z)
1>IlmImf.lib(imfchromaticitiesattribute.obj) : error LNK2001: unresolved external symbol “__declspec(dllimport) public: static unsigned int __cdecl std::ctype<char>::_Getcat(class std::locale::facet const * *)” (_imp?_Getcat@?$ctype@D@std@@SAIPAPBVfacet@locale@2@@Z)
1>IlmImf.lib(imfenvmapattribute.obj) : error LNK2001: unresolved external symbol “__declspec(dllimport) public: static unsigned int __cdecl std::ctype<char>::_Getcat(class std::locale::facet const * *)” (_imp?_Getcat@?$ctype@D@std@@SAIPAPBVfacet@locale@2@@Z)
1>IlmImf.lib(imfintattribute.obj) : error LNK2001: unresolved external symbol “__declspec(dllimport) public: static unsigned int __cdecl std::ctype<char>::_Getcat(class std::locale::facet const * *)” (_imp?_Getcat@?$ctype@D@std@@SAIPAPBVfacet@locale@2@@Z)
1>IlmImf.lib(imfkeycodeattribute.obj) : error LNK2001: unresolved external symbol “__declspec(dllimport) public: static unsigned int __cdecl std::ctype<char>::_Getcat(class std::locale::facet const * *)” (_imp?_Getcat@?$ctype@D@std@@SAIPAPBVfacet@locale@2@@Z)
1>IlmImf.lib(imfkeycode.obj) : error LNK2001: unresolved external symbol “__declspec(dllimport) public: static unsigned int __cdecl std::ctype<char>::_Getcat(class std::locale::facet const * *)” (_imp?_Getcat@?$ctype@D@std@@SAIPAPBVfacet@locale@2@@Z)
1>IlmImf.lib(imfpreviewimage.obj) : error LNK2001: unresolved external symbol “__declspec(dllimport) public: static unsigned int __cdecl std::ctype<char>::_Getcat(class std::locale::facet const * *)” (_imp?_Getcat@?$ctype@D@std@@SAIPAPBVfacet@locale@2@@Z)
1>IlmImf.lib(imftiledescriptionattribute.obj) : error LNK2001: unresolved external symbol “__declspec(dllimport) public: static unsigned int __cdecl std::ctype<char>::_Getcat(class std::locale::facet const * *)” (_imp?_Getcat@?$ctype@D@std@@SAIPAPBVfacet@locale@2@@Z)
1>IlmImf.lib(imfvecattribute.obj) : error LNK2001: unresolved external symbol “__declspec(dllimport) public: static unsigned int __cdecl std::ctype<char>::_Getcat(class std::locale::facet const * *)” (_imp?_Getcat@?$ctype@D@std@@SAIPAPBVfacet@locale@2@@Z)
1>IlmImf.lib(imfdoubleattribute.obj) : error LNK2001: unresolved external symbol “__declspec(dllimport) public: static unsigned int __cdecl std::ctype<char>::_Getcat(class std::locale::facet const * *)” (_imp?_Getcat@?$ctype@D@std@@SAIPAPBVfacet@locale@2@@Z)
1>IlmImf.lib(imfcompressionattribute.obj) : error LNK2001: unresolved external symbol “__declspec(dllimport) public: static unsigned int __cdecl std::ctype<char>::_Getcat(class std::locale::facet const * *)” (_imp?_Getcat@?$ctype@D@std@@SAIPAPBVfacet@locale@2@@Z)
1>IlmImf.lib(imffloatattribute.obj) : error LNK2001: unresolved external symbol “__declspec(dllimport) public: static unsigned int __cdecl std::ctype<char>::_Getcat(class std::locale::facet const * *)” (_imp?_Getcat@?$ctype@D@std@@SAIPAPBVfacet@locale@2@@Z)
1>IlmImf.lib(imflineorderattribute.obj) : error LNK2001: unresolved external symbol “__declspec(dllimport) public: static unsigned int __cdecl std::ctype<char>::_Getcat(class std::locale::facet const * *)” (_imp?_Getcat@?$ctype@D@std@@SAIPAPBVfacet@locale@2@@Z)
1>IlmImf.lib(imfpreviewimageattribute.obj) : error LNK2001: unresolved external symbol “__declspec(dllimport) public: static unsigned int __cdecl std::ctype<char>::_Getcat(class std::locale::facet const * *)” (_imp?_Getcat@?$ctype@D@std@@SAIPAPBVfacet@locale@2@@Z)
1>IlmImf.lib(imfcompressor.obj) : error LNK2001: unresolved external symbol “__declspec(dllimport) public: static unsigned int __cdecl std::ctype<char>::_Getcat(class std::locale::facet const * *)” (_imp?_Getcat@?$ctype@D@std@@SAIPAPBVfacet@locale@2@@Z)
1>IlmImf.lib(imfstdio.obj) : error LNK2001: unresolved external symbol “__declspec(dllimport) public: static unsigned int __cdecl std::ctype<char>::_Getcat(class std::locale::facet const * *)” (_imp?_Getcat@?$ctype@D@std@@SAIPAPBVfacet@locale@2@@Z)
1>IlmImf.lib(imfboxattribute.obj) : error LNK2001: unresolved external symbol “__declspec(dllimport) public: static unsigned int __cdecl std::ctype<char>::_Getcat(class std::locale::facet const * *)” (_imp?_Getcat@?$ctype@D@std@@SAIPAPBVfacet@locale@2@@Z)
1>IlmImf.lib(imfattribute.obj) : error LNK2001: unresolved external symbol “__declspec(dllimport) public: static unsigned int __cdecl std::ctype<char>::_Getcat(class std::locale::facet const * *)” (_imp?_Getcat@?$ctype@D@std@@SAIPAPBVfacet@locale@2@@Z)
1>IlmImf.lib(ilmthreadsemaphorewin32.obj) : error LNK2001: unresolved external symbol “__declspec(dllimport) public: static unsigned int __cdecl std::ctype<char>::_Getcat(class std::locale::facet const * *)” (_imp?_Getcat@?$ctype@D@std@@SAIPAPBVfacet@locale@2@@Z)
1>IlmImf.lib(imfio.obj) : error LNK2001: unresolved external symbol “__declspec(dllimport) public: static unsigned int __cdecl std::ctype<char>::_Getcat(class std::locale::facet const * *)” (_imp?_Getcat@?$ctype@D@std@@SAIPAPBVfacet@locale@2@@Z)
1>IlmImf.lib(iexthrowerrnoexc.obj) : error LNK2001: unresolved external symbol “__declspec(dllimport) public: static unsigned int __cdecl std::ctype<char>::_Getcat(class std::locale::facet const * *)” (_imp?_Getcat@?$ctype@D@std@@SAIPAPBVfacet@locale@2@@Z)
1>IlmImf.lib(imfmisc.obj) : error LNK2001: unresolved external symbol “__declspec(dllimport) public: static unsigned int __cdecl std::ctype<char>::_Getcat(class std::locale::facet const * *)” (_imp?_Getcat@?$ctype@D@std@@SAIPAPBVfacet@locale@2@@Z)
1>IlmImf.lib(imfstandardattributes.obj) : error LNK2001: unresolved external symbol “__declspec(dllimport) public: static unsigned int __cdecl std::ctype<char>::_Getcat(class std::locale::facet const * *)” (_imp?_Getcat@?$ctype@D@std@@SAIPAPBVfacet@locale@2@@Z)
1>IlmImf.lib(imfchromaticities.obj) : error LNK2001: unresolved external symbol “__declspec(dllimport) public: static unsigned int __cdecl std::ctype<char>::_Getcat(class std::locale::facet const * *)” (_imp?_Getcat@?$ctype@D@std@@SAIPAPBVfacet@locale@2@@Z)
1>IlmImf.lib(imfframebuffer.obj) : error LNK2001: unresolved external symbol “__declspec(dllimport) public: static unsigned int __cdecl std::ctype<char>::_Getcat(class std::locale::facet const * *)” (_imp?_Getcat@?$ctype@D@std@@SAIPAPBVfacet@locale@2@@Z)
1>IlmImf.lib(ilmthreadpool.obj) : error LNK2001: unresolved external symbol “__declspec(dllimport) public: static unsigned int __cdecl std::ctype<char>::_Getcat(class std::locale::facet const * *)” (_imp?_Getcat@?$ctype@D@std@@SAIPAPBVfacet@locale@2@@Z)
1>IlmImf.lib(imfoutputfile.obj) : error LNK2001: unresolved external symbol “__declspec(dllimport) public: static unsigned int __cdecl std::ctype<char>::_Getcat(class std::locale::facet const * *)” (_imp?_Getcat@?$ctype@D@std@@SAIPAPBVfacet@locale@2@@Z)
1>IlmImf.lib(imfrgbayca.obj) : error LNK2001: unresolved external symbol “__declspec(dllimport) public: static unsigned int __cdecl std::ctype<char>::_Getcat(class std::locale::facet const * *)” (_imp?_Getcat@?$ctype@D@std@@SAIPAPBVfacet@locale@2@@Z)
1>IlmImf.lib(imfheader.obj) : error LNK2001: unresolved external symbol “__declspec(dllimport) public: static unsigned int __cdecl std::ctype<char>::_Getcat(class std::locale::facet const * *)” (_imp?_Getcat@?$ctype@D@std@@SAIPAPBVfacet@locale@2@@Z)
1>IlmImf.lib(imfinputfile.obj) : error LNK2001: unresolved external symbol “__declspec(dllimport) public: static unsigned int __cdecl std::ctype<char>::_Getcat(class std::locale::facet const * *)” (_imp?_Getcat@?$ctype@D@std@@SAIPAPBVfacet@locale@2@@Z)
1>IlmImf.lib(imfrgbafile.obj) : error LNK2001: unresolved external symbol “__declspec(dllimport) public: static unsigned int __cdecl std::ctype<char>::_Getcat(class std::locale::facet const * *)” (_imp?_Getcat@?$ctype@D@std@@SAIPAPBVfacet@locale@2@@Z)
1>IlmImf.lib(iexbaseexc.obj) : error LNK2001: unresolved external symbol “__declspec(dllimport) public: static unsigned int __cdecl std::ctype<char>::_Getcat(class std::locale::facet const * *)” (_imp?_Getcat@?$ctype@D@std@@SAIPAPBVfacet@locale@2@@Z)
1>IlmImf.lib(ilmthreadmutexwin32.obj) : error LNK2001: unresolved external symbol “__declspec(dllimport) public: static unsigned int __cdecl std::ctype<char>::_Getcat(class std::locale::facet const * *)” (_imp?_Getcat@?$ctype@D@std@@SAIPAPBVfacet@locale@2@@Z)
1>IlmImf.lib(imfchannellist.obj) : error LNK2001: unresolved external symbol “__declspec(dllimport) public: static unsigned int __cdecl std::ctype<char>::_Getcat(class std::locale::facet const * *)” (_imp?_Getcat@?$ctype@D@std@@SAIPAPBVfacet@locale@2@@Z)
1>IlmImf.lib(imfhuf.obj) : error LNK2001: unresolved external symbol “__declspec(dllimport) public: static unsigned int __cdecl std::ctype<unsigned short>::_Getcat(class std::locale::facet const * *)” (_imp?_Getcat@?$ctype@G@std@@SAIPAPBVfacet@locale@2@@Z)
1>IlmImf.lib(imfzipcompressor.obj) : error LNK2001: unresolved external symbol “__declspec(dllimport) public: static unsigned int __cdecl std::ctype<unsigned short>::_Getcat(class std::locale::facet const * *)” (_imp?_Getcat@?$ctype@G@std@@SAIPAPBVfacet@locale@2@@Z)
1>IlmImf.lib(imfrlecompressor.obj) : error LNK2001: unresolved external symbol “__declspec(dllimport) public: static unsigned int __cdecl std::ctype<unsigned short>::_Getcat(class std::locale::facet const * *)” (_imp?_Getcat@?$ctype@G@std@@SAIPAPBVfacet@locale@2@@Z)
1>IlmImf.lib(imftileoffsets.obj) : error LNK2001: unresolved external symbol “__declspec(dllimport) public: static unsigned int __cdecl std::ctype<unsigned short>::_Getcat(class std::locale::facet const * *)” (_imp?_Getcat@?$ctype@G@std@@SAIPAPBVfacet@locale@2@@Z)
1>IlmImf.lib(imftiledmisc.obj) : error LNK2001: unresolved external symbol “__declspec(dllimport) public: static unsigned int __cdecl std::ctype<unsigned short>::_Getcat(class std::locale::facet const * *)” (_imp?_Getcat@?$ctype@G@std@@SAIPAPBVfacet@locale@2@@Z)
1>IlmImf.lib(imftiledinputfile.obj) : error LNK2001: unresolved external symbol “__declspec(dllimport) public: static unsigned int __cdecl std::ctype<unsigned short>::_Getcat(class std::locale::facet const * *)” (_imp?_Getcat@?$ctype@G@std@@SAIPAPBVfacet@locale@2@@Z)
1>IlmImf.lib(ilmthreadwin32.obj) : error LNK2001: unresolved external symbol “__declspec(dllimport) public: static unsigned int __cdecl std::ctype<unsigned short>::_Getcat(class std::locale::facet const * *)” (_imp?_Getcat@?$ctype@G@std@@SAIPAPBVfacet@locale@2@@Z)
1>IlmImf.lib(imfpxr24compressor.obj) : error LNK2001: unresolved external symbol “__declspec(dllimport) public: static unsigned int __cdecl std::ctype<unsigned short>::_Getcat(class std::locale::facet const * *)” (_imp?_Getcat@?$ctype@G@std@@SAIPAPBVfacet@locale@2@@Z)
1>IlmImf.lib(imfpizcompressor.obj) : error LNK2001: unresolved external symbol “__declspec(dllimport) public: static unsigned int __cdecl std::ctype<unsigned short>::_Getcat(class std::locale::facet const * *)” (_imp?_Getcat@?$ctype@G@std@@SAIPAPBVfacet@locale@2@@Z)
1>IlmImf.lib(imfmatrixattribute.obj) : error LNK2001: unresolved external symbol “__declspec(dllimport) public: static unsigned int __cdecl std::ctype<unsigned short>::_Getcat(class std::locale::facet const * *)” (_imp?_Getcat@?$ctype@G@std@@SAIPAPBVfacet@locale@2@@Z)
1>IlmImf.lib(imfopaqueattribute.obj) : error LNK2001: unresolved external symbol “__declspec(dllimport) public: static unsigned int __cdecl std::ctype<unsigned short>::_Getcat(class std::locale::facet const * *)” (_imp?_Getcat@?$ctype@G@std@@SAIPAPBVfacet@locale@2@@Z)
1>IlmImf.lib(imfchannellistattribute.obj) : error LNK2001: unresolved external symbol “__declspec(dllimport) public: static unsigned int __cdecl std::ctype<unsigned short>::_Getcat(class std::locale::facet const * *)” (_imp?_Getcat@?$ctype@G@std@@SAIPAPBVfacet@locale@2@@Z)
1>IlmImf.lib(imfscanlineinputfile.obj) : error LNK2001: unresolved external symbol “__declspec(dllimport) public: static unsigned int __cdecl std::ctype<unsigned short>::_Getcat(class std::locale::facet const * *)” (_imp?_Getcat@?$ctype@G@std@@SAIPAPBVfacet@locale@2@@Z)
1>IlmImf.lib(imfstringattribute.obj) : error LNK2001: unresolved external symbol “__declspec(dllimport) public: static unsigned int __cdecl std::ctype<unsigned short>::_Getcat(class std::locale::facet const * *)” (_imp?_Getcat@?$ctype@G@std@@SAIPAPBVfacet@locale@2@@Z)
1>IlmImf.lib(imftimecodeattribute.obj) : error LNK2001: unresolved external symbol “__declspec(dllimport) public: static unsigned int __cdecl std::ctype<unsigned short>::_Getcat(class std::locale::facet const * *)” (_imp?_Getcat@?$ctype@G@std@@SAIPAPBVfacet@locale@2@@Z)
1>IlmImf.lib(imftimecode.obj) : error LNK2001: unresolved external symbol “__declspec(dllimport) public: static unsigned int __cdecl std::ctype<unsigned short>::_Getcat(class std::locale::facet const * *)” (_imp?_Getcat@?$ctype@G@std@@SAIPAPBVfacet@locale@2@@Z)
1>IlmImf.lib(imfchromaticitiesattribute.obj) : error LNK2001: unresolved external symbol “__declspec(dllimport) public: static unsigned int __cdecl std::ctype<unsigned short>::_Getcat(class std::locale::facet const * *)” (_imp?_Getcat@?$ctype@G@std@@SAIPAPBVfacet@locale@2@@Z)
1>IlmImf.lib(imfenvmapattribute.obj) : error LNK2001: unresolved external symbol “__declspec(dllimport) public: static unsigned int __cdecl std::ctype<unsigned short>::_Getcat(class std::locale::facet const * *)” (_imp?_Getcat@?$ctype@G@std@@SAIPAPBVfacet@locale@2@@Z)
1>IlmImf.lib(imfintattribute.obj) : error LNK2001: unresolved external symbol “__declspec(dllimport) public: static unsigned int __cdecl std::ctype<unsigned short>::_Getcat(class std::locale::facet const * *)” (_imp?_Getcat@?$ctype@G@std@@SAIPAPBVfacet@locale@2@@Z)
1>IlmImf.lib(imfkeycodeattribute.obj) : error LNK2001: unresolved external symbol “__declspec(dllimport) public: static unsigned int __cdecl std::ctype<unsigned short>::_Getcat(class std::locale::facet const * *)” (_imp?_Getcat@?$ctype@G@std@@SAIPAPBVfacet@locale@2@@Z)
1>IlmImf.lib(imfkeycode.obj) : error LNK2001: unresolved external symbol “__declspec(dllimport) public: static unsigned int __cdecl std::ctype<unsigned short>::_Getcat(class std::locale::facet const * *)” (_imp?_Getcat@?$ctype@G@std@@SAIPAPBVfacet@locale@2@@Z)
1>IlmImf.lib(imfpreviewimage.obj) : error LNK2001: unresolved external symbol “__declspec(dllimport) public: static unsigned int __cdecl std::ctype<unsigned short>::_Getcat(class std::locale::facet const * *)” (_imp?_Getcat@?$ctype@G@std@@SAIPAPBVfacet@locale@2@@Z)
1>IlmImf.lib(imftiledescriptionattribute.obj) : error LNK2001: unresolved external symbol “__declspec(dllimport) public: static unsigned int __cdecl std::ctype<unsigned short>::_Getcat(class std::locale::facet const * *)” (_imp?_Getcat@?$ctype@G@std@@SAIPAPBVfacet@locale@2@@Z)
1>IlmImf.lib(imfvecattribute.obj) : error LNK2001: unresolved external symbol “__declspec(dllimport) public: static unsigned int __cdecl std::ctype<unsigned short>::_Getcat(class std::locale::facet const * *)” (_imp?_Getcat@?$ctype@G@std@@SAIPAPBVfacet@locale@2@@Z)
1>IlmImf.lib(imfdoubleattribute.obj) : error LNK2001: unresolved external symbol “__declspec(dllimport) public: static unsigned int __cdecl std::ctype<unsigned short>::_Getcat(class std::locale::facet const * *)” (_imp?_Getcat@?$ctype@G@std@@SAIPAPBVfacet@locale@2@@Z)
1>IlmImf.lib(imfcompressionattribute.obj) : error LNK2001: unresolved external symbol “__declspec(dllimport) public: static unsigned int __cdecl std::ctype<unsigned short>::_Getcat(class std::locale::facet const * *)” (_imp?_Getcat@?$ctype@G@std@@SAIPAPBVfacet@locale@2@@Z)
1>IlmImf.lib(imffloatattribute.obj) : error LNK2001: unresolved external symbol “__declspec(dllimport) public: static unsigned int __cdecl std::ctype<unsigned short>::_Getcat(class std::locale::facet const * *)” (_imp?_Getcat@?$ctype@G@std@@SAIPAPBVfacet@locale@2@@Z)
1>IlmImf.lib(imflineorderattribute.obj) : error LNK2001: unresolved external symbol “__declspec(dllimport) public: static unsigned int __cdecl std::ctype<unsigned short>::_Getcat(class std::locale::facet const * *)” (_imp?_Getcat@?$ctype@G@std@@SAIPAPBVfacet@locale@2@@Z)
1>IlmImf.lib(imfpreviewimageattribute.obj) : error LNK2001: unresolved external symbol “__declspec(dllimport) public: static unsigned int __cdecl std::ctype<unsigned short>::_Getcat(class std::locale::facet const * *)” (_imp?_Getcat@?$ctype@G@std@@SAIPAPBVfacet@locale@2@@Z)
1>IlmImf.lib(imfcompressor.obj) : error LNK2001: unresolved external symbol “__declspec(dllimport) public: static unsigned int __cdecl std::ctype<unsigned short>::_Getcat(class std::locale::facet const * *)” (_imp?_Getcat@?$ctype@G@std@@SAIPAPBVfacet@locale@2@@Z)
1>IlmImf.lib(imfstdio.obj) : error LNK2001: unresolved external symbol “__declspec(dllimport) public: static unsigned int __cdecl std::ctype<unsigned short>::_Getcat(class std::locale::facet const * *)” (_imp?_Getcat@?$ctype@G@std@@SAIPAPBVfacet@locale@2@@Z)
1>IlmImf.lib(imfboxattribute.obj) : error LNK2001: unresolved external symbol “__declspec(dllimport) public: static unsigned int __cdecl std::ctype<unsigned short>::_Getcat(class std::locale::facet const * *)” (_imp?_Getcat@?$ctype@G@std@@SAIPAPBVfacet@locale@2@@Z)
1>IlmImf.lib(imfattribute.obj) : error LNK2001: unresolved external symbol “__declspec(dllimport) public: static unsigned int __cdecl std::ctype<unsigned short>::_Getcat(class std::locale::facet const * *)” (_imp?_Getcat@?$ctype@G@std@@SAIPAPBVfacet@locale@2@@Z)
1>IlmImf.lib(ilmthreadsemaphorewin32.obj) : error LNK2001: unresolved external symbol “__declspec(dllimport) public: static unsigned int __cdecl std::ctype<unsigned short>::_Getcat(class std::locale::facet const * *)” (_imp?_Getcat@?$ctype@G@std@@SAIPAPBVfacet@locale@2@@Z)
1>IlmImf.lib(imfio.obj) : error LNK2001: unresolved external symbol “__declspec(dllimport) public: static unsigned int __cdecl std::ctype<unsigned short>::_Getcat(class std::locale::facet const * *)” (_imp?_Getcat@?$ctype@G@std@@SAIPAPBVfacet@locale@2@@Z)
1>IlmImf.lib(iexthrowerrnoexc.obj) : error LNK2001: unresolved external symbol “__declspec(dllimport) public: static unsigned int __cdecl std::ctype<unsigned short>::_Getcat(class std::locale::facet const * *)” (_imp?_Getcat@?$ctype@G@std@@SAIPAPBVfacet@locale@2@@Z)
1>IlmImf.lib(imfmisc.obj) : error LNK2001: unresolved external symbol “__declspec(dllimport) public: static unsigned int __cdecl std::ctype<unsigned short>::_Getcat(class std::locale::facet const * *)” (_imp?_Getcat@?$ctype@G@std@@SAIPAPBVfacet@locale@2@@Z)
1>IlmImf.lib(imfstandardattributes.obj) : error LNK2019: unresolved external symbol “__declspec(dllimport) public: static unsigned int __cdecl std::ctype<unsigned short>::_Getcat(class std::locale::facet const * *)” (_imp?_Getcat@?$ctype@G@std@@SAIPAPBVfacet@locale@2@@Z) referenced in function __ehhandler$?addOwner@Imf@@YAXAAVHeader@1@ABV?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@@Z
1>IlmImf.lib(imfchromaticities.obj) : error LNK2001: unresolved external symbol “__declspec(dllimport) public: static unsigned int __cdecl std::ctype<unsigned short>::_Getcat(class std::locale::facet const * *)” (_imp?_Getcat@?$ctype@G@std@@SAIPAPBVfacet@locale@2@@Z)
1>IlmImf.lib(imfframebuffer.obj) : error LNK2001: unresolved external symbol “__declspec(dllimport) public: static unsigned int __cdecl std::ctype<unsigned short>::_Getcat(class std::locale::facet const * *)” (_imp?_Getcat@?$ctype@G@std@@SAIPAPBVfacet@locale@2@@Z)
1>IlmImf.lib(ilmthreadpool.obj) : error LNK2001: unresolved external symbol “__declspec(dllimport) public: static unsigned int __cdecl std::ctype<unsigned short>::_Getcat(class std::locale::facet const * *)” (_imp?_Getcat@?$ctype@G@std@@SAIPAPBVfacet@locale@2@@Z)
1>IlmImf.lib(imfoutputfile.obj) : error LNK2001: unresolved external symbol “__declspec(dllimport) public: static unsigned int __cdecl std::ctype<unsigned short>::_Getcat(class std::locale::facet const * *)” (_imp?_Getcat@?$ctype@G@std@@SAIPAPBVfacet@locale@2@@Z)
1>IlmImf.lib(imfrgbayca.obj) : error LNK2001: unresolved external symbol “__declspec(dllimport) public: static unsigned int __cdecl std::ctype<unsigned short>::_Getcat(class std::locale::facet const * *)” (_imp?_Getcat@?$ctype@G@std@@SAIPAPBVfacet@locale@2@@Z)
1>IlmImf.lib(imfheader.obj) : error LNK2001: unresolved external symbol “__declspec(dllimport) public: static unsigned int __cdecl std::ctype<unsigned short>::_Getcat(class std::locale::facet const * *)” (_imp?_Getcat@?$ctype@G@std@@SAIPAPBVfacet@locale@2@@Z)
1>IlmImf.lib(imfinputfile.obj) : error LNK2001: unresolved external symbol “__declspec(dllimport) public: static unsigned int __cdecl std::ctype<unsigned short>::_Getcat(class std::locale::facet const * *)” (_imp?_Getcat@?$ctype@G@std@@SAIPAPBVfacet@locale@2@@Z)
1>IlmImf.lib(imfrgbafile.obj) : error LNK2001: unresolved external symbol “__declspec(dllimport) public: static unsigned int __cdecl std::ctype<unsigned short>::_Getcat(class std::locale::facet const * *)” (_imp?_Getcat@?$ctype@G@std@@SAIPAPBVfacet@locale@2@@Z)
1>IlmImf.lib(iexbaseexc.obj) : error LNK2001: unresolved external symbol “__declspec(dllimport) public: static unsigned int __cdecl std::ctype<unsigned short>::_Getcat(class std::locale::facet const * *)” (_imp?_Getcat@?$ctype@G@std@@SAIPAPBVfacet@locale@2@@Z)
1>IlmImf.lib(ilmthreadmutexwin32.obj) : error LNK2001: unresolved external symbol “__declspec(dllimport) public: static unsigned int __cdecl std::ctype<unsigned short>::_Getcat(class std::locale::facet const * *)” (_imp?_Getcat@?$ctype@G@std@@SAIPAPBVfacet@locale@2@@Z)
1>IlmImf.lib(imfchannellist.obj) : error LNK2001: unresolved external symbol “__declspec(dllimport) public: static unsigned int __cdecl std::ctype<unsigned short>::_Getcat(class std::locale::facet const * *)” (_imp?_Getcat@?$ctype@G@std@@SAIPAPBVfacet@locale@2@@Z)
1>Release/texfloat.exe : fatal error LNK1120: 3 unresolved externals

Any ideas? thank you

PS I use VS2008