Page 1 of 1

svn 13314/windows/VS 2008pro: FlyByKeyboard unresolved ext

Posted: Fri Feb 03, 2012 12:21 pm
by shenle
Latest svn as of 2/3/12 (13314), compiled with the same setup that worked before. I get this linking error:

Code: Select all

1>flyjoystick.obj : error LNK2001: unresolved external symbol "public: virtual __thiscall FlyByKeyboard::~FlyByKeyboard(void)" (??1FlyByKeyboard@@UAE@XZ)
1>flykeyboard.obj : error LNK2001: unresolved external symbol "public: virtual __thiscall FlyByKeyboard::~FlyByKeyboard(void)" (??1FlyByKeyboard@@UAE@XZ)
1>flyjoystick.obj : error LNK2001: unresolved external symbol "public: virtual void __thiscall FlyByKeyboard::Destroy(void)" (?Destroy@FlyByKeyboard@@UAEXXZ)
1>flykeyboard.obj : error LNK2001: unresolved external symbol "public: virtual void __thiscall FlyByKeyboard::Destroy(void)" (?Destroy@FlyByKeyboard@@UAEXXZ)
1>flykeyboard.obj : error LNK2001: unresolved external symbol "protected: void __thiscall FlyByKeyboard::KeyboardRollRight(float)" (?KeyboardRollRight@FlyByKeyboard@@IAEXM@Z)
1>flykeyboard.obj : error LNK2001: unresolved external symbol "protected: void __thiscall FlyByKeyboard::KeyboardRight(float)" (?KeyboardRight@FlyByKeyboard@@IAEXM@Z)
1>flykeyboard.obj : error LNK2001: unresolved external symbol "protected: void __thiscall FlyByKeyboard::KeyboardUp(float)" (?KeyboardUp@FlyByKeyboard@@IAEXM@Z)
1>flykeyboard.obj : error LNK2001: unresolved external symbol "public: virtual void __thiscall FlyByKeyboard::Execute(void)" (?Execute@FlyByKeyboard@@UAEXXZ)
1>C:\dls\vegastrike\svn\vega-vc9\Release\Vegastrike.exe : fatal error LNK1120: 6 unresolved externals

Re: svn 13314/windows/VS 2008pro: FlyByKeyboard unresolved

Posted: Fri Feb 03, 2012 4:51 pm
by klauss
There's a new file, flykeyboard_server.cpp, that you have to add to the project's vegaserver target, and flykeyboard_generic.cpp, which you have to add to both server and client.

Re: svn 13314/windows/VS 2008pro: FlyByKeyboard unresolved

Posted: Sun Mar 04, 2012 7:04 am
by pheonixstorm
Add server to which though? VS client or VS Server or both? If server, well... you can't w/o some error popping up. generic does however work with the client.. can't remember if I added it to the server project as well before I compiled.. think I tried it both ways with the same result. Either way, I'll check back on the solution files and try to get an updated files up on svn asap.

Re: svn 13314/windows/VS 2008pro: FlyByKeyboard unresolved

Posted: Sun Mar 04, 2012 10:16 pm
by klauss
server to the server binary only, generic goes for both, and the unprefixed usually goes only to the client.