Message 1 of 3
C++ API error: initializePlugin function could not be found

Not applicable
08-18-2012
08:18 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
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
// 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