Hi,
for a simulation project at my university in Salzburg I wanted to use your wiimod to get my wiimote as a sensor for moving a robot.
So i made some specific Flownodes to control the limbs of my robot. This works just fine without the wiimod.
So here is my problem, I can't build the project including the wiimod classes. (The tutorial files compile and link just fine with the same settings)
This is what the compiler cries about:
1>ScriptBind_WiiRemote.obj : error LNK2019: unresolved external symbol "class CWR_GlobalInstance * g_pWR" (?g_pWR@@3PAVCWR_GlobalInstance@@A) referenced in function "private: void __thiscall CScriptBind_WiiRemote::RegisterMethods(void)" (?RegisterMethods@CScriptBind_WiiRemote@@AAEXXZ)
1>ScriptBind_WiiNunchuk.obj : error LNK2001: unresolved external symbol "class CWR_GlobalInstance * g_pWR" (?g_pWR@@3PAVCWR_GlobalInstance@@A)
1>WRSensorNodes.obj : error LNK2001: unresolved external symbol "class CWR_GlobalInstance * g_pWR" (?g_pWR@@3PAVCWR_GlobalInstance@@A)
1>WRButtonNodes.obj : error LNK2001: unresolved external symbol "class CWR_GlobalInstance * g_pWR" (?g_pWR@@3PAVCWR_GlobalInstance@@A)
1>WRNunchukNodes.obj : error LNK2001: unresolved external symbol "class CWR_GlobalInstance * g_pWR" (?g_pWR@@3PAVCWR_GlobalInstance@@A)
1>CWiiModGame.obj : error LNK2001: unresolved external symbol "class CWR_GlobalInstance * g_pWR" (?g_pWR@@3PAVCWR_GlobalInstance@@A)
1>WRConnectionNodes.obj : error LNK2001: unresolved external symbol "class CWR_GlobalInstance * g_pWR" (?g_pWR@@3PAVCWR_GlobalInstance@@A)
1>WRGeneralNodes.obj : error LNK2001: unresolved external symbol "class CWR_GlobalInstance * g_pWR" (?g_pWR@@3PAVCWR_GlobalInstance@@A)
1>WRMotionNodes.obj : error LNK2001: unresolved external symbol "class CWR_GlobalInstance * g_pWR" (?g_pWR@@3PAVCWR_GlobalInstance@@A)
1>WRStatusNodes.obj : error LNK2001: unresolved external symbol "class CWR_GlobalInstance * g_pWR" (?g_pWR@@3PAVCWR_GlobalInstance@@A)
1>D:\ICTS Center\Crysis\Mods\CrysisMod\Code\..\Bin32/CrysisMod.dll : fatal error LNK1120: 1 unresolved externals
I do not know what to do here because I'm not used to C++ (more Java and stuff like that ;-) )
Thanks for your help