aliens

Author Topic: Unresolved external symbols  (Read 9449 times)

Offline pmprog

  • Commander
  • *****
  • Posts: 647
  • Contributor
    • View Profile
    • Polymath Programming
Unresolved external symbols
« on: July 26, 2010, 10:08:58 pm »
Just updated my project to the latest SVN copy, and I can't build the project any more. Ideas?

Quote
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   OpenXcom
Error   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   OpenXcom
Error   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   OpenXcom
Error   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   OpenXcom
Error   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   OpenXcom
Error   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   OpenXcom
Error   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   OpenXcom
Error   9   fatal error LNK1120: 7 unresolved externals   D:\WIP\OpenXcom.2008\Debug\OpenXcom.exe   OpenXcom
« Last Edit: July 26, 2010, 10:54:50 pm by SupSuper »

Offline SupSuper

  • Lazy Developer
  • Administrator
  • Commander
  • *****
  • Posts: 2162
    • View Profile
Re: Unresolved external symbols
« Reply #1 on: July 26, 2010, 10:55:45 pm »
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. :P

Offline pmprog

  • Commander
  • *****
  • Posts: 647
  • Contributor
    • View Profile
    • Polymath Programming
Re: Unresolved external symbols
« Reply #2 on: July 26, 2010, 11:01:30 pm »
Whoops I forgot to add the Polyline files to the VC2008 project, should be fixed now.
Thanks

P.S. Don't put huge long lines in a code tag, it stretches the tables like nobody's business. :P
What browser are you using? Firefox adds a scrollbar to the code box. Either way, I appologise  :)

Offline SupSuper

  • Lazy Developer
  • Administrator
  • Commander
  • *****
  • Posts: 2162
    • View Profile
Re: Unresolved external symbols
« Reply #3 on: July 27, 2010, 01:16:01 am »
P.S. Don't put huge long lines in a code tag, it stretches the tables like nobody's business. :P
What browser are you using? Firefox adds a scrollbar to the code box. Either way, I appologise  :)
I use Opera. Either way, horizontal scrolling is ugly. ;)