PDA

View Full Version : problems with compiling maya 2011 plugin for mac


sethfair
03-29-2011, 07:16 AM
Hello, I am having ome trouble compiling a c++ plugin for Maya 2011 on my mac. I loaded the /Applications/Autodesk/maya2011/devkit/plug-ins/helloWorldCmd.xcodepro and compiled it and loaded it into the plugin directory.

When I try to load the plugin in Maya through the plugin-manager I get the following errors in the script editor:
// Error: line 1: Unable to dynamically load : /Users/Shared/Autodesk/maya/2011/plug-ins/helloWorldCmd.bundle
does not match the current architecture //
// Error: line 1: does not match the current architecture //
// Error: line 1: does not match the current architecture (helloWorldCmd) //

Any ideas why this is happening? This should be the simplest test.

Thanks in advance!
Regards,
Seth

kattkieru
04-03-2011, 03:35 PM
Hey Seth,

When it says the architecture doesn't match it means you're either trying to load a PPC plugin for Intel (or vice versa), or you're running a 32-bit copy of Maya and attempting to load a 64-bit plugin (or vice versa). Check to make sure your build settings are proper, or set them to build a Universal 32/64-bit Intel binary to get around that issue.

Hope that helps.

CGTalk Moderation
04-03-2011, 03:35 PM
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.