I had some trouble trying to get the code to work and someone from gamedev.net helped me out and got it working with some modifications to the source code. It isn't perfect but I am able to run Teapotwars. Only the editor won't build due to these errors:
Error 1 error LNK2019: unresolved external symbol "public: static void __cdecl std::_String_base::_Xran(void)" (?_Xran@_String_base@std@@SAXXZ) referenced in function "public: class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > & __thiscall std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> >::erase(unsigned int,unsigned int)" (?erase@?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@QAEAAV12@II@Z) C:\Users\David\Desktop\New folder (2)\gamecode3\Source\Editor\libboost_thread-vc90-mt-s-1_37.lib(thread.obj) Editor
Error 2 error LNK2019: unresolved external symbol "public: static void __cdecl std::_String_base::_Xlen(void)" (?_Xlen@_String_base@std@@SAXXZ) referenced in function "protected: bool __thiscall std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> >::_Grow(unsigned int,bool)" (?_Grow@?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@IAE_NI_N@Z) C:\Users\David\Desktop\New folder (2)\gamecode3\Source\Editor\libboost_thread-vc90-mt-s-1_37.lib(thread.obj) Editor
Error 3 error LNK1120: 2 unresolved externals C:\Users\David\Desktop\New folder (2)\gamecode3\Bin\Editor.dll 1 1 Editor
I checked and that file is in the libs folder in boost so not sure as to how fix those errors. Also I will get a popup when closing TeapotWars which says:
The Direct3D device has a non-zero reference count, meaning some objects were not released.
I'm guessing that is a memory leak, correct? (Sorry, still somewhat new).
Anyways, here is a link to the modified source code if anyone would like to take a look at that and possibly find a fix for those two issues.
dl.dropbox.com/u/6991288/gamecode3.zip
Error 1 error LNK2019: unresolved external symbol "public: static void __cdecl std::_String_base::_Xran(void)" (?_Xran@_String_base@std@@SAXXZ) referenced in function "public: class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > & __thiscall std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> >::erase(unsigned int,unsigned int)" (?erase@?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@QAEAAV12@II@Z) C:\Users\David\Desktop\New folder (2)\gamecode3\Source\Editor\libboost_thread-vc90-mt-s-1_37.lib(thread.obj) Editor
Error 2 error LNK2019: unresolved external symbol "public: static void __cdecl std::_String_base::_Xlen(void)" (?_Xlen@_String_base@std@@SAXXZ) referenced in function "protected: bool __thiscall std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> >::_Grow(unsigned int,bool)" (?_Grow@?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@IAE_NI_N@Z) C:\Users\David\Desktop\New folder (2)\gamecode3\Source\Editor\libboost_thread-vc90-mt-s-1_37.lib(thread.obj) Editor
Error 3 error LNK1120: 2 unresolved externals C:\Users\David\Desktop\New folder (2)\gamecode3\Bin\Editor.dll 1 1 Editor
I checked and that file is in the libs folder in boost so not sure as to how fix those errors. Also I will get a popup when closing TeapotWars which says:
The Direct3D device has a non-zero reference count, meaning some objects were not released.
I'm guessing that is a memory leak, correct? (Sorry, still somewhat new).
Anyways, here is a link to the modified source code if anyone would like to take a look at that and possibly find a fix for those two issues.
dl.dropbox.com/u/6991288/gamecode3.zip