• Advertisement
Sign in to follow this  

Nehe SDK link problem

This topic is 2334 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

This is my first time to use opengl. My operation system is win7 64 bit. I use Nehe SDK framework to set up a win32 application using vc++6.0 and visual studio2008 respectively and add main.cpp and draw.cpp into the source file, but both of the debug information are always show a large number of error as follows:

NeheSDK.lib(nexception.obj) : error LNK2001: unresolved external symbol "public: void __thiscall std::_String_base::_Xran(void)const " (?_Xran@_String_base@std@@QBEXXZ)
NeheSDK.lib(image.obj) : error LNK2001: unresolved external symbol "public: void __thiscall std::_String_base::_Xran(void)const " (?_Xran@_String_base@std@@QBEXXZ)
NeheSDK.lib(texture.obj) : error LNK2001: unresolved external symbol "public: void __thiscall std::_String_base::_Xran(void)const " (?_Xran@_String_base@std@@QBEXXZ)
NeheSDK.lib(state.obj) : error LNK2001: unresolved external symbol "public: void __thiscall std::_String_base::_Xran(void)const " (?_Xran@_String_base@std@@QBEXXZ)
NeheSDK.lib(text.obj) : error LNK2001: unresolved external symbol "public: void __thiscall std::_String_base::_Xran(void)const " (?_Xran@_String_base@std@@QBEXXZ)
NeheSDK.lib(opengl.obj) : error LNK2001: unresolved external symbol "public: void __thiscall std::_String_base::_Xran(void)const " (?_Xran@_String_base@std@@QBEXXZ)
NeheSDK.lib(nexception.obj) : error LNK2001: unresolved external symbol "public: void __thiscall std::_String_base::_Xlen(void)const " (?_Xlen@_String_base@std@@QBEXXZ)
NeheSDK.lib(image.obj) : error LNK2001: unresolved external symbol "public: void __thiscall std::_String_base::_Xlen(void)const " (?_Xlen@_String_base@std@@QBEXXZ)
NeheSDK.lib(texture.obj) : error LNK2001: unresolved external symbol "public: void __thiscall std::_String_base::_Xlen(void)const " (?_Xlen@_String_base@std@@QBEXXZ)
NeheSDK.lib(state.obj) : error LNK2001: unresolved external symbol "public: void __thiscall std::_String_base::_Xlen(void)const " (?_Xlen@_String_base@std@@QBEXXZ)
NeheSDK.lib(text.obj) : error LNK2001: unresolved external symbol "public: void __thiscall std::_String_base::_Xlen(void)const " (?_Xlen@_String_base@std@@QBEXXZ)
NeheSDK.lib(opengl.obj) : error LNK2001: unresolved external symbol "public: void __thiscall std::_String_base::_Xlen(void)const " (?_Xlen@_String_base@std@@QBEXXZ)
NeheSDK.lib(pcxloader.obj) : error LNK2001: unresolved external symbol ___security_cookie
NeheSDK.lib(texture.obj) : error LNK2001: unresolved external symbol ___security_cookie
NeheSDK.lib(opengl.obj) : error LNK2001: unresolved external symbol ___security_cookie
NeheSDK.lib(splash.obj) : error LNK2001: unresolved external symbol ___security_cookie
NeheSDK.lib(image.obj) : error LNK2001: unresolved external symbol ___security_cookie
NeheSDK.lib(pcxloader.obj) : error LNK2001: unresolved external symbol @__security_check_cookie@4
NeheSDK.lib(texture.obj) : error LNK2001: unresolved external symbol @__security_check_cookie@4
NeheSDK.lib(opengl.obj) : error LNK2001: unresolved external symbol @__security_check_cookie@4
NeheSDK.lib(splash.obj) : error LNK2001: unresolved external symbol @__security_check_cookie@4
NeheSDK.lib(image.obj) : error LNK2001: unresolved external symbol @__security_check_cookie@4
NeheSDK.lib(opengl.obj) : error LNK2001: unresolved external symbol "void * __cdecl operator new[](unsigned int)" (??_U@YAPAXI@Z)
NeheSDK.lib(image.obj) : error LNK2001: unresolved external symbol "void * __cdecl operator new[](unsigned int)" (??_U@YAPAXI@Z)
NeheSDK.lib(pcxloader.obj) : error LNK2001: unresolved external symbol "void * __cdecl operator new[](unsigned int)" (??_U@YAPAXI@Z)
NeheSDK.lib(image.obj) : error LNK2001: unresolved external symbol "void __cdecl operator delete[](void *)" (??_V@YAXPAX@Z)
NeheSDK.lib(image.obj) : error LNK2001: unresolved external symbol __ftol2
NeheSDK.lib(timer.obj) : error LNK2001: unresolved external symbol __ftol2


what are the errors and what can I do to remove those errors.I doubt whether those errors have something with the 64 bit system?
Are there some person to help me?

Share this post


Link to post
Share on other sites
Advertisement
look at this:
http://social.msdn.microsoft.com/Forums/en/vcgeneral/thread/5ac28a31-3339-4db1-90f4-68edad360309

Share this post


Link to post
Share on other sites
Sign in to follow this  

  • Advertisement