Sign in to follow this  
xinyue00766

Nehe SDK link problem

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

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this