well, after some bumpiness, i’ve successfully built and run panda on my ppc mac. i am however having problems with pandatools. they appeared to build without error, but i see that none of the maya tools are there. there’s probably something simple i missed, but being a n00b, i can’t seem to figure it out. i did add the following to my bash profile:
i tried make install again in the pandatool directory, but still no maya2egg, etc.
i don’t have anything about maya in my config.pp file. don’t know if i should. anybody got a clue? don’t even know what i should post that would be of help to you…
added #define HAVE_MAYA 1 to config.pp and things started cooking until:
cd ./src/maya && make install
g++ -ftemplate-depth-30 -c -o Opt3-OSX/maya_mayaApi.o -I. -I/Users/bbalog/src/panda3d/pandatool -I../converter -I../pandatoolbase -I/usr/local/panda/include -I/usr/local/panda/include -I/opt/local/Library/Frameworks/Python.framework/Versions/2.4/include/python2.4 -I/usr/aw/maya/include -g -O2 -fPIC mayaApi.cxx
In file included from mayaApi.cxx:22:
pre_maya_include.h:66:30: error: maya/OpenMayaMac.h: No such file or directory
mayaApi.cxx:23:26: error: maya/MGlobal.h: No such file or directory
mayaApi.cxx:24:28: error: maya/MDistance.h: No such file or directory
mayaApi.cxx:25:26: error: maya/MFileIO.h: No such file or directory
mayaApi.cxx:26:27: error: maya/MLibrary.h: No such file or directory
mayaApi.cxx:27:26: error: maya/MStatus.h: No such file or directory
mayaApi.cxx:28:31: error: maya/MFnAnimCurve.h: No such file or directory
mayaApi.cxx:40: error: 'MFnAnimCurve' does not name a type
mayaApi.cxx: In constructor 'MayaApi::MayaApi(const std::string&)':
mayaApi.cxx:70: error: 'MStatus' was not declared in this scope
mayaApi.cxx:70: error: expected `;' before 'stat'
mayaApi.cxx:85: error: 'stat' was not declared in this scope
mayaApi.cxx: In destructor 'MayaApi::~MayaApi()':
mayaApi.cxx:126: error: 'MLibrary' has not been declared
mayaApi.cxx:126: error: 'cleanup' was not declared in this scope
mayaApi.cxx: In static member function 'static PointerTo<MayaApi> MayaApi::open_api(std::string)':
mayaApi.cxx:171: error: 'MAYA_API_VERSION' was not declared in this scope
mayaApi.cxx:177: error: 'MGlobal' has not been declared
mayaApi.cxx:177: error: 'mayaVersion' was not declared in this scope
mayaApi.cxx: In member function 'bool MayaApi::read(const Filename&)':
mayaApi.cxx:240: error: 'MFileIO' has not been declared
mayaApi.cxx:240: error: 'newFile' was not declared in this scope
mayaApi.cxx:248: error: 'MFileIO' has not been declared
mayaApi.cxx:249: error: 'MStatus' was not declared in this scope
mayaApi.cxx:249: error: expected `;' before 'stat'
mayaApi.cxx:250: error: 'stat' was not declared in this scope
mayaApi.cxx: In member function 'bool MayaApi::write(const Filename&)':
mayaApi.cxx:274: error: 'MStatus' was not declared in this scope
mayaApi.cxx:274: error: expected `;' before 'stat'
mayaApi.cxx:275: error: 'stat' was not declared in this scope
mayaApi.cxx: In member function 'bool MayaApi::clear()':
mayaApi.cxx:291: error: 'MStatus' was not declared in this scope
mayaApi.cxx:291: error: expected `;' before 'stat'
mayaApi.cxx:292: error: 'stat' was not declared in this scope
mayaApi.cxx: In member function 'DistanceUnit MayaApi::get_units()':
mayaApi.cxx:306: error: 'MDistance' has not been declared
mayaApi.cxx:306: error: 'internalUnit' was not declared in this scope
mayaApi.cxx:307: error: 'MDistance' has not been declared
mayaApi.cxx:307: error: 'kInches' was not declared in this scope
mayaApi.cxx:309: error: 'MDistance' has not been declared
mayaApi.cxx:309: error: 'kFeet' was not declared in this scope
mayaApi.cxx:311: error: 'MDistance' has not been declared
mayaApi.cxx:311: error: 'kYards' was not declared in this scope
mayaApi.cxx:313: error: 'MDistance' has not been declared
mayaApi.cxx:313: error: 'kMiles' was not declared in this scope
mayaApi.cxx:315: error: 'MDistance' has not been declared
mayaApi.cxx:315: error: 'kMillimeters' was not declared in this scope
mayaApi.cxx:317: error: 'MDistance' has not been declared
mayaApi.cxx:317: error: 'kCentimeters' was not declared in this scope
mayaApi.cxx:319: error: 'MDistance' has not been declared
mayaApi.cxx:319: error: 'kKilometers' was not declared in this scope
mayaApi.cxx:321: error: 'MDistance' has not been declared
mayaApi.cxx:321: error: 'kMeters' was not declared in this scope
mayaApi.cxx: In member function 'CoordinateSystem MayaApi::get_coordinate_system()':
mayaApi.cxx:336: error: 'MGlobal' has not been declared
mayaApi.cxx:336: error: 'isYAxisUp' was not declared in this scope
make[1]: *** [Opt3-OSX/maya_mayaApi.o] Error 1
make: *** [install-maya] Error 2
btw: i had a working panda compilation on my ppc, too, but now i can NOT build it any more… could you post your Config.pp, Config.prc, please? Did you enable FMOD EX?
Have you experienced the white panda screen problem i have now, too?
Without the devkit, you have no chance of building maya2egg. Sorry. The reason is that maya2egg works by making API calls into Maya’s proprietary library, so if you don’t have this library installed, there’s nothing for maya2egg to call into.