jangofett287
Heat shield 'tester'
- Joined
- Oct 14, 2010
- Messages
- 1,150
- Reaction score
- 13
- Points
- 53
:hmm:, being able to get rid of any force we like, :hmm:.
Do MFDs have to be compiled using the visual c++ 2008 libraries or can I use the 2010 version?
---------- Post added at 05:00 PM ---------- Previous post was at 04:01 PM ----------
OK, that went badly.
I present my Build log:
Any Ideas? The code doesn't do anything yet. All I've done is copy the MFD template and go through the header and source changing all occurences of MFDTemplate to GodMFD. If I can get over this and starts coding I'll start a proper dev thread.
Do MFDs have to be compiled using the visual c++ 2008 libraries or can I use the 2010 version?
---------- Post added at 05:00 PM ---------- Previous post was at 04:01 PM ----------
OK, that went badly.
I present my Build log:
Code:
1>------ Build started: Project: GodMFD, Configuration: Debug Win32 ------
1> Creating library C:\Users\Thomas Casson\Documents\Visual Studio 2010\Projects\GodMFD\Debug\GodMFD.lib and object C:\Users\Thomas Casson\Documents\Visual Studio 2010\Projects\GodMFD\Debug\GodMFD.exp
1>GodMFD.obj : error LNK2019: unresolved external symbol "void __cdecl dummy(void)" (?dummy@@YAXXZ) referenced in function "void __cdecl calldummy(void)" (?calldummy@@YAXXZ)
1>GodMFD.obj : error LNK2019: unresolved external symbol "__declspec(dllimport) int __cdecl oapiRegisterMFDMode(struct MFDMODESPECEX &)" (__imp_?oapiRegisterMFDMode@@YAHAAUMFDMODESPECEX@@@Z) referenced in function _InitModule
1>GodMFD.obj : error LNK2019: unresolved external symbol "__declspec(dllimport) bool __cdecl oapiUnregisterMFDMode(int)" (__imp_?oapiUnregisterMFDMode@@YA_NH@Z) referenced in function _ExitModule
1>GodMFD.obj : error LNK2019: unresolved external symbol "__declspec(dllimport) public: virtual __thiscall MFD2::~MFD2(void)" (__imp_??1MFD2@@UAE@XZ) referenced in function __unwindfunclet$??0GodMFD@@QAE@KKPAVVESSEL@@@Z$0
1>GodMFD.obj : error LNK2019: unresolved external symbol "__declspec(dllimport) class oapi::Font * __cdecl oapiCreateFont(int,bool,char const *,enum FontStyle,int)" (__imp_?oapiCreateFont@@YAPAVFont@oapi@@H_NPBDW4FontStyle@@H@Z) referenced in function "public: __thiscall GodMFD::GodMFD(unsigned long,unsigned long,class VESSEL *)" (??0GodMFD@@QAE@KKPAVVESSEL@@@Z)
1>GodMFD.obj : error LNK2019: unresolved external symbol "__declspec(dllimport) public: __thiscall MFD2::MFD2(unsigned long,unsigned long,class VESSEL *)" (__imp_??0MFD2@@QAE@KKPAVVESSEL@@@Z) referenced in function "public: __thiscall GodMFD::GodMFD(unsigned long,unsigned long,class VESSEL *)" (??0GodMFD@@QAE@KKPAVVESSEL@@@Z)
1>GodMFD.obj : error LNK2001: unresolved external symbol "public: virtual void __thiscall MFD2::Update(struct HDC__ *)" (?Update@MFD2@@UAEXPAUHDC__@@@Z)
1>GodMFD.obj : error LNK2001: unresolved external symbol "public: virtual bool __thiscall MFD::ConsumeKeyBuffered(unsigned long)" (?ConsumeKeyBuffered@MFD@@UAE_NK@Z)
1>GodMFD.obj : error LNK2001: unresolved external symbol "public: virtual bool __thiscall MFD::ConsumeKeyImmediate(char *)" (?ConsumeKeyImmediate@MFD@@UAE_NPAD@Z)
1>GodMFD.obj : error LNK2001: unresolved external symbol "public: virtual bool __thiscall MFD::ConsumeButton(int,int)" (?ConsumeButton@MFD@@UAE_NHH@Z)
1>GodMFD.obj : error LNK2001: unresolved external symbol "public: virtual void __thiscall MFD::WriteStatus(void *)const " (?WriteStatus@MFD@@UBEXPAX@Z)
1>GodMFD.obj : error LNK2001: unresolved external symbol "public: virtual void __thiscall MFD::ReadStatus(void *)" (?ReadStatus@MFD@@UAEXPAX@Z)
1>GodMFD.obj : error LNK2001: unresolved external symbol "public: virtual void __thiscall MFD::StoreStatus(void)const " (?StoreStatus@MFD@@UBEXXZ)
1>GodMFD.obj : error LNK2001: unresolved external symbol "public: virtual void __thiscall MFD::RecallStatus(void)" (?RecallStatus@MFD@@UAEXXZ)
1>GodMFD.obj : error LNK2019: unresolved external symbol "__declspec(dllimport) void __cdecl oapiReleaseFont(class oapi::Font *)" (__imp_?oapiReleaseFont@@YAXPAVFont@oapi@@@Z) referenced in function "public: virtual __thiscall GodMFD::~GodMFD(void)" (??1GodMFD@@UAE@XZ)
1>GodMFD.obj : error LNK2019: unresolved external symbol "__declspec(dllimport) public: void __thiscall MFD2::Title(class oapi::Sketchpad *,char const *)const " (__imp_?Title@MFD2@@QBEXPAVSketchpad@oapi@@PBD@Z) referenced in function "public: virtual bool __thiscall GodMFD::Update(class oapi::Sketchpad *)" (?Update@GodMFD@@UAE_NPAVSketchpad@oapi@@@Z)
1>C:\Users\Thomas Casson\Documents\Visual Studio 2010\Projects\GodMFD\Debug\GodMFD.dll : fatal error LNK1120: 16 unresolved externals
========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped ==========
Any Ideas? The code doesn't do anything yet. All I've done is copy the MFD template and go through the header and source changing all occurences of MFDTemplate to GodMFD. If I can get over this and starts coding I'll start a proper dev thread.