Menu

#116 Unresolved External Symbols VS2010/2013

None
closed
nobody
None
6
2017-02-28
2016-08-26
No

Hi,

In VS2013 as a static library it compiles fine, but I get the same errors as below when using it with my project (even when said project has 0 code). In VS2010 I can't compile JSBSim at all, including default as exe.

Error 35 error LNK2019: unresolved external symbol "public: class SGPropertyNode * thiscall simgear::PropertyObjectBase::node(bool)const " (?node@PropertyObjectBase@simgear@@QBEPAVSGPropertyNode@@_N@Z) referenced in function "public: bool thiscall simgear::PropertyObject<bool>::operator=(bool const &)" (??4?$PropertyObject@_N@simgear@@QAE_NAB_N@Z) F:\Development\195\New folder\JSBSim\JSBSim\FGPropulsion.obj
Error 31 error LNK2019: unresolved external symbol "public: class SGPropertyNode * thiscall simgear::PropertyObjectBase::getOrThrow(void)const " (?getOrThrow@PropertyObjectBase@simgear@@QBEPAVSGPropertyNode@@XZ) referenced in function "public: thiscall simgear::PropertyObject<double>::operator double(void)const " (??B?$PropertyObject@N@simgear@@QBENXZ) F:\Development\195\New folder\JSBSim\JSBSim\FGWaypoint.obj
Error 29 error LNK2019: unresolved external symbol "public: thiscall simgear::PropertyObjectBase::PropertyObjectBase(void)" (??0PropertyObjectBase@simgear@@QAE@XZ) referenced in function "public: thiscall simgear::PropertyObject<double>::PropertyObject<double>(void)" (??0?$PropertyObject@N@simgear@@QAE@XZ) F:\Development\195\New folder\JSBSim\JSBSim\FGWaypoint.obj
Error 33 error LNK2019: unresolved external symbol "public: thiscall simgear::PropertyObjectBase::PropertyObjectBase(class SGPropertyNode ,char const )" (??0PropertyObjectBase@simgear@@QAE@PAVSGPropertyNode@@PBD@Z) referenced in function "public: thiscall simgear::PropertyObject<double>::PropertyObject<double>(class SGPropertyNode ,char const )" (??0?$PropertyObject@N@simgear@@QAE@PAVSGPropertyNode@@PBD@Z) F:\Development\195\New folder\JSBSim\JSBSim\FGWaypoint.obj
Error 32 error LNK2001: unresolved external symbol "public: class SGPropertyNode * thiscall simgear::PropertyObjectBase::getOrThrow(void)const " (?getOrThrow@PropertyObjectBase@simgear@@QBEPAVSGPropertyNode@@XZ) F:\Development\195\New folder\JSBSim\JSBSim\FGPropulsion.obj
Error 30 error LNK2001: unresolved external symbol "public:
thiscall simgear::PropertyObjectBase::PropertyObjectBase(void)" (??0PropertyObjectBase@simgear@@QAE@XZ) F:\Development\195\New folder\JSBSim\JSBSim\FGPropulsion.obj
Error 34 error LNK2001: unresolved external symbol "public: __thiscall simgear::PropertyObjectBase::PropertyObjectBase(class SGPropertyNode ,char const )" (??0PropertyObjectBase@simgear@@QAE@PAVSGPropertyNode@@PBD@Z) F:\Development\195\New folder\JSBSim\JSBSim\FGPropulsion.obj
Error 36 error LNK1120: 4 unresolved externals F:\Development\195\New folder\JSBSim\JSBSim\Debug\JSBSim.exe

Discussion

  • Anonymous

    Anonymous - 2016-08-26

    Resolved

     
  • Bertrand Coconnier

    • status: open --> closed
    • Group: -->
     

Log in to post a comment.