PDA

View Full Version : initializePlugin not found


PeterRabel
08-19-2012, 03:42 AM
I am new to developing plug-ins in C++ for Maya. I compiled a hello world plugin. There were no errors in the build, but when I try to load the plug-in in Maya, I get the following error:
// Error: file: C:/Program Files/Autodesk/Maya2011/scripts/others/pluginWin.mel line 665: initializePlugin function could not be found in plug-in (helloWorld) //
I did define the initializePlugin function in my .cpp file as you can see here:
http://www.pasteall.org/34571/cpp
Any assistance would be appreciated! Iím running maya 2011 on windows vista x32 and I compiled from the Microsoft Visual C++ Express 2010 with the Microsoft SDK 7.1

zoharl
08-19-2012, 07:35 AM
Did you add the /export:initializePlugin to your linker?
Anyhow, as I suggest here

http://forums.cgsociety.org/showthread.php?f=89&t=1065924

don't use the wizard, find the manual steps and you'll have a better understanding of the process that would help you to solve these kind of problems.

zoharl
08-19-2012, 07:40 AM
e.g.

http://forums.cgsociety.org/showthread.php?t=1043717
http://forums.cgsociety.org/showthread.php?t=949304
http://forums.cgsociety.org/showthread.php?t=1015213

look for more

CGTalk Moderation
08-19-2012, 07:40 AM
This thread has been automatically closed as it remained inactive for 12 months. If you wish to continue the discussion, please create a new thread in the appropriate forum.