|
Hi all,
i’m migrated my plugin on MAX 8 to MAX 9, and i have some link’s error when i try to build in the debug configuration. The same project in MAX 8 work fine.
To migrate my plugin to max 9. I converted the project with Visual Studio 2005 and add MAX9 SDK path. i’m link with those libraries : maxscrpt.lib gup.lib maxutil.lib geom.lib gfx.lib mesh.lib core.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib comctl32.lib
My plugin was un export/ import pluging
AnimBipedOut.obj : error LNK2019: symbole externe non résolu “__declspec(dllimport) public: static void __cdecl MaxHeapOperators::operator delete(void *)” (__imp_??3MaxHeapOperators@@SAXPAX@Z) référencé dans la fonction “public: virtual void * __thiscall CallMaxSCriptCommandToWriteBipedKeys::`scalar deleting destructor’(unsigned int)” (??_GCallMaxSCriptCommandToWriteBipedKeys@@UAEPAXI@Z)
MaxLink.obj : error LNK2001: symbole externe non résolu “__declspec(dllimport) public: static void __cdecl MaxHeapOperators::operator delete(void *)” (__imp_??3MaxHeapOperators@@SAXPAX@Z)
MaxLink.obj : error LNK2019: symbole externe non résolu “__declspec(dllimport) public: static void * __cdecl MaxHeapOperators::operator new(unsigned int)” (__imp_??2MaxHeapOperators@@SAPAXI@Z) référencé dans la fonction “public: virtual void * __thiscall PwPExpClassDesc::Create(int)” (?Create@PwPExpClassDesc@@UAEPAXH@Z)
MeshExp.obj : error LNK2019: symbole externe non résolu “__declspec(dllimport) public: static void __cdecl MaxHeapOperators::operator delete[](void *)” (__imp_??_VMaxHeapOperators@@SAXPAX@Z) référencé dans la fonction “public: void __thiscall PwPExp::SaveMesh(class INode *,class MatObjExp &,char *,bool)” (?SaveMesh@PwPExp@@QAEXPAVINode@@AAVMatObjExp@@PAD_N@Z)
MeshExp.obj : error LNK2019: symbole externe non résolu “__declspec(dllimport) public: static void * __cdecl MaxHeapOperators::operator new[](unsigned int)” (__imp_??_UMaxHeapOperators@@SAPAXI@Z) référencé dans la fonction “public: void __thiscall PwPExp::SaveMesh(class INode *,class MatObjExp &,char *,bool)” (?SaveMesh@PwPExp@@QAEXPAVINode@@AAVMatObjExp@@PAD_N@Z)
MeshExp.obj : error LNK2019: symbole externe non résolu “__declspec(dllimport) private: void __thiscall BitArray::ClearAllImpl(void)” (__imp_?ClearAllImpl@BitArray@@AAEXXZ) référencé dans la fonction “public: void __thiscall BitArray::ClearAll(void)” (?ClearAll@BitArray@@QAEXXZ)
MeshExp.obj : error LNK2019: symbole externe non résolu “__declspec(dllimport) private: void __thiscall BitArray::SetImpl(int)” (__imp_?SetImpl@BitArray@@AAEXH@Z) référencé dans la fonction “public: void __thiscall BitArray::Set(int)” (?Set@BitArray@@QAEXH@Z)
MeshExp.obj : error LNK2019: symbole externe non résolu “__declspec(dllimport) public: static void __cdecl MaxHeapOperators::operator delete(void *,void *)” (__imp_??3MaxHeapOperators@@SAXPAX0@Z) référencé dans la fonction __unwindfunclet$?Add@?$DynArray@VPoint3@@$0BAA@@@QAEHABVPoint3@@@Z$0
MeshExp.obj : error LNK2019: symbole externe non résolu “__declspec(dllimport) public: static void * __cdecl MaxHeapOperators::operator new(unsigned int,void *)” (__imp_??2MaxHeapOperators@@SAPAXIPAX@Z) référencé dans la fonction “public: int __thiscall DynArray<class>::Add(class Point3 const &)” (?Add@?$DynArray@VPoint3@@$0BAA@@@QAEHABVPoint3@@@Z)
C:\Program Files\Autodesk\3ds Max 9\plugins\PwPExp.dle : fatal error LNK1120: 8 externes non résolus
Anyone have an idea where i’m wrong ?
_______________________________________________________
Christian Business Association
Fitness Glendale CA
|