I’m trying to get the Panda tools for Maya 8.5 working on my MacBook Pro (OSX 10.4.10). Got Panda 1.4.2 to compile and everything there works fine. I installed the Maya devkit. Then had trouble getting the pandatools to build. It got through almost everything but then is complaining on files for the following:
lFoundation
lOpenMaya
lOpenMayaAnim
lOpenMayaUI
The error message is:
cd ./src/lwoprogs && make install
make[1]: Nothing to be done for `install'.
cd ./src/maya && make install
g++ -undefined dynamic_lookup -dynamic -dynamiclib -o Opt3-OSX/libmaya.dylib -install_name libmaya.dylib Opt3-OSX/maya_config_maya.o Opt3-OSX/maya_mayaApi.o Opt3-OSX/maya_mayaShader.o Opt3-OSX/maya_mayaShaderColorDef.o Opt3-OSX/maya_mayaShaders.o Opt3-OSX/maya_maya_funcs.o -L../converter/Opt3-OSX -L../pandatoolbase/Opt3-OSX -L/usr/local/panda/lib -L/usr/local/panda/lib -L/usr/local/panda/lib -L/opt/local/Library/Frameworks/Python.framework/Versions/2.4/lib/python2.4 -L/usr/aw/maya/lib -lconverter -lpandatoolbase -lputil -lexpress -ldtoolutil -ldtoolbase -lprc -ldconfig -lpipeline -linterrogatedb -lFoundation -lOpenMaya -lOpenMayaAnim -lOpenMayaUI
/usr/libexec/gcc/i686-apple-darwin8/4.0.1/libtool: can't locate file for: -lFoundation
/usr/libexec/gcc/i686-apple-darwin8/4.0.1/libtool: file: -lFoundation is not an object file (not allowed in a library)
/usr/libexec/gcc/i686-apple-darwin8/4.0.1/libtool: can't locate file for: -lOpenMaya
/usr/libexec/gcc/i686-apple-darwin8/4.0.1/libtool: file: -lOpenMaya is not an object file (not allowed in a library)
/usr/libexec/gcc/i686-apple-darwin8/4.0.1/libtool: can't locate file for: -lOpenMayaAnim
/usr/libexec/gcc/i686-apple-darwin8/4.0.1/libtool: file: -lOpenMayaAnim is not an object file (not allowed in a library)
/usr/libexec/gcc/i686-apple-darwin8/4.0.1/libtool: can't locate file for: -lOpenMayaUI
/usr/libexec/gcc/i686-apple-darwin8/4.0.1/libtool: file: -lOpenMayaUI is not an object file (not allowed in a library)
make[1]: *** [Opt3-OSX/libmaya.dylib] Error 1
make: *** [install-maya] Error 2
Does anyone have any ideas on why it’s not building? I’m at a complete loss. Or has anybody else out there got the Maya tools for Panda 1.4.2, running Maya 8.5 on an Intel MacBook Pro, OX 10.4.10 that could send me their binary and I could see if I could at least get that running?
thanks for the response. I thought I had installed the OpenMaya development libraries, but maybe I haven’t. I re-installed Maya with the API from the installation CD but this is all that shows up under a search for OpenMaya in the Maya directory:
Those last few dynamic lib files don’t seem to be being seen. Are these the lib files i’m looking for?
The end of the error code i get when I do make install in ~/src/panda3d/pandatool is:
g++ -undefined dynamic_lookup -dynamic -dynamiclib -o Opt3-OSX/libmaya.dylib -install_name libmaya.dylib Opt3-OSX/maya_config_maya.o Opt3-OSX/maya_mayaApi.o Opt3-OSX/maya_mayaShader.o Opt3-OSX/maya_mayaShaderColorDef.o Opt3-OSX/maya_mayaShaders.o Opt3-OSX/maya_maya_funcs.o -L../converter/Opt3-OSX -L../pandatoolbase/Opt3-OSX -L/usr/local/panda/lib -L/usr/local/panda/lib -L/usr/local/panda/lib -L/opt/local/Library/Frameworks/Python.framework/Versions/2.4/lib/python2.4 -L/usr/aw/maya/lib -lconverter -lpandatoolbase -lputil -lexpress -ldtoolutil -ldtoolbase -lprc -ldconfig -lpipeline -linterrogatedb -lFoundation -lOpenMaya -lOpenMayaAnim -lOpenMayaUI
/usr/libexec/gcc/i686-apple-darwin8/4.0.1/libtool: can't locate file for: -lFoundation
/usr/libexec/gcc/i686-apple-darwin8/4.0.1/libtool: file: -lFoundation is not an object file (not allowed in a library)
/usr/libexec/gcc/i686-apple-darwin8/4.0.1/libtool: can't locate file for: -lOpenMaya
/usr/libexec/gcc/i686-apple-darwin8/4.0.1/libtool: file: -lOpenMaya is not an object file (not allowed in a library)
/usr/libexec/gcc/i686-apple-darwin8/4.0.1/libtool: can't locate file for: -lOpenMayaAnim
/usr/libexec/gcc/i686-apple-darwin8/4.0.1/libtool: file: -lOpenMayaAnim is not an object file (not allowed in a library)
/usr/libexec/gcc/i686-apple-darwin8/4.0.1/libtool: can't locate file for: -lOpenMayaUI
/usr/libexec/gcc/i686-apple-darwin8/4.0.1/libtool: file: -lOpenMayaUI is not an object file (not allowed in a library)
make[1]: *** [Opt3-OSX/libmaya.dylib] Error 1
make: *** [install-maya] Error 2
It doesn’t seem to be even looking in the /Applications/Autodesk/maya8.5/Maya.app/Contents/MacOS directory. My Maya.env is listed below in my original post.
When i run make install on ~/src/panda3d/pandatools it tries to look in /usr/aw/maya/lib, but the /usr/aw directory only contains the COM directory. There isn’t a maya subdirectory. So I made the maya/lib directory and copied the .dylib files from /Applications/Autodesk/maya8.5/Maya.app/Contents/MacOS into the /usr/aw/maya/lib directory. But, now when I run make install I get several hundred lines of complaints that various items referenced from libFoundation, libOpenMaya, etc. are “expected to be defined in @executable_path/libBase.dylib” or “expected to be defined in @executable_path/libPolyEngine.dylib” and other .dylib files:
__ZN4awOS10SearchPath10initializeERKN8awString7IStringE referenced from libFoundation expected to be defined in @executable_path/libBase.dylib
__ZN4awOS10SearchPath12actLikeShellEb referenced from libFoundation expected to be defined in @executable_path/libBase.dylib
__ZN4awOS10SearchPathC1Ev referenced from libFoundation expected to be defined in @executable_path/libBase.dylib
__ZN4awOS10SearchPathD1Ev referenced from libFoundation expected to be defined in @executable_path/libBase.dylib
__ZN4awOS4File4openEi referenced from libFoundation expected to be defined in @executable_path/libBase.dylib
__ZN4awOS4File4readEPvmPm referenced from libFoundation expected to be defined in @executable_path/libBase.dylib
__ZN4awOS4File5closeEv referenced from libFoundation expected to be defined in @executable_path/libBase.dylib
Does this make any sense to you? I’ve never even heard of @executable_path