Error 2 error LNK2019: unresolved external symbol "public: double __thiscall Polyline::getLongitude(int)" (?getLongitude@Polyline@@QAENH@Z) referenced in function "public: void __thiscall Globe::drawMarkers(void)" (?drawMarkers@Globe@@QAEXXZ) Globe.obj OpenXcomError 3 error LNK2019: unresolved external symbol "public: double __thiscall Polyline::getLatitude(int)" (?getLatitude@Polyline@@QAENH@Z) referenced in function "public: void __thiscall Globe::drawMarkers(void)" (?drawMarkers@Globe@@QAEXXZ) Globe.obj OpenXcomError 4 error LNK2019: unresolved external symbol "public: int __thiscall Polyline::getPoints(void)" (?getPoints@Polyline@@QAEHXZ) referenced in function "public: void __thiscall Globe::drawMarkers(void)" (?drawMarkers@Globe@@QAEXXZ) Globe.obj OpenXcomError 5 error LNK2019: unresolved external symbol "public: __thiscall Polyline::~Polyline(void)" (??1Polyline@@QAE@XZ) referenced in function "public: void * __thiscall Polyline::`scalar deleting destructor'(unsigned int)" (??_GPolyline@@QAEPAXI@Z) ResourcePack.obj OpenXcomError 6 error LNK2019: unresolved external symbol "public: void __thiscall Polyline::setLatitude(int,double)" (?setLatitude@Polyline@@QAEXHN@Z) referenced in function "public: __thiscall XcomResourcePack::XcomResourcePack(class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> >)" (??0XcomResourcePack@@QAE@V?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@@Z) XcomResourcePack.obj OpenXcomError 7 error LNK2019: unresolved external symbol "public: void __thiscall Polyline::setLongitude(int,double)" (?setLongitude@Polyline@@QAEXHN@Z) referenced in function "public: __thiscall XcomResourcePack::XcomResourcePack(class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> >)" (??0XcomResourcePack@@QAE@V?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@@Z) XcomResourcePack.obj OpenXcomError 8 error LNK2019: unresolved external symbol "public: __thiscall Polyline::Polyline(int)" (??0Polyline@@QAE@H@Z) referenced in function "public: __thiscall XcomResourcePack::XcomResourcePack(class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> >)" (??0XcomResourcePack@@QAE@V?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@@Z) XcomResourcePack.obj OpenXcomError 9 fatal error LNK1120: 7 unresolved externals D:\WIP\OpenXcom.2008\Debug\OpenXcom.exe OpenXcom
Whoops I forgot to add the Polyline files to the VC2008 project, should be fixed now.
P.S. Don't put huge long lines in a code tag, it stretches the tables like nobody's business.
Quote from: SupSuper on July 26, 2010, 10:55:45 pmP.S. Don't put huge long lines in a code tag, it stretches the tables like nobody's business. What browser are you using? Firefox adds a scrollbar to the code box. Either way, I appologise