Link error when building max4 DTS exporter
by Simon Windmill · in Torque Game Engine · 03/22/2002 (12:27 pm) · 2 replies
I get link errors when building the max4 DTS exporter (head as of a couple of hours ago, and 1.1.1):
exportUtil.obj : error LNK2001: unresolved external symbol "public: virtual char * __thiscall ClassDesc::GetRsrcString(long)" (?GetRsrcString@ClassDesc@@UAEPADJ@Z)
main.obj : error LNK2001: unresolved external symbol "public: virtual char * __thiscall ClassDesc::GetRsrcString(long)" (?GetRsrcString@ClassDesc@@UAEPADJ@Z)
sequence.obj : error LNK2001: unresolved external symbol "public: virtual char * __thiscall ClassDesc::GetRsrcString(long)" (?GetRsrcString@ClassDesc@@UAEPADJ@Z)
skinHelper.obj : error LNK2001: unresolved external symbol "public: virtual char * __thiscall ClassDesc::GetRsrcString(long)" (?GetRsrcString@ClassDesc@@UAEPADJ@Z)
sequence.obj : error LNK2001: unresolved external symbol "public: virtual long __thiscall ParamBlockPLCB::Execute(int,unsigned long,unsigned long,unsigned long)" (?Execute@ParamBlockPLCB@@UAEJHKKK@Z)
The max3 plug builds fine.
exportUtil.obj : error LNK2001: unresolved external symbol "public: virtual char * __thiscall ClassDesc::GetRsrcString(long)" (?GetRsrcString@ClassDesc@@UAEPADJ@Z)
main.obj : error LNK2001: unresolved external symbol "public: virtual char * __thiscall ClassDesc::GetRsrcString(long)" (?GetRsrcString@ClassDesc@@UAEPADJ@Z)
sequence.obj : error LNK2001: unresolved external symbol "public: virtual char * __thiscall ClassDesc::GetRsrcString(long)" (?GetRsrcString@ClassDesc@@UAEPADJ@Z)
skinHelper.obj : error LNK2001: unresolved external symbol "public: virtual char * __thiscall ClassDesc::GetRsrcString(long)" (?GetRsrcString@ClassDesc@@UAEPADJ@Z)
sequence.obj : error LNK2001: unresolved external symbol "public: virtual long __thiscall ParamBlockPLCB::Execute(int,unsigned long,unsigned long,unsigned long)" (?Execute@ParamBlockPLCB@@UAEJHKKK@Z)
The max3 plug builds fine.
#2
/me remembers to check the changelog next time.
I actually made a change to lib\maxsdk40\max.h rather than modify the VC basetsd.h file, defining INT_PTR to be int.
03/22/2002 (6:33 pm)
Thanks ex./me remembers to check the changelog next time.
I actually made a change to lib\maxsdk40\max.h rather than modify the VC basetsd.h file, defining INT_PTR to be int.
Torque 3D Owner Xavier "eXoDuS" Amado
Default Studio Name
Check the changelog.txt, it has a small explanation of the problem and a solution.