Author Topic: Newbie have compiler problems.  (Read 696 times)

nightshadow

  • Wayfarer
  • *
  • Posts: 6
    • View Profile
Newbie have compiler problems.
« on: January 24, 2005, 04:19:05 am »
Hello all,
   I have complied CS, Cel but I tried to do Planeshift and I keep getting this error.  I downloaded the newest cvs today.

--------------------Configuration: libgui - Win32 Release--------------------
Compiling...
chatwindow.cpp
..\\..\\src\\client\\psclientchar.h(266) : error C2065: \'LifeEventChoice\' : undeclared identifier
..\\..\\src\\client\\psclientchar.h(266) : error C2955: \'csArray\' : use of class template requires template argument list
        ..\\..\\include\\csutil/array.h(990) : see declaration of \'csArray\'
..\\..\\src\\client\\psclientchar.h(266) : fatal error C1903: unable to recover from previous error(s); stopping compilation

I am MS VC++ 6.0

Thanks for any help you can give.

nightshadow

  • Wayfarer
  • *
  • Posts: 6
    • View Profile
I found my problem. but...
« Reply #1 on: January 24, 2005, 06:55:25 am »
I got all the libs and plg to compile but now when I am compiling apppsclient I get the following

--------------------Configuration: apppsclient - Win32 Release--------------------
Linking...
cmdadmin.obj : error LNK2001: unresolved external symbol \"public: __thiscall psAdminMessage::psAdminMessage(class MsgEntry *)\" (??0psAdminMessage@@QAE@PAVMsgEntry@@@Z)
cmdusers.obj : error LNK2001: unresolved external symbol \"public: void __thiscall pawsDetailWindow::RequestDetails(void)\" (?RequestDetails@pawsDetailWindow@@QAEXXZ)
cmdusers.obj : error LNK2001: unresolved external symbol \"public: void __thiscall pawsIgnoreWindow::RemoveIgnore(class csString &)\" (?RemoveIgnore@pawsIgnoreWindow@@QAEXAAVcsString@@@Z)
cmdusers.obj : error LNK2001: unresolved external symbol \"public: bool __thiscall pawsIgnoreWindow::IsIgnored(class csString &)\" (?IsIgnored@pawsIgnoreWindow@@QAE_NAAVcsString@@@Z)
libgui.lib(chatwindow.obj) : error LNK2001: unresolved external symbol \"public: bool __thiscall pawsIgnoreWindow::IsIgnored(class csString &)\" (?IsIgnored@pawsIgnoreWindow@@QAE_NAAVcsString@@@Z)
cmdusers.obj : error LNK2001: unresolved external symbol \"public: void __thiscall pawsIgnoreWindow::AddIgnore(class csString &)\" (?AddIgnore@pawsIgnoreWindow@@QAEXAAVcsString@@@Z)
cmdutil.obj : error LNK2001: unresolved external symbol \"public: struct iCamera * __thiscall psCamera::GetICamera(void)\" (?GetICamera@psCamera@@QAEPAUiCamera@@XZ)
modehandler.obj : error LNK2001: unresolved external symbol \"public: char const * __thiscall SlotName::GetSecondaryName(int)\" (?GetSecondaryName@SlotName@@QAEPBDH@Z)
pscelclient.obj : error LNK2001: unresolved external symbol \"public: __thiscall psVitalManager::psVitalManager(void)\" (??0psVitalManager@@QAE@XZ)
pscelclient.obj : error LNK2001: unresolved external symbol \"public: __thiscall psVitalManager::~psVitalManager(void)\" (??1psVitalManager@@QAE@XZ)
pscharcontrol.obj : error LNK2001: unresolved external symbol \"public: void __thiscall psCamera::MoveDistance(float,int)\" (?MoveDistance@psCamera@@QAEXMH@Z)
pscharcontrol.obj : error LNK2001: unresolved external symbol \"public: bool __thiscall psEffectManager::DeleteEffect(unsigned int)\" (?DeleteEffect@psEffectManager@@QAE_NI@Z)
libgui.lib(psmainwidget.obj) : error LNK2001: unresolved external symbol \"public: bool __thiscall psEffectManager::DeleteEffect(unsigned int)\" (?DeleteEffect@psEffectManager@@QAE_NI@Z)
pscharcontrol.obj : error LNK2001: unresolved external symbol \"public: int __thiscall psCamera::GetCameraMode(void)const \" (?GetCameraMode@psCamera@@QBEHXZ)
pscharcontrol.obj : error LNK2001: unresolved external symbol \"public: unsigned int __thiscall psEffectManager::RenderEffect(class csString const &,struct iSectorList *,class csVector3 const &,struct iMeshWrapper *,class csVector3 const &,unsigned i
nt)\" (?RenderEffect@psEffectManager@@QAEIABVcsString@@PAUiSectorList@@ABVcsVector3@@PAUiMeshWrapper@@2I@Z)
pscharcontrol.obj : error LNK2001: unresolved external symbol \"public: struct iMeshWrapper * __thiscall psCamera::Get3DPointFrom2D(int,int,class csVector3 *,class csVector3 *)\" (?Get3DPointFrom2D@psCamera@@QAEPAUiMeshWrapper@@HHPAVcsVector3@@0@Z)
pscharcontrol.obj : error LNK2001: unresolved external symbol \"public: void __thiscall psCamera::SetPitchVelocity(float)\" (?SetPitchVelocity@psCamera@@QAEXM@Z)
pscharcontrol.obj : error LNK2001: unresolved external symbol \"public: void __thiscall psCamera::NextCameraMode(void)\" (?NextCameraMode@psCamera@@QAEXXZ)
pscharcontrol.obj : error LNK2001: unresolved external symbol \"public: void __thiscall psCamera::SetPitch(float,int)\" (?SetPitch@psCamera@@QAEXMH@Z)
pscharcontrol.obj : error LNK2001: unresolved external symbol \"public: void __thiscall psCamera::SetYaw(float,int)\" (?SetYaw@psCamera@@QAEXMH@Z)
pscharcontrol.obj : error LNK2001: unresolved external symbol \"public: void __thiscall psCamera::SetPosition(class csVector3 const &,int)\" (?SetPosition@psCamera@@QAEXABVcsVector3@@H@Z)
pscharcontrol.obj : error LNK2001: unresolved external symbol \"public: float __thiscall psCamera::GetMaxDistance(int)const \" (?GetMaxDistance@psCamera@@QBEMH@Z)
pscharcontrol.obj : error LNK2001: unresolved external symbol \"public: void __thiscall psCamera::MoveYaw(float,int)\" (?MoveYaw@psCamera@@QAEXMH@Z)
pscharcontrol.obj : error LNK2001: unresolved external symbol \"public: void __thiscall psCamera::MovePitch(float,int)\" (?MovePitch@psCamera@@QAEXMH@Z)
pscharcontrol.obj : error LNK2001: unresolved external symbol \"public: bool __thiscall psCamera::RotateCameraWithPlayer(void)const \" (?RotateCameraWithPlayer@psCamera@@QBE_NXZ)
pscharcontrol.obj : error LNK2001: unresolved external symbol \"public: class csVector3 __thiscall psCamera::GetForwardVector(int)const \" (?GetForwardVector@psCamera@@QBE?AVcsVector3@@H@Z)
pscharcontrol.obj : error LNK2001: unresolved external symbol \"public: float __thiscall psCamera::GetTurnSpeed(int)const \" (?GetTurnSpeed@psCamera@@QBEMH@Z)
pscharcontrol.obj : error LNK2001: unresolved external symbol \"public: class csVector3 __thiscall psCamera::GetRightVector(int)const \" (?GetRightVector@psCamera@@QBE?AVcsVector3@@H@Z)
pscharcontrol.obj : error LNK2001: unresolved external symbol \"public: void __thiscall psCamera::SetYawVelocity(float)\" (?SetYawVelocity@psCamera@@QAEXM@Z)
psclientchar.obj : error LNK2001: unresolved external symbol \"public: char const * __thiscall SlotName::GetName(int)\" (?GetName@SlotName@@QAEPBDH@Z)
libgui.lib(inventorywindow.obj) : error LNK2001: unresolved external symbol \"public: char const * __thiscall SlotName::GetName(int)\" (?GetName@SlotName@@QAEPBDH@Z)
psclientchar.obj : error LNK2001: unresolved external symbol \"public: unsigned int __thiscall psEffectManager::RenderEffect(class csString const &,class csVector3 const &,struct iMeshWrapper *,struct iMeshWrapper *,class csVector3 const &,unsigned i
nt)\" (?RenderEffect@psEffectManager@@QAEIABVcsString@@ABVcsVector3@@PAUiMeshWrapper@@21I@Z)

bitula

  • Hydlaa Resident
  • *
  • Posts: 58
    • View Profile
(No subject)
« Reply #2 on: January 25, 2005, 10:43:48 pm »
add the missing cpps and headers to the project!

nightshadow

  • Wayfarer
  • *
  • Posts: 6
    • View Profile
thanks
« Reply #3 on: January 26, 2005, 02:08:53 am »
I got it complied but now it will not run.  I have tried everything I know.  I have complied the old verson fo this game and CS with no problems. but for somereason i can not get this to work.