AREA forums upgrade
Read more about the planned upgrade of our forums
  • 1/3
You are here: Forum Home / Autodesk 3ds® Max® / SDK / Link error....
IMPORTANT ANNOUNCEMENT ABOUT AREA FORUMS
  RSS 2.0 ATOM  

Link error....
Rate this thread
 
66892
 
Permlink of this thread  
avatar
  • Total Posts: 1
  • Joined: 07 May 2012 10:17 AM

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



Replies: 1
/img/forum/light/default_avatar.png

Hey Fitness,

Did you check to see what the changes were from the 8 sdk to the 9 version?  There should be some documentation which may mention some API changes that could be what you are seeing.

Erik

Author: etoraaso

Replied: 08 May 2012 05:37 AM