r12015 undefined symbols (VC8)

Trying to build your own version of Vega Strike and having problems? Unix users, paste your config.log here (stderr output alone is not helpful).
Post Reply
Tc27
Trader
Trader
Posts: 22
Joined: Thu Jan 31, 2008 7:06 pm

r12015 undefined symbols (VC8)

Post by Tc27 »

Sometime between r11993 and r12015, something happened to which VC8 objects. Linking fails citing two undefined symbols (decorated names removed for readability):

Code: Select all

main.obj : error LNK2019: unresolved external symbol "public: void __thiscall vs_options::init(void)" referenced in function _SDL_main

main_loop.obj : error LNK2019: unresolved external symbol "public: class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > __thiscall vs_options::getCallsign(int)" referenced in function "void __cdecl createObjects(class std::vector<class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> >,class std::allocator<class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > > > &,class std::vector<class StarSystem *,class std::allocator<class StarSystem *> > &,class std::vector<class QVector,class std::allocator<class QVector> > &,class std::vector<class std::vector<class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> >,class std::allocator<class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > > >,class std::allocator<class std::vector<class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> >,class std::allocator<class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > > > > > &)"
(vega-vc8, vegastrike and data4.x all synced to 12015.)
safemode
Developer
Developer
Posts: 2150
Joined: Mon Apr 23, 2007 1:17 am
Location: Pennsylvania
Contact:

Post by safemode »

the VC8 project file isn't including the building of options.cpp and linking it in


do that first, then report any errors.
Ed Sweetman endorses this message.
safemode
Developer
Developer
Posts: 2150
Joined: Mon Apr 23, 2007 1:17 am
Location: Pennsylvania
Contact:

Post by safemode »

just to be clear, the project file should eventually get updated in svn, i was suggesting you to add it in your own copy personally to see if there were any real errors, or if this was all that needed to be done.
Ed Sweetman endorses this message.
ace123
Lead Network Developer
Lead Network Developer
Posts: 2560
Joined: Sun Jan 12, 2003 9:13 am
Location: Palo Alto CA
Contact:

Post by ace123 »

The VC8 project seems to have been updated. Try doing a SVN update in the vega-vc8 directory.
Tc27
Trader
Trader
Posts: 22
Joined: Thu Jan 31, 2008 7:06 pm

Post by Tc27 »

Updated all to 12111 and it's happy, though I note the ffmpeg libs were only uploaded to the vc7 project.

(Also, for some reason VS is now ignoring my resolution setting of 1024x768, set via setup.exe after reverting vegastrike.config, and using some higher res instead.)
Post Reply