- Joined
- Jul 7, 2009
- Messages
- 286
- Reaction score
- 0
- Points
- 0
I've been trying to compile my add-on for Orbiter and am running into an issue with unresolved externals.
Log:
It looks like I may be missing a file for compiling my add-on. Does anyone have any idea what that might be? Or might it be something else entirely?
Log:
Code:
1>------ Build started: Project: VesselParametersMFD, Configuration: Release Win32 ------
1>Linking...
1> Creating library .\..\..\..\Modules/VesselParametersMFD.lib and object .\..\..\..\Modules/VesselParametersMFD.exp
1>VesselParametersMFD.obj : error LNK2001: unresolved external symbol "public: virtual char * __thiscall LaunchpadItem::Name(void)" (?Name@LaunchpadItem@@UAEPADXZ)
1>VesselParametersMFD.obj : error LNK2001: unresolved external symbol "public: virtual char * __thiscall LaunchpadItem::Description(void)" (?Description@LaunchpadItem@@UAEPADXZ)
1>VesselParametersMFD.obj : error LNK2001: unresolved external symbol "public: virtual bool __thiscall LaunchpadItem::OpenDialog(struct HINSTANCE__ *,struct HWND__ *,int,int (__stdcall*)(struct HWND__ *,unsigned int,unsigned int,long))" (?OpenDialog@LaunchpadItem@@UAE_NPAUHINSTANCE__@@PAUHWND__@@HP6GH1IIJ@Z@Z)
1>VesselParametersMFD.obj : error LNK2001: unresolved external symbol "public: virtual bool __thiscall LaunchpadItem::clbkOpen(struct HWND__ *)" (?clbkOpen@LaunchpadItem@@UAE_NPAUHWND__@@@Z)
1>VesselParametersMFD.obj : error LNK2001: unresolved external symbol "public: virtual int __thiscall LaunchpadItem::clbkWriteConfig(void)" (?clbkWriteConfig@LaunchpadItem@@UAEHXZ)
1>VesselParametersMFD.obj : error LNK2019: unresolved external symbol "public: virtual __thiscall LaunchpadItem::~LaunchpadItem(void)" (??1LaunchpadItem@@UAE@XZ) referenced in function "public: virtual void * __thiscall LaunchpadItem::`scalar deleting destructor'(unsigned int)" (??_GLaunchpadItem@@UAEPAXI@Z)
1>VesselParametersMFD.obj : error LNK2001: unresolved external symbol "public: virtual void __thiscall CameraMode_Cockpit::Store(char *)" (?Store@CameraMode_Cockpit@@UAEXPAD@Z)
1>VesselParametersMFD.obj : error LNK2001: unresolved external symbol "public: virtual void __thiscall CameraMode_Cockpit::GetDescr(char *,int)" (?GetDescr@CameraMode_Cockpit@@UAEXPADH@Z)
1>VesselParametersMFD.obj : error LNK2001: unresolved external symbol "public: virtual void __thiscall CameraMode_Track::Init(char *)" (?Init@CameraMode_Track@@UAEXPAD@Z)
1>VesselParametersMFD.obj : error LNK2001: unresolved external symbol "public: virtual void __thiscall CameraMode_Track::Store(char *)" (?Store@CameraMode_Track@@UAEXPAD@Z)
1>VesselParametersMFD.obj : error LNK2001: unresolved external symbol "public: virtual void __thiscall CameraMode_Track::GetDescr(char *,int)" (?GetDescr@CameraMode_Track@@UAEXPADH@Z)
1>VesselParametersMFD.obj : error LNK2001: unresolved external symbol "public: virtual void __thiscall CameraMode_Ground::Init(char *)" (?Init@CameraMode_Ground@@UAEXPAD@Z)
1>VesselParametersMFD.obj : error LNK2001: unresolved external symbol "public: virtual void __thiscall CameraMode_Ground::Store(char *)" (?Store@CameraMode_Ground@@UAEXPAD@Z)
1>VesselParametersMFD.obj : error LNK2001: unresolved external symbol "public: virtual void __thiscall CameraMode_Ground::GetDescr(char *,int)" (?GetDescr@CameraMode_Ground@@UAEXPADH@Z)
1>VesselParametersMFD.obj : error LNK2019: unresolved external symbol "void __cdecl dummy(void)" (?dummy@@YAXXZ) referenced in function "void __cdecl calldummy(void)" (?calldummy@@YAXXZ)
1>VesselParametersMFD.obj : error LNK2001: unresolved external symbol "public: virtual bool __thiscall CELBODY::bEphemeris(void)const " (?bEphemeris@CELBODY@@UBE_NXZ)
1>VesselParametersMFD.obj : error LNK2001: unresolved external symbol "public: virtual void __thiscall CELBODY::clbkInit(void *)" (?clbkInit@CELBODY@@UAEXPAX@Z)
1>VesselParametersMFD.obj : error LNK2001: unresolved external symbol "public: virtual int __thiscall CELBODY::clbkEphemeris(double,int,double *)" (?clbkEphemeris@CELBODY@@UAEHNHPAN@Z)
1>VesselParametersMFD.obj : error LNK2001: unresolved external symbol "public: virtual int __thiscall CELBODY::clbkFastEphemeris(double,int,double *)" (?clbkFastEphemeris@CELBODY@@UAEHNHPAN@Z)
1>VesselParametersMFD.obj : error LNK2001: unresolved external symbol "public: virtual bool __thiscall CELBODY::clbkAtmParam(double,struct ATMPARAM *)" (?clbkAtmParam@CELBODY@@UAE_NNPAUATMPARAM@@@Z)
1>VesselParametersMFD.obj : error LNK2001: unresolved external symbol "public: virtual void __thiscall VESSEL2::clbkSetClassCaps(void *)" (?clbkSetClassCaps@VESSEL2@@UAEXPAX@Z)
1>VesselParametersMFD.obj : error LNK2001: unresolved external symbol "public: virtual void __thiscall VESSEL2::clbkSaveState(void *)" (?clbkSaveState@VESSEL2@@UAEXPAX@Z)
1>VesselParametersMFD.obj : error LNK2001: unresolved external symbol "public: virtual void __thiscall VESSEL2::clbkLoadStateEx(void *,void *)" (?clbkLoadStateEx@VESSEL2@@UAEXPAX0@Z)
1>VesselParametersMFD.obj : error LNK2001: unresolved external symbol "public: virtual void __thiscall VESSEL2::clbkSetStateEx(void const *)" (?clbkSetStateEx@VESSEL2@@UAEXPBX@Z)
1>VesselParametersMFD.obj : error LNK2001: unresolved external symbol "public: virtual void __thiscall VESSEL2::clbkPostCreation(void)" (?clbkPostCreation@VESSEL2@@UAEXXZ)
1>VesselParametersMFD.obj : error LNK2001: unresolved external symbol "public: virtual void __thiscall VESSEL2::clbkFocusChanged(bool,void *,void *)" (?clbkFocusChanged@VESSEL2@@UAEX_NPAX1@Z)
1>VesselParametersMFD.obj : error LNK2001: unresolved external symbol "public: virtual void __thiscall VESSEL2::clbkPreStep(double,double,double)" (?clbkPreStep@VESSEL2@@UAEXNNN@Z)
1>VesselParametersMFD.obj : error LNK2001: unresolved external symbol "public: virtual void __thiscall VESSEL2::clbkPostStep(double,double,double)" (?clbkPostStep@VESSEL2@@UAEXNNN@Z)
1>VesselParametersMFD.obj : error LNK2001: unresolved external symbol "public: virtual bool __thiscall VESSEL2::clbkPlaybackEvent(double,double,char const *,char const *)" (?clbkPlaybackEvent@VESSEL2@@UAE_NNNPBD0@Z)
1>VesselParametersMFD.obj : error LNK2001: unresolved external symbol "public: virtual void __thiscall VESSEL2::clbkVisualCreated(void *,int)" (?clbkVisualCreated@VESSEL2@@UAEXPAXH@Z)
1>VesselParametersMFD.obj : error LNK2001: unresolved external symbol "public: virtual void __thiscall VESSEL2::clbkVisualDestroyed(void *,int)" (?clbkVisualDestroyed@VESSEL2@@UAEXPAXH@Z)
1>VesselParametersMFD.obj : error LNK2001: unresolved external symbol "public: virtual void __thiscall VESSEL2::clbkDrawHUD(int,struct HUDPAINTSPEC const *,struct HDC__ *)" (?clbkDrawHUD@VESSEL2@@UAEXHPBUHUDPAINTSPEC@@PAUHDC__@@@Z)
1>VesselParametersMFD.obj : error LNK2001: unresolved external symbol "public: virtual void __thiscall VESSEL2::clbkRCSMode(int)" (?clbkRCSMode@VESSEL2@@UAEXH@Z)
1>VesselParametersMFD.obj : error LNK2001: unresolved external symbol "public: virtual void __thiscall VESSEL2::clbkADCtrlMode(unsigned long)" (?clbkADCtrlMode@VESSEL2@@UAEXK@Z)
1>VesselParametersMFD.obj : error LNK2001: unresolved external symbol "public: virtual void __thiscall VESSEL2::clbkHUDMode(int)" (?clbkHUDMode@VESSEL2@@UAEXH@Z)
1>VesselParametersMFD.obj : error LNK2001: unresolved external symbol "public: virtual void __thiscall VESSEL2::clbkMFDMode(int,int)" (?clbkMFDMode@VESSEL2@@UAEXHH@Z)
1>VesselParametersMFD.obj : error LNK2001: unresolved external symbol "public: virtual void __thiscall VESSEL2::clbkNavMode(int,bool)" (?clbkNavMode@VESSEL2@@UAEXH_N@Z)
1>VesselParametersMFD.obj : error LNK2001: unresolved external symbol "public: virtual void __thiscall VESSEL2::clbkDockEvent(int,void *)" (?clbkDockEvent@VESSEL2@@UAEXHPAX@Z)
1>VesselParametersMFD.obj : error LNK2001: unresolved external symbol "public: virtual void __thiscall VESSEL2::clbkAnimate(double)" (?clbkAnimate@VESSEL2@@UAEXN@Z)
1>VesselParametersMFD.obj : error LNK2001: unresolved external symbol "public: virtual int __thiscall VESSEL2::clbkConsumeDirectKey(char *)" (?clbkConsumeDirectKey@VESSEL2@@UAEHPAD@Z)
1>VesselParametersMFD.obj : error LNK2001: unresolved external symbol "public: virtual int __thiscall VESSEL2::clbkConsumeBufferedKey(unsigned long,bool,char *)" (?clbkConsumeBufferedKey@VESSEL2@@UAEHK_NPAD@Z)
1>VesselParametersMFD.obj : error LNK2001: unresolved external symbol "public: virtual bool __thiscall VESSEL2::clbkLoadGenericCockpit(void)" (?clbkLoadGenericCockpit@VESSEL2@@UAE_NXZ)
1>VesselParametersMFD.obj : error LNK2001: unresolved external symbol "public: virtual bool __thiscall VESSEL2::clbkLoadPanel(int)" (?clbkLoadPanel@VESSEL2@@UAE_NH@Z)
1>VesselParametersMFD.obj : error LNK2001: unresolved external symbol "public: virtual bool __thiscall VESSEL2::clbkPanelMouseEvent(int,int,int,int)" (?clbkPanelMouseEvent@VESSEL2@@UAE_NHHHH@Z)
1>VesselParametersMFD.obj : error LNK2001: unresolved external symbol "public: virtual bool __thiscall VESSEL2::clbkPanelRedrawEvent(int,int,void *)" (?clbkPanelRedrawEvent@VESSEL2@@UAE_NHHPAX@Z)
1>VesselParametersMFD.obj : error LNK2001: unresolved external symbol "public: virtual bool __thiscall VESSEL2::clbkLoadVC(int)" (?clbkLoadVC@VESSEL2@@UAE_NH@Z)
1>VesselParametersMFD.obj : error LNK2001: unresolved external symbol "public: virtual bool __thiscall VESSEL2::clbkVCMouseEvent(int,int,union VECTOR3 &)" (?clbkVCMouseEvent@VESSEL2@@UAE_NHHAATVECTOR3@@@Z)
1>VesselParametersMFD.obj : error LNK2001: unresolved external symbol "public: virtual bool __thiscall VESSEL2::clbkVCRedrawEvent(int,int,void *)" (?clbkVCRedrawEvent@VESSEL2@@UAE_NHHPAX@Z)
1>VesselParametersMFD.obj : error LNK2019: unresolved external symbol "public: virtual __thiscall MFD::~MFD(void)" (??1MFD@@UAE@XZ) referenced in function "public: virtual void * __thiscall MFD::`scalar deleting destructor'(unsigned int)" (??_GMFD@@UAEPAXI@Z)
1>VesselParametersMFD.obj : error LNK2019: unresolved external symbol "public: virtual __thiscall GraphMFD::~GraphMFD(void)" (??1GraphMFD@@UAE@XZ) referenced in function "public: virtual void * __thiscall GraphMFD::`scalar deleting destructor'(unsigned int)" (??_GGraphMFD@@UAEPAXI@Z)
1>VesselParametersMFD.obj : error LNK2001: unresolved external symbol "public: virtual void __thiscall ExternMFD::SetVessel(void *)" (?SetVessel@ExternMFD@@UAEXPAX@Z)
1>VesselParametersMFD.obj : error LNK2001: unresolved external symbol "public: virtual void __thiscall ExternMFD::clbkUpdate(void)" (?clbkUpdate@ExternMFD@@UAEXXZ)
1>VesselParametersMFD.obj : error LNK2001: unresolved external symbol "public: virtual void __thiscall ExternMFD::clbkRefreshDisplay(void *)" (?clbkRefreshDisplay@ExternMFD@@UAEXPAX@Z)
1>VesselParametersMFD.obj : error LNK2001: unresolved external symbol "public: virtual void __thiscall ExternMFD::clbkRefreshButtons(void)" (?clbkRefreshButtons@ExternMFD@@UAEXXZ)
1>VesselParametersMFD.obj : error LNK2001: unresolved external symbol "public: virtual void __thiscall ExternMFD::clbkFocusChanged(void *)" (?clbkFocusChanged@ExternMFD@@UAEXPAX@Z)
1>VesselParametersMFD.obj : error LNK2019: unresolved external symbol "public: virtual __thiscall ExternMFD::~ExternMFD(void)" (??1ExternMFD@@UAE@XZ) referenced in function "public: virtual void * __thiscall ExternMFD::`scalar deleting destructor'(unsigned int)" (??_GExternMFD@@UAEPAXI@Z)
1>VesselParametersMFD.obj : error LNK2019: unresolved external symbol "public: double __thiscall VESSEL::GetPropellantMaxMass(void *)const " (?GetPropellantMaxMass@VESSEL@@QBENPAX@Z) referenced in function "private: double __thiscall VesselParametersMfd::GetWetMass(void)" (?GetWetMass@VesselParametersMfd@@AAENXZ)
1>VesselParametersMFD.obj : error LNK2019: unresolved external symbol "public: void * __thiscall VESSEL::GetPropellantHandleByIndex(unsigned long)const " (?GetPropellantHandleByIndex@VESSEL@@QBEPAXK@Z) referenced in function "private: double __thiscall VesselParametersMfd::GetWetMass(void)" (?GetWetMass@VesselParametersMfd@@AAENXZ)
1>VesselParametersMFD.obj : error LNK2019: unresolved external symbol "public: unsigned long __thiscall VESSEL::GetPropellantCount(void)const " (?GetPropellantCount@VESSEL@@QBEKXZ) referenced in function "private: double __thiscall VesselParametersMfd::GetWetMass(void)" (?GetWetMass@VesselParametersMfd@@AAENXZ)
1>VesselParametersMFD.obj : error LNK2019: unresolved external symbol "__declspec(dllimport) void __cdecl oapiWriteScenario_string(void *,char *,char *)" (__imp_?oapiWriteScenario_string@@YAXPAXPAD1@Z) referenced in function "public: virtual void __thiscall VesselParametersMfd::WriteStatus(void *)const " (?WriteStatus@VesselParametersMfd@@UBEXPAX@Z)
1>VesselParametersMFD.obj : error LNK2019: unresolved external symbol "__declspec(dllimport) bool __cdecl oapiReadScenario_nextline(void *,char * &)" (__imp_?oapiReadScenario_nextline@@YA_NPAXAAPAD@Z) referenced in function "public: virtual void __thiscall VesselParametersMfd::ReadStatus(void *)" (?ReadStatus@VesselParametersMfd@@UAEXPAX@Z)
1>VesselParametersMFD.obj : error LNK2019: unresolved external symbol "public: double __thiscall VESSEL::GetMass(void)const " (?GetMass@VESSEL@@QBENXZ) referenced in function "public: virtual void __thiscall VesselParametersMfd::Update(struct HDC__ *)" (?Update@VesselParametersMfd@@UAEXPAUHDC__@@@Z)
1>VesselParametersMFD.obj : error LNK2019: unresolved external symbol "public: double __thiscall VESSEL::GetEmptyMass(void)const " (?GetEmptyMass@VESSEL@@QBENXZ) referenced in function "public: virtual void __thiscall VesselParametersMfd::Update(struct HDC__ *)" (?Update@VesselParametersMfd@@UAEXPAUHDC__@@@Z)
1>VesselParametersMFD.obj : error LNK2019: unresolved external symbol "struct tagPOINT __cdecl TextXY(struct HDC__ * const,int,int,char const *,...)" (?TextXY@@YA?AUtagPOINT@@QAUHDC__@@HHPBDZZ) referenced in function "public: virtual void __thiscall VesselParametersMfd::Update(struct HDC__ *)" (?Update@VesselParametersMfd@@UAEXPAUHDC__@@@Z)
1>VesselParametersMFD.obj : error LNK2019: unresolved external symbol "public: char * __thiscall VESSEL::GetClassNameA(void)const " (?GetClassNameA@VESSEL@@QBEPADXZ) referenced in function "public: virtual void __thiscall VesselParametersMfd::Update(struct HDC__ *)" (?Update@VesselParametersMfd@@UAEXPAUHDC__@@@Z)
1>VesselParametersMFD.obj : error LNK2019: unresolved external symbol "public: char * __thiscall VESSEL::GetName(void)const " (?GetName@VESSEL@@QBEPADXZ) referenced in function "public: virtual void __thiscall VesselParametersMfd::Update(struct HDC__ *)" (?Update@VesselParametersMfd@@UAEXPAUHDC__@@@Z)
1>VesselParametersMFD.obj : error LNK2019: unresolved external symbol "unsigned long __cdecl SetMFDColor(struct HDC__ * const,unsigned long)" (?SetMFDColor@@YAKQAUHDC__@@K@Z) referenced in function "public: virtual void __thiscall VesselParametersMfd::Update(struct HDC__ *)" (?Update@VesselParametersMfd@@UAEXPAUHDC__@@@Z)
1>VesselParametersMFD.obj : error LNK2019: unresolved external symbol "public: void __thiscall MFD::Title(struct HDC__ *,char const *)const " (?Title@MFD@@QBEXPAUHDC__@@PBD@Z) referenced in function "public: virtual void __thiscall VesselParametersMfd::Update(struct HDC__ *)" (?Update@VesselParametersMfd@@UAEXPAUHDC__@@@Z)
1>VesselParametersMFD.obj : error LNK2019: unresolved external symbol "void __cdecl MFDUpdate(struct HDC__ * const,int,int)" (?MFDUpdate@@YAXQAUHDC__@@HH@Z) referenced in function "public: virtual void __thiscall VesselParametersMfd::Update(struct HDC__ *)" (?Update@VesselParametersMfd@@UAEXPAUHDC__@@@Z)
1>VesselParametersMFD.obj : error LNK2019: unresolved external symbol "__declspec(dllimport) bool __cdecl oapiUnregisterMFDMode(int)" (__imp_?oapiUnregisterMFDMode@@YA_NH@Z) referenced in function "public: __thiscall VesselParametersMfdManager::~VesselParametersMfdManager(void)" (??1VesselParametersMfdManager@@QAE@XZ)
1>VesselParametersMFD.obj : error LNK2019: unresolved external symbol "public: __thiscall MFD::MFD(unsigned long,unsigned long,class VESSEL *)" (??0MFD@@QAE@KKPAVVESSEL@@@Z) referenced in function "public: __thiscall VesselParametersMfd::VesselParametersMfd(unsigned int,unsigned long,unsigned long,class VESSEL *)" (??0VesselParametersMfd@@QAE@IKKPAVVESSEL@@@Z)
1>VesselParametersMFD.obj : error LNK2019: unresolved external symbol "__declspec(dllimport) int __cdecl oapiRegisterMFDMode(struct MFDMODESPEC &)" (__imp_?oapiRegisterMFDMode@@YAHAAUMFDMODESPEC@@@Z) referenced in function "public: __thiscall VesselParametersMfdManager::VesselParametersMfdManager(struct HINSTANCE__ *)" (??0VesselParametersMfdManager@@QAE@PAUHINSTANCE__@@@Z)
1>.\..\..\..\Modules/VesselParametersMFD.dll : fatal error LNK1120: 72 unresolved externals
1>Build log was saved at "file://c:\Documents and Settings\Blake\Desktop\Downloads\Orbiter\Orbiter 060929\OrbiterSdk\Samples\ShuttlePB\Release\BuildLog.htm"
1>VesselParametersMFD - 73 error(s), 0 warning(s)
========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped ==========
It looks like I may be missing a file for compiling my add-on. Does anyone have any idea what that might be? Or might it be something else entirely?