Plugin Compile Link Errors
by Stephen Cook · in Technical Issues · 12/27/2002 (12:15 am) · 2 replies
I have been struggling with one of Torque's plugins.
Max2map export plugin.
I get 5 errors when I try to compile using version 4.0 SDK that came with Torque.
I get external link refrence errors.
Here is what I see when I try to compile:
Creating library ../tools/out.VC6.RELEASE/max2mapExporter.lib and object ../tools/out.VC6.RELEASE/max2mapExporter.exp
main.obj : error LNK2001: unresolved external symbol "public: virtual void __thiscall ClassDesc::AddInterface(class FPInterface *)" (?AddInterface@ClassDesc@@UAEXPAVFPInterface@@@Z)
main.obj : error LNK2001: unresolved external symbol "public: virtual class FPInterface * __thiscall ClassDesc::GetInterface(class Interface_ID)" (?GetInterface@ClassDesc@@UAEPAVFPInterface@@VInterface_ID@@@Z)
main.obj : error LNK2001: unresolved external symbol "public: virtual class FPInterface * __thiscall ClassDesc::GetInterface(char *)" (?GetInterface@ClassDesc@@UAEPAVFPInterface@@PAD@Z)
main.obj : error LNK2001: unresolved external symbol "public: virtual char * __thiscall ClassDesc::GetRsrcString(long)" (?GetRsrcString@ClassDesc@@UAEPADJ@Z)
../tools/max2mapExporter.dle : fatal error LNK1120: 4 unresolved externals
Error executing link.exe.
I had thought I had set everything according to what I read on a couple of posts and even changed the general tab's lower box so it lists maxsdk40 instead of maxsdk31.
Can one of you brilliant guys help me figure out what I may have missed.
Thanks for time and effort.
Stephen Cook
Max2map export plugin.
I get 5 errors when I try to compile using version 4.0 SDK that came with Torque.
I get external link refrence errors.
Here is what I see when I try to compile:
Creating library ../tools/out.VC6.RELEASE/max2mapExporter.lib and object ../tools/out.VC6.RELEASE/max2mapExporter.exp
main.obj : error LNK2001: unresolved external symbol "public: virtual void __thiscall ClassDesc::AddInterface(class FPInterface *)" (?AddInterface@ClassDesc@@UAEXPAVFPInterface@@@Z)
main.obj : error LNK2001: unresolved external symbol "public: virtual class FPInterface * __thiscall ClassDesc::GetInterface(class Interface_ID)" (?GetInterface@ClassDesc@@UAEPAVFPInterface@@VInterface_ID@@@Z)
main.obj : error LNK2001: unresolved external symbol "public: virtual class FPInterface * __thiscall ClassDesc::GetInterface(char *)" (?GetInterface@ClassDesc@@UAEPAVFPInterface@@PAD@Z)
main.obj : error LNK2001: unresolved external symbol "public: virtual char * __thiscall ClassDesc::GetRsrcString(long)" (?GetRsrcString@ClassDesc@@UAEPADJ@Z)
../tools/max2mapExporter.dle : fatal error LNK1120: 4 unresolved externals
Error executing link.exe.
I had thought I had set everything according to what I read on a couple of posts and even changed the general tab's lower box so it lists maxsdk40 instead of maxsdk31.
Can one of you brilliant guys help me figure out what I may have missed.
Thanks for time and effort.
Stephen Cook
#2
They were way back. heh
I will dig more next time.
I did however solve the problem.
Thanks guys.
Stephen Cook
12/27/2002 (10:19 am)
I was diging and didn't know others had the same issue.They were way back. heh
I will dig more next time.
I did however solve the problem.
Thanks guys.
Stephen Cook
Associate Stefan Beffy Moises