Problem Init Panel/Redraw..MFD Linker/identifier problem

tauruslittrow84

New member
Joined
Nov 12, 2011
Messages
58
Reaction score
0
Points
0
Ok, in trying to assemble the VCockpit code for my vessel, I continue to get these three LNK: errors......if these are global and need not be put in the .h file, i've tried removing them and then I get that the three calls that are unfound identifiers. Do I need to link certain files from other projects under properties/dependencies/general/linker/input, etc. or what? Stole this code from the Shuttle A.cpp and .h and its the only thing giving me trouble (so FAR) on my Virtual Cockpit. Any ideas?
Code:
1>Linking...
1>   Creating library C:\Users\crice\My Documents\orbiter\modules\chippersat.lib and object C:\Users\crice\My Documents\orbiter\modules\chippersat.exp
1>chippersat.obj : error LNK2019: unresolved external symbol "public: void __thiscall chippersat::InitPanel(int)" (?InitPanel@chippersat@@QAEXH@Z) referenced in function "public: virtual bool __thiscall chippersat::clbkLoadVC(int)" (?clbkLoadVC@chippersat@@UAE_NH@Z)
1>chippersat.obj : error LNK2019: unresolved external symbol "public: void __thiscall chippersat::ReleaseSurfaces(void)" (?ReleaseSurfaces@chippersat@@QAEXXZ) referenced in function "public: virtual bool __thiscall chippersat::clbkLoadVC(int)" (?clbkLoadVC@chippersat@@UAE_NH@Z)
1>chippersat.obj : error LNK2019: unresolved external symbol "public: void __thiscall chippersat::RedrawPanel_MFDButton(void *,int,int)" (?RedrawPanel_MFDButton@chippersat@@QAEXPAXHH@Z) referenced in function "public: virtual bool __thiscall chippersat::clbkVCRedrawEvent(int,int,void *)" (?clbkVCRedrawEvent@chippersat@@UAE_NHHPAX@Z)
1>C:\Users\crice\My Documents\orbiter\modules\chippersat.dll : fatal error LNK1120: 3 unresolved externals
1>Build log was saved at "file://c:\Users\crice\Documents\Visual Studio 2008\Projects\chippersat\chippersat\Debug\BuildLog.htm"
1>chippersat - 4 error(s)
I removed declarations from header file and I get 3 new errors about the same thing:
Code:
1>c:\users\crice\documents\visual studio 2008\projects\chippersat\chippersat\chippersat.cpp(586) : error C3861: 'ReleaseSurfaces': identifier not found
1>c:\users\crice\documents\visual studio 2008\projects\chippersat\chippersat\chippersat.cpp(646) : error C3861: 'InitPanel': identifier not found
1>c:\users\crice\documents\visual studio 2008\projects\chippersat\chippersat\chippersat.cpp(696) : error C3861: 'RedrawPanel_MFDButton': identifier not found
1>c:\users\crice\documents\visual studio 2008\projects\chippersat\chippersat\chippersat.cpp(699) : error C3861: 'RedrawPanel_MFDButton': identifier not found
1>c:\users\crice\documents\visual studio 2008\projects\chippersat\chippersat\chippersat.cpp(702) : error C3861: 'RedrawPanel_MFDButton': identifier not found
1>c:\users\crice\documents\visual studio 2008\projects\chippersat\chippersat\chippersat.cpp(705) : error C3861: 'RedrawPanel_MFDButton': identifier not found
:hmm:
 
Top