|03 March 2011||#1|
3D Character Factory
St Paul, USA
Join Date: Feb 2008
c++ maya plugin: does not match the current architecture
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!
Last edited by sethfair : 03 March 2011 at 03:21 PM.
|04 April 2011||#2|
Charles Warren Wardlaw
Senior Technical Director
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.
|Thread Closed share thread|