HELP!!!!
by Scott Schaefer · in Torque Game Engine · 11/19/2001 (7:57 pm) · 3 replies
I think i've read every thread here (including "C++ compiler errors"). I'm really trying not 2 be a pest to you seasoned C++ kingpins out there, but being finished before u get started is tuff to take :) I just want 2 use this bas-ass engine!
Well 2 make a long story short (2 late 4 that), towards the end of my compiling I get these linking errors:
Linking...
graph.obj : error LNK2001: unresolved external symbol "public: float __thiscall Player::getJetAbility(float &,float &,float &)" (?getJetAbility@Player@@QAEMAAM00@Z)
platTest.obj : error LNK2001: unresolved external symbol "public: static void __cdecl BadWordFilter::create(void)" (?create@BadWordFilter@@SAXXZ)
platTest.obj : error LNK2001: unresolved external symbol "public: static void __cdecl BadWordFilter::destroy(void)" (?destroy@BadWordFilter@@SAXXZ)
hudClock.obj : error LNK2001: unresolved external symbol "public: static class AbstractClassRep * __cdecl HudBitmapFrameCtrl::getStaticClassRep(void)" (?getStaticClassRep@HudBitmapFrameCtrl@@SAPAVAbstractClassRep@@XZ)
hudClock.obj : error LNK2001: unresolved external symbol "public: virtual void __thiscall HudBitmapFrameCtrl::onPreRender(void)" (?onPreRender@HudBitmapFrameCtrl@@UAEXXZ)
hudClock.obj : error LNK2001: unresolved external symbol "public: __thiscall HudBitmapFrameCtrl::HudBitmapFrameCtrl(void)" (??0HudBitmapFrameCtrl@@QAE@XZ)
hudClock.obj : error LNK2001: unresolved external symbol "public: static void __cdecl HudBitmapFrameCtrl::initPersistFields(void)" (?initPersistFields@HudBitmapFrameCtrl@@SAXXZ)
netConnection.obj : error LNK2001: unresolved external symbol "public: void __thiscall BadWordFilter::filterString(char *,char const *)" (?filterString@BadWordFilter@@QAEXPADPBD@Z)
netConnection.obj : error LNK2001: unresolved external symbol "class BadWordFilter * gBadWordFilter" (?gBadWordFilter@@3PAVBadWordFilter@@A)
netConnection.obj : error LNK2001: unresolved external symbol "private: static bool BadWordFilter::filteringEnabled" (?filteringEnabled@BadWordFilter@@0_NA)
out.VC6.DEBUG/v12_DEBUG.exe : fatal error LNK1120: 10 unresolved externals
Error executing link.exe.
v12_DEBUG.exe - 11 error(s), 0 warning(s)
i do have this displayed under another thread "terraformer_noise.h" but i really needed another hook in the water guys. I know, i'm killin u.
To reiterate, i have Windows ME, vc6 with pack 5, nasm running ok and also in vc6 dir. I ran the command tests in pseudo dos window on this ME system and it passed (as per "vc++ compiling errors" thread. I've done it all by the book. I've had no problems with compiling libraries or the code (cept 1 easy fix, thanx adam b)until the end when it tries to "get its link on" ;)
blah blah blah
-Scott
Well 2 make a long story short (2 late 4 that), towards the end of my compiling I get these linking errors:
Linking...
graph.obj : error LNK2001: unresolved external symbol "public: float __thiscall Player::getJetAbility(float &,float &,float &)" (?getJetAbility@Player@@QAEMAAM00@Z)
platTest.obj : error LNK2001: unresolved external symbol "public: static void __cdecl BadWordFilter::create(void)" (?create@BadWordFilter@@SAXXZ)
platTest.obj : error LNK2001: unresolved external symbol "public: static void __cdecl BadWordFilter::destroy(void)" (?destroy@BadWordFilter@@SAXXZ)
hudClock.obj : error LNK2001: unresolved external symbol "public: static class AbstractClassRep * __cdecl HudBitmapFrameCtrl::getStaticClassRep(void)" (?getStaticClassRep@HudBitmapFrameCtrl@@SAPAVAbstractClassRep@@XZ)
hudClock.obj : error LNK2001: unresolved external symbol "public: virtual void __thiscall HudBitmapFrameCtrl::onPreRender(void)" (?onPreRender@HudBitmapFrameCtrl@@UAEXXZ)
hudClock.obj : error LNK2001: unresolved external symbol "public: __thiscall HudBitmapFrameCtrl::HudBitmapFrameCtrl(void)" (??0HudBitmapFrameCtrl@@QAE@XZ)
hudClock.obj : error LNK2001: unresolved external symbol "public: static void __cdecl HudBitmapFrameCtrl::initPersistFields(void)" (?initPersistFields@HudBitmapFrameCtrl@@SAXXZ)
netConnection.obj : error LNK2001: unresolved external symbol "public: void __thiscall BadWordFilter::filterString(char *,char const *)" (?filterString@BadWordFilter@@QAEXPADPBD@Z)
netConnection.obj : error LNK2001: unresolved external symbol "class BadWordFilter * gBadWordFilter" (?gBadWordFilter@@3PAVBadWordFilter@@A)
netConnection.obj : error LNK2001: unresolved external symbol "private: static bool BadWordFilter::filteringEnabled" (?filteringEnabled@BadWordFilter@@0_NA)
out.VC6.DEBUG/v12_DEBUG.exe : fatal error LNK1120: 10 unresolved externals
Error executing link.exe.
v12_DEBUG.exe - 11 error(s), 0 warning(s)
i do have this displayed under another thread "terraformer_noise.h" but i really needed another hook in the water guys. I know, i'm killin u.
To reiterate, i have Windows ME, vc6 with pack 5, nasm running ok and also in vc6 dir. I ran the command tests in pseudo dos window on this ME system and it passed (as per "vc++ compiling errors" thread. I've done it all by the book. I've had no problems with compiling libraries or the code (cept 1 easy fix, thanx adam b)until the end when it tries to "get its link on" ;)
blah blah blah
-Scott
About the author
Torque Owner Scott Schaefer
I just can't erase this thread.
Scott