Game Development Community

Compile torque 1.4.2 with visual c++ 2008 Express

by kc_0045 · in Torque Game Engine · 09/07/2008 (1:45 pm) · 10 replies

Hey there, been outa the loop for awhile, haven't done anything with torque for a few years at least(Or any coding for that matter), And now I am having problems getting it to compile! (Again)

So trying to follow the instructions here http://tdn.garagegames.com/wiki/Torque/vs2k5 to get it to install.

But, of course, that is for the 2005 version and the 2008 doesn't seem to be working :S has anyone got it to compile with 2008?

Heres the compiling errors i'm getting. (I removed most of the successful stuff)
seems to be a problem with guiDirectoryFileListCtrl, but I have no idea what :S

http://img136.imageshack.us/img136/4339/scr7aadedwa0.png

#1
09/07/2008 (1:45 pm)
And here is the errors, couldn't fit them in last post :(


guiDirectoryFileListCtrl.obj : error LNK2019: unresolved external symbol "public: static class AbstractClassRep * __cdecl GuiListBoxCtrl::getStaticClassRep(void)" (?getStaticClassRep@GuiListBoxCtrl@@SAPAVAbstractClassRep@@XZ) referenced in function "public: static class AbstractClassRep * __cdecl GuiDirectoryFileListCtrl::getParentStaticClassRep(void)" (?getParentStaticClassRep@GuiDirectoryFileListCtrl@@SAPAVAbstractClassRep@@XZ)
guiDirectoryFileListCtrl.obj : error LNK2019: unresolved external symbol "public: __thiscall GuiListBoxCtrl::GuiListBoxCtrl(void)" (??0GuiListBoxCtrl@@QAE@XZ) referenced in function "public: __thiscall GuiDirectoryFileListCtrl::GuiDirectoryFileListCtrl(void)" (??0GuiDirectoryFileListCtrl@@QAE@XZ)
guiDirectoryFileListCtrl.obj : error LNK2001: unresolved external symbol "public: virtual void __thiscall GuiListBoxCtrl::parentResized(class Point2I const &,class Point2I const &)" (?parentResized@GuiListBoxCtrl@@UAEXABVPoint2I@@0@Z)
guiDirectoryFileListCtrl.obj : error LNK2001: unresolved external symbol "public: virtual void __thiscall GuiListBoxCtrl::onRender(class Point2I,class RectI const &)" (?onRender@GuiListBoxCtrl@@UAEXVPoint2I@@ABVRectI@@@Z)
guiDirectoryFileListCtrl.obj : error LNK2001: unresolved external symbol "public: virtual void __thiscall GuiListBoxCtrl::onRenderItem(class RectI,struct GuiListBoxCtrl::LBItem *)" (?onRenderItem@GuiListBoxCtrl@@UAEXVRectI@@PAULBItem@1@@Z)
guiDirectoryFileListCtrl.obj : error LNK2019: unresolved external symbol "public: virtual __thiscall GuiListBoxCtrl::~GuiListBoxCtrl(void)" (??1GuiListBoxCtrl@@UAE@XZ) referenced in function "public: virtual __thiscall GuiDirectoryFileListCtrl::~GuiDirectoryFileListCtrl(void)" (??1GuiDirectoryFileListCtrl@@UAE@XZ)
guiDirectoryFileListCtrl.obj : error LNK2019: unresolved external symbol "public: virtual bool __thiscall GuiListBoxCtrl::onWake(void)" (?onWake@GuiListBoxCtrl@@UAE_NXZ) referenced in function "public: virtual bool __thiscall GuiDirectoryFileListCtrl::onWake(void)" (?onWake@GuiDirectoryFileListCtrl@@UAE_NXZ)
guiDirectoryFileListCtrl.obj : error LNK2019: unresolved external symbol "public: virtual void __thiscall GuiListBoxCtrl::onMouseDown(struct GuiEvent const &)" (?onMouseDown@GuiListBoxCtrl@@UAEXABUGuiEvent@@@Z) referenced in function "public: virtual void __thiscall GuiDirectoryFileListCtrl::onMouseDown(struct GuiEvent const &)" (?onMouseDown@GuiDirectoryFileListCtrl@@UAEXABUGuiEvent@@@Z)
guiDirectoryFileListCtrl.obj : error LNK2019: unresolved external symbol "public: int __thiscall GuiListBoxCtrl::addItem(char const *,void *)" (?addItem@GuiListBoxCtrl@@QAEHPBDPAX@Z) referenced in function "protected: void __thiscall GuiDirectoryFileListCtrl::openDirectory(void)" (?openDirectory@GuiDirectoryFileListCtrl@@IAEXXZ)
guiDirectoryFileListCtrl.obj : error LNK2019: unresolved external symbol "public: void __thiscall GuiListBoxCtrl::clearItems(void)" (?clearItems@GuiListBoxCtrl@@QAEXXZ) referenced in function "protected: void __thiscall GuiDirectoryFileListCtrl::openDirectory(void)" (?openDirectory@GuiDirectoryFileListCtrl@@IAEXXZ)
guiDirectoryFileListCtrl.obj : error LNK2019: unresolved external symbol "public: char const * __thiscall GuiListBoxCtrl::getItemText(int)" (?getItemText@GuiListBoxCtrl@@QAEPBDH@Z) referenced in function "public: char const * __thiscall GuiDirectoryFileListCtrl::getSelectedFileName(void)" (?getSelectedFileName@GuiDirectoryFileListCtrl@@QAEPBDXZ)
guiDirectoryFileListCtrl.obj : error LNK2019: unresolved external symbol "public: int __thiscall GuiListBoxCtrl::getSelectedItem(void)" (?getSelectedItem@GuiListBoxCtrl@@QAEHXZ) referenced in function "public: char const * __thiscall GuiDirectoryFileListCtrl::getSelectedFileName(void)" (?getSelectedFileName@GuiDirectoryFileListCtrl@@QAEPBDXZ)
guiDirectoryFileListCtrl.obj : error LNK2019: unresolved external symbol "public: static void __cdecl GuiListBoxCtrl::initPersistFields(void)" (?initPersistFields@GuiListBoxCtrl@@SAXXZ) referenced in function "public: virtual void __thiscall ConcreteClassRep::init(void)const " (?init@?$ConcreteClassRep@VGuiDirectoryFileListCtrl@@@@UBEXXZ)
guiDirectoryFileListCtrl.obj : error LNK2019: unresolved external symbol "public: void __thiscall GuiListBoxCtrl::getSelectedItems(class Vector &)" (?getSelectedItems@GuiListBoxCtrl@@QAEXAAV?$Vector@H@@@Z) referenced in function "char const * __cdecl cGuiDirectoryFileListCtrlgetSelectedFiles(class GuiDirectoryFileListCtrl *,int,char const * *)" (?cGuiDirectoryFileListCtrlgetSelectedFiles@@YAPBDPAVGuiDirectoryFileListCtrl@@HPAPBD@Z)
#2
09/11/2008 (12:34 pm)
I'm working through it now. I've gotten farther, but fail on the demo due to the .slb? files.
#3
09/11/2008 (12:35 pm)
Odd :S Honestly, I have nooo idea where to even start I have done very little work with C++, let alone compiling it. Please keep me updated if you get it working! :D
#4
09/11/2008 (12:51 pm)
Have you tried searching? I think I have a couple of posts where I pointed out what I did to get it building in 2008. I don't remember at this point though, since I went back to using 2005 after my beta of Team Studio (or whatever it's called) expired.
#5
09/11/2008 (3:57 pm)
There were a few posts, but nothing that seemed conclusive. I think they are starting points. I'd be happy w/a cygwin compile, but figured this would be easier. :)
#6
09/11/2008 (4:28 pm)
Hrm, well I honestly don't remember what I did to get it working. And I'm not sure what version of the engine I was working with (I know it was TGEA though, not TGE).

Cygwin :/ ick :P
#7
09/12/2008 (6:32 am)
Not complete yet, but following this helped a lot:
http://notfaq.wordpress.com/category/visual-studio/
#8
09/12/2008 (9:40 am)
Success!

I had a problem w/my SDK.
Erased it.
Reinstalled.
Opened the VS2005/Torque SDK.sln file.
Right-click on Torque Demo. Build.
#9
09/12/2008 (12:58 pm)
Yeah? What verson of torque, I was trying it with a brand new install and it still wasent working.
#10
09/15/2008 (12:07 pm)
It was the latest 1.4.2 download and the latest visual studio express edition.
K