Unresolved externals.
Posted: 03.03.2002, 13:15
Greetings.
I have just updated my Celestia code via CVS and when compiling it I get some unresolved externals on the linking stage, namely:
Linking...
winmain.obj : error LNK2001: unresolved external symbol "void __cdecl AddButtonDefaultStyle(struct HWND__ *)" (?AddButtonDefaultStyle@@YAXPAUHWND__@@@Z)
winmain.obj : error LNK2001: unresolved external symbol "void __cdecl RemoveButtonDefaultStyle(struct HWND__ *)" (?RemoveButtonDefaultStyle@@YAXPAUHWND__@@@Z)
winmain.obj : error LNK2001: unresolved external symbol "void __cdecl CenterWindow(struct HWND__ *,struct HWND__ *)" (?CenterWindow@@YAXPAUHWND__@@0@Z)
winstarbrowser.obj : error LNK2001: unresolved external symbol "void __cdecl SetMouseCursor(char const *)" (?SetMouseCursor@@YAXPBD@Z)
cel_engine.lib(render.obj) : error LNK2001: unresolved external symbol "public: class Texture * __thiscall MultiResTexture::find(unsigned int)" (?find@MultiResTexture@@QAEPAVTexture@@I@Z)
cel_engine.lib(render.obj) : error LNK2001: unresolved external symbol "public: __thiscall MultiResTexture::MultiResTexture(int,int,int)" (??0MultiResTexture@@QAE@HHH@Z)
cel_engine.lib(render.obj) : error LNK2001: unresolved external symbol "public: __thiscall MultiResTexture::MultiResTexture(void)" (??0MultiResTexture@@QAE@XZ)
cel_engine.lib(body.obj) : error LNK2001: unresolved external symbol "public: __thiscall MultiResTexture::MultiResTexture(void)" (??0MultiResTexture@@QAE@XZ)
cel_engine.lib(solarsys.obj) : error LNK2001: unresolved external symbol "public: __thiscall MultiResTexture::MultiResTexture(void)" (??0MultiResTexture@@QAE@XZ)
cel_engine.lib(solarsys.obj) : error LNK2001: unresolved external symbol "public: void __thiscall MultiResTexture::setTexture(class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > const &,unsigned int)" (?setTexture
@MultiResTexture@@QAEXABV?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@I@Z)
cel_engine.lib(solarsys.obj) : error LNK2001: unresolved external symbol "public: void __thiscall MultiResTexture::setTexture(class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > const &,float,unsigned int)" (?setT
exture@MultiResTexture@@QAEXABV?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@MI@Z)
cel_engine.lib(solarsys.obj) : error LNK2001: unresolved external symbol "public: __thiscall MultiResTexture::MultiResTexture(class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > const &)" (??0MultiResTexture@@QAE@
ABV?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@@Z)
cel_engine.lib(customorbit.obj) : error LNK2001: unresolved external symbol "class Orbit * __cdecl CreateVSOP87Orbit(class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > const &)" (?CreateVSOP87Orbit@@YAPAVOrbit@@A
BV?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@@Z)
../../Celestia.exe : fatal error LNK1120: 11 unresolved externals
Error executing link.exe.
I wonder if anyone could shed light on this for me.
Thanks
Diogo
I have just updated my Celestia code via CVS and when compiling it I get some unresolved externals on the linking stage, namely:
Linking...
winmain.obj : error LNK2001: unresolved external symbol "void __cdecl AddButtonDefaultStyle(struct HWND__ *)" (?AddButtonDefaultStyle@@YAXPAUHWND__@@@Z)
winmain.obj : error LNK2001: unresolved external symbol "void __cdecl RemoveButtonDefaultStyle(struct HWND__ *)" (?RemoveButtonDefaultStyle@@YAXPAUHWND__@@@Z)
winmain.obj : error LNK2001: unresolved external symbol "void __cdecl CenterWindow(struct HWND__ *,struct HWND__ *)" (?CenterWindow@@YAXPAUHWND__@@0@Z)
winstarbrowser.obj : error LNK2001: unresolved external symbol "void __cdecl SetMouseCursor(char const *)" (?SetMouseCursor@@YAXPBD@Z)
cel_engine.lib(render.obj) : error LNK2001: unresolved external symbol "public: class Texture * __thiscall MultiResTexture::find(unsigned int)" (?find@MultiResTexture@@QAEPAVTexture@@I@Z)
cel_engine.lib(render.obj) : error LNK2001: unresolved external symbol "public: __thiscall MultiResTexture::MultiResTexture(int,int,int)" (??0MultiResTexture@@QAE@HHH@Z)
cel_engine.lib(render.obj) : error LNK2001: unresolved external symbol "public: __thiscall MultiResTexture::MultiResTexture(void)" (??0MultiResTexture@@QAE@XZ)
cel_engine.lib(body.obj) : error LNK2001: unresolved external symbol "public: __thiscall MultiResTexture::MultiResTexture(void)" (??0MultiResTexture@@QAE@XZ)
cel_engine.lib(solarsys.obj) : error LNK2001: unresolved external symbol "public: __thiscall MultiResTexture::MultiResTexture(void)" (??0MultiResTexture@@QAE@XZ)
cel_engine.lib(solarsys.obj) : error LNK2001: unresolved external symbol "public: void __thiscall MultiResTexture::setTexture(class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > const &,unsigned int)" (?setTexture
@MultiResTexture@@QAEXABV?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@I@Z)
cel_engine.lib(solarsys.obj) : error LNK2001: unresolved external symbol "public: void __thiscall MultiResTexture::setTexture(class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > const &,float,unsigned int)" (?setT
exture@MultiResTexture@@QAEXABV?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@MI@Z)
cel_engine.lib(solarsys.obj) : error LNK2001: unresolved external symbol "public: __thiscall MultiResTexture::MultiResTexture(class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > const &)" (??0MultiResTexture@@QAE@
ABV?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@@Z)
cel_engine.lib(customorbit.obj) : error LNK2001: unresolved external symbol "class Orbit * __cdecl CreateVSOP87Orbit(class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > const &)" (?CreateVSOP87Orbit@@YAPAVOrbit@@A
BV?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@@Z)
../../Celestia.exe : fatal error LNK1120: 11 unresolved externals
Error executing link.exe.
I wonder if anyone could shed light on this for me.
Thanks
Diogo