Page 1 of 1

r12015 undefined symbols (VC8)

Posted: Wed Mar 26, 2008 6:07 pm
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.)

Posted: Wed Mar 26, 2008 6:33 pm
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.

Posted: Wed Mar 26, 2008 7:04 pm
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.

Posted: Wed Mar 26, 2008 7:22 pm
by ace123
The VC8 project seems to have been updated. Try doing a SVN update in the vega-vc8 directory.

Posted: Sun Apr 06, 2008 7:03 am
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.)