By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
424,952 Members | 1,616 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 424,952 IT Pros & Developers. It's quick & easy.

unresolved token and unresolved external symbol

P: 1
Hi
I have problem with one of my project in Visual C++ Forms aplications. I included the wiimote.h header and added path to WinDDK but when i try bulid project i've got this errors

1>WII.obj : error LNK2028: unresolved token (0A0000CB) "public: bool __thiscall wiimote::DisableMotionPlus(void)" (?DisableMotionPlus@wiimote@@$$FQAE_NXZ) referenced in function "void __cdecl on_state_change(class wiimote &,enum state_change_flags,struct wiimote_state const &)" (?on_state_change@@$$FYAXAAVwiimote@@W4state_chang e_flags@@ABUwiimote_state@@@Z)
1>WII.obj : error LNK2028: unresolved token (0A0000CC) "public: bool __thiscall wiimote::EnableMotionPlus(void)" (?EnableMotionPlus@wiimote@@$$FQAE_NXZ) referenced in function "void __cdecl on_state_change(class wiimote &,enum state_change_flags,struct wiimote_state const &)" (?on_state_change@@$$FYAXAAVwiimote@@W4state_chang e_flags@@ABUwiimote_state@@@Z)
1>WII.obj : error LNK2028: unresolved token (0A0000CD) "public: void __thiscall wiimote::SetReportType(enum wiimote::input_report,bool)" (?SetReportType@wiimote@@$$FQAEXW4input_report@1@_ N@Z) referenced in function "void __cdecl on_state_change(class wiimote &,enum state_change_flags,struct wiimote_state const &)" (?on_state_change@@$$FYAXAAVwiimote@@W4state_chang e_flags@@ABUwiimote_state@@@Z)
1>WII.obj : error LNK2019: unresolved external symbol "public: bool __thiscall wiimote::DisableMotionPlus(void)" (?DisableMotionPlus@wiimote@@$$FQAE_NXZ) referenced in function "void __cdecl on_state_change(class wiimote &,enum state_change_flags,struct wiimote_state const &)" (?on_state_change@@$$FYAXAAVwiimote@@W4state_chang e_flags@@ABUwiimote_state@@@Z)
1>WII.obj : error LNK2019: unresolved external symbol "public: bool __thiscall wiimote::EnableMotionPlus(void)" (?EnableMotionPlus@wiimote@@$$FQAE_NXZ) referenced in function "void __cdecl on_state_change(class wiimote &,enum state_change_flags,struct wiimote_state const &)" (?on_state_change@@$$FYAXAAVwiimote@@W4state_chang e_flags@@ABUwiimote_state@@@Z)
1>WII.obj : error LNK2019: unresolved external symbol "public: void __thiscall wiimote::SetReportType(enum wiimote::input_report,bool)" (?SetReportType@wiimote@@$$FQAEXW4input_report@1@_ N@Z) referenced in function "void __cdecl on_state_change(class wiimote &,enum state_change_flags,struct wiimote_state const &)" (?on_state_change@@$$FYAXAAVwiimote@@W4state_chang e_flags@@ABUwiimote_state@@@Z)
1>D:\Documents\Visual Studio 2010\Projects\WII\Debug\WII.exe : fatal error LNK1120: 6 unresolved externals

can anybody tell me what can it be?
Anyway this program work as console aplication - i try move console aplication to windows form.
Apr 11 '12 #1
Share this question for a faster answer!
Share on Google+

Post your reply

Sign in to post your reply or Sign up for a free account.