Welcome to RenEvo Sign in | Join | Help
in
Home Wiisis Blogs Forums Photos Downloads About

Linker Error on rebuild wiimod 1.2 in CryMod 1.2

Last post 08-05-2008, 3:43 PM by vloktboky. 1 replies.
Sort Posts: Previous Next
  •  08-03-2008, 10:47 AM 1977

    Linker Error on rebuild wiimod 1.2 in CryMod 1.2

    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 

  •  08-05-2008, 3:43 PM 1978 in reply to 1977

    Re: Linker Error on rebuild wiimod 1.2 in CryMod 1.2

    An unresolved external symbol linker error means the linker cannot find the definition for a referenced object, in this case the CWR_GlobalInstance class. Check to make sure the file "WR_Implementation.cpp" is included in your solution and is being compiled.
View as RSS news feed in XML
Powered by Community Server, by Telligent Systems