Groups > Design > Autodesk Maya personal learning edition > Link errors when build plugin with PLE 8.5




Link errors when build plugin with PLE 8.5

Link errors when build plugin with PLE 8.5
Thu, 27 Sep 2007 03:07:57 +000
I just downloaded the current PLE verion and created  a plugin using the wizard.
I added maya include and lib dirs to my vs2005 C++ project option. Unfortunately
I got may link errors. I did set all the input libs. It seems not be able to
link any of them.
I do not have Maya SDK installed. Can I build plugin with PLE or I have to get
the full verion with SDK? This is the error list:
Error	6	error LNK2019: unresolved external symbol "__declspec(dllimport)
public: __thiscall MPxCommand::MPxCommand(void)"
(__imp_??0MPxCommand@@QAE@XZ) referenced in function "public: __thiscall
myCmd::myCmd(void)" (??0myCmd@@QAE@XZ)	myCmdCmd.obj	
Error	7	error LNK2001: unresolved external symbol "public: virtual class
MStatus __thiscall MPxCommand::undoIt(void)"
(?undoIt@MPxCommand@@UAE?AVMStatus@@XZ)	myCmdCmd.obj	
Error	8	error LNK2001: unresolved external symbol "public: virtual class
MStatus __thiscall MPxCommand::redoIt(void)"
(?redoIt@MPxCommand@@UAE?AVMStatus@@XZ)	myCmdCmd.obj	
Error	9	error LNK2001: unresolved external symbol "public: virtual bool
__thiscall MPxCommand::isUndoable(void)const "
(?isUndoable@MPxCommand@@UBE_NXZ)	myCmdCmd.obj	
Error	10	error LNK2001: unresolved external symbol "public: virtual bool
__thiscall MPxCommand::hasSyntax(void)const "
(?hasSyntax@MPxCommand@@UBE_NXZ)	myCmdCmd.obj	
Error	11	error LNK2019: unresolved external symbol "__declspec(dllimport)
public: virtual __thiscall MPxCommand::~MPxCommand(void)"
(__imp_??1MPxCommand@@UAE@XZ) referenced in function "public: virtual
__thiscall myCmd::~myCmd(void)" (??1myCmd@@UAE@XZ)	myCmdCmd.obj	
Error	12	error LNK2019: unresolved external symbol "__declspec(dllimport)
public: __thiscall MObject::~MObject(void)" (__imp_??1MObject@@QAE@XZ)
referenced in function "class MStatus __cdecl initializePlugin(class
MObject)" (?initializePlugin@@YA?AVMStatus@@VMObject@@@Z)	myCmdCmd.obj	
Error	13	error LNK2019: unresolved external symbol "__declspec(dllimport)
public: virtual __thiscall MFnPlugin::~MFnPlugin(void)"
(__imp_??1MFnPlugin@@UAE@XZ) referenced in function "class MStatus __cdecl
initializePlugin(class MObject)"
(?initializePlugin@@YA?AVMStatus@@VMObject@@@Z)	myCmdCmd.obj	
Error	14	error LNK2019: unresolved external symbol "__declspec(dllimport)
public: __thiscall MStatus::MStatus(class MStatus const &)"
(__imp_??0MStatus@@QAE@ABV0@@Z) referenced in function "class MStatus
__cdecl initializePlugin(class MObject)"
(?initializePlugin@@YA?AVMStatus@@VMObject@@@Z)	myCmdCmd.obj	
Error	15	error LNK2019: unresolved external symbol "__declspec(dllimport)
public: void __thiscall MStatus::perror(char const *)const "
(__imp_?perror@MStatus@@QBEXPBD@Z) referenced in function "class MStatus
__cdecl initializePlugin(class MObject)"
(?initializePlugin@@YA?AVMStatus@@VMObject@@@Z)	myCmdCmd.obj	
Error	16	error LNK2019: unresolved external symbol "__declspec(dllimport)
public: __thiscall MStatus::operator bool(void)const "
(__imp_??BMStatus@@QBE_NXZ) referenced in function "class MStatus __cdecl
initializePlugin(class MObject)"
(?initializePlugin@@YA?AVMStatus@@VMObject@@@Z)	myCmdCmd.obj	
Error	17	error LNK2019: unresolved external symbol "__declspec(dllimport)
public: __thiscall MString::~MString(void)" (__imp_??1MString@@QAE@XZ)
referenced in function "class MStatus __cdecl initializePlugin(class
MObject)" (?initializePlugin@@YA?AVMStatus@@VMObject@@@Z)	myCmdCmd.obj	
Error	18	error LNK2019: unresolved external symbol "__declspec(dllimport)
public: class MStatus & __thiscall MStatus::operator=(class MStatus const
&)" (__imp_??4MStatus@@QAEAAV0@ABV0@@Z) referenced in function
"class MStatus __cdecl initializePlugin(class MObject)"
(?initializePlugin@@YA?AVMStatus@@VMObject@@@Z)	myCmdCmd.obj	
Error	19	error LNK2019: unresolved external symbol "__declspec(dllimport)
public: class MStatus __thiscall MFnPlugin::registerCommand(class MString const
&,void * (__cdecl*)(void),class MSyntax (__cdecl*)(void))"
(__imp_?registerCommand@MFnPlugin@@QAE?AVMStatus@@ABVMString@@P6APAXXZP6A?AVMSyn
tax@@XZ@Z) referenced in function "class MStatus __cdecl
initializePlugin(class MObject)"
(?initializePlugin@@YA?AVMStatus@@VMObject@@@Z)	myCmdCmd.obj	
Error	20	error LNK2019: unresolved external symbol "__declspec(dllimport)
public: __thiscall MString::MString(char const *)"
(__imp_??0MString@@QAE@PBD@Z) referenced in function "class MStatus __cdecl
initializePlugin(class MObject)"
(?initializePlugin@@YA?AVMStatus@@VMObject@@@Z)	myCmdCmd.obj	
Error	21	error LNK2019: unresolved external symbol "__declspec(dllimport)
public: __thiscall MStatus::MStatus(void)" (__imp_??0MStatus@@QAE@XZ)
referenced in function "class MStatus __cdecl initializePlugin(class
MObject)" (?initializePlugin@@YA?AVMStatus@@VMObject@@@Z)	myCmdCmd.obj	
Error	22	error LNK2019: unresolved external symbol "__declspec(dllimport)
public: __thiscall MFnPlugin::MFnPlugin(class MObject &,char const *,char
const *,char const *,class MStatus *)"
(__imp_??0MFnPlugin@@QAE@AAVMObject@@PBD11PAVMStatus@@@Z) referenced in function
"class MStatus __cdecl initializePlugin(class MObject)"
(?initializePlugin@@YA?AVMStatus@@VMObject@@@Z)	myCmdCmd.obj	
Error	23	error LNK2019: unresolved external symbol "__declspec(dllimport)
public: class MStatus __thiscall MFnPlugin::deregisterCommand(class MString
const &)"
(__imp_?deregisterCommand@MFnPlugin@@QAE?AVMStatus@@ABVMString@@@Z) referenced
in function "class MStatus __cdecl uninitializePlugin(class MObject)"
(?uninitializePlugin@@YA?AVMStatus@@VMObject@@@Z)	myCmdCmd.obj	
Error	24	error LNK2019: unresolved external symbol "__declspec(dllimport)
public: static void __cdecl MPxCommand::setResult(char const *)"
(__imp_?setResult@MPxCommand@@SAXPBD@Z) referenced in function "public:
virtual class MStatus __thiscall myCmd::doIt(class MArgList const &)"
(?doIt@myCmd@@UAE?AVMStatus@@ABVMArgList@@@Z)	myCmdCmd.obj	
Error	25	error LNK2019: unresolved external symbol "__declspec(dllimport)
public: __thiscall MStatus::MStatus(enum MStatus::MStatusCode)"
(__imp_??0MStatus@@QAE@W4MStatusCode@0@@Z) referenced in function "public:
virtual class MStatus __thiscall myCmd::doIt(class MArgList const &)"
(?doIt@myCmd@@UAE?AVMStatus@@ABVMArgList@@@Z)	myCmdCmd.obj	
Post Reply
about | contact