Problems with compiling the latest CVS version on OSX 16.4

I have been able to compiled panda3d with makepanda --everything. But for some days now I’m not! It seem that the source code is missing some of its headers files in maya tools.
What do I do wrong?

Borron:panda3d rulfb$ ppython makepanda/makepanda.py --everything --installer
Generating library cache…
WARNING: Could not locate thirdparty package osmesa, excluding from build
WARNING: Could not locate pkg-config package gtk±2.0, excluding from build
Generating dependencies…
[ 78%] Building C++ object built/tmp/maya2011_composite1.o
In file included from pandatool/src/maya/mayaApi.cxx:20,
from pandatool/src/maya/maya_composite1.cxx:2:
pandatool/src/maya/pre_maya_include.h:68:30: error: maya/OpenMayaMac.h: No such file or directory
In file included from pandatool/src/maya/maya_composite1.cxx:2:
pandatool/src/maya/mayaApi.cxx:21:26: error: maya/MGlobal.h: No such file or directory
pandatool/src/maya/mayaApi.cxx:22:28: error: maya/MDistance.h: No such file or directory
pandatool/src/maya/mayaApi.cxx:23:26: error: maya/MFileIO.h: No such file or directory
pandatool/src/maya/mayaApi.cxx:24:27: error: maya/MLibrary.h: No such file or directory
pandatool/src/maya/mayaApi.cxx:25:26: error: maya/MStatus.h: No such file or directory
pandatool/src/maya/mayaApi.cxx:26:31: error: maya/MFnAnimCurve.h: No such file or directory
In file included from pandatool/src/maya/mayaShader.cxx:18,
from pandatool/src/maya/maya_composite1.cxx:3:
pandatool/src/maya/maya_funcs.h:23:31: error: maya/MFnAttribute.h: No such file or directory
pandatool/src/maya/maya_funcs.h:24:24: error: maya/MPlug.h: No such file or directory
pandatool/src/maya/maya_funcs.h:26:36: error: maya/MFnDependencyNode.h: No such file or directory
pandatool/src/maya/maya_funcs.h:27:26: error: maya/MObject.h: No such file or directory
pandatool/src/maya/maya_funcs.h:28:26: error: maya/MString.h: No such file or directory
pandatool/src/maya/maya_funcs.h:29:26: error: maya/MVector.h: No such file or directory
In file included from pandatool/src/maya/maya_composite1.cxx:3:
pandatool/src/maya/mayaShader.cxx:26:35: error: maya/MFnLambertShader.h: No such file or directory
pandatool/src/maya/mayaShader.cxx:27:33: error: maya/MFnPhongShader.h: No such file or directory
pandatool/src/maya/mayaShader.cxx:28:26: error: maya/MFnMesh.h: No such file or directory
pandatool/src/maya/mayaShader.cxx:30:29: error: maya/MPlugArray.h: No such file or directory
pandatool/src/maya/mayaShader.cxx:31:25: error: maya/MColor.h: No such file or directory
In file included from pandatool/src/maya/maya_composite1.cxx:4:
pandatool/src/maya/mayaShaderColorDef.cxx:30:35: error: maya/MFnEnumAttribute.h: No such file or directory
In file included from pandatool/src/maya/maya_composite1.cxx:5:
pandatool/src/maya/mayaShaders.cxx:28:31: error: maya/MObjectArray.h: No such file or directory
pandatool/src/maya/mayaShaders.cxx:31:22: error: maya/MFn.h: No such file or directory
In file included from pandatool/src/maya/maya_composite1.cxx:6:
pandatool/src/maya/maya_funcs.cxx:19:25: error: maya/MAngle.h: No such file or directory
pandatool/src/maya/maya_funcs.cxx:22:32: error: maya/MFnStringData.h: No such file or directory
pandatool/src/maya/maya_funcs.cxx:23:33: error: maya/MFnNumericData.h: No such file or directory
pandatool/src/maya/maya_funcs.cxx:27:36: error: maya/MFnTypedAttribute.h: No such file or directory
pandatool/src/maya/maya_funcs.cxx:28:38: error: maya/MFnNumericAttribute.h: No such file or directory
pandatool/src/maya/maya_funcs.cxx:30:39: error: maya/MFnCompoundAttribute.h: No such file or directory
pandatool/src/maya/maya_funcs.cxx:31:32: error: maya/MFnMatrixData.h: No such file or directory
pandatool/src/maya/maya_funcs.cxx:32:26: error: maya/MMatrix.h: No such file or directory
In file included from pandatool/src/maya/maya_composite1.cxx:2:
pandatool/src/maya/mayaApi.cxx:38: error: ‘MFnAnimCurve’ does not name a type
pandatool/src/maya/mayaApi.cxx: In constructor ‘MayaApi::MayaApi(const std::string&, bool, bool)’:
pandatool/src/maya/mayaApi.cxx:68: error: ‘MStatus’ was not declared in this scope
pandatool/src/maya/mayaApi.cxx:68: error: expected ;' before ‘stat’ pandatool/src/maya/mayaApi.cxx:72: error: request for member ‘perror’ in ‘stat’, which is of non-class type ‘int ()(const char*, stat*)’ pandatool/src/maya/mayaApi.cxx:74: error: ‘MLibrary’ has not been declared pandatool/src/maya/mayaApi.cxx:96: error: request for member ‘perror’ in ‘stat’, which is of non-class type ‘int ()(const char*, stat*)’ pandatool/src/maya/mayaApi.cxx: In destructor ‘virtual MayaApi::~MayaApi()’: pandatool/src/maya/mayaApi.cxx:136: error: ‘MLibrary’ has not been declared pandatool/src/maya/mayaApi.cxx: In static member function ‘static PointerTo<MayaApi> MayaApi::open_api(std::string, bool, bool)’: pandatool/src/maya/mayaApi.cxx:180: error: ‘MGlobal’ has not been declared pandatool/src/maya/mayaApi.cxx:214: error: ‘MAYA_API_VERSION’ was not declared in this scope pandatool/src/maya/mayaApi.cxx:219: error: ‘MAYA_API_VERSION’ was not declared in this scope pandatool/src/maya/mayaApi.cxx: In member function ‘bool MayaApi::read(const Filename&)’: pandatool/src/maya/mayaApi.cxx:266: error: ‘MFileIO’ has not been declared pandatool/src/maya/mayaApi.cxx:279: error: ‘MFileIO’ has not been declared pandatool/src/maya/mayaApi.cxx:280: error: ‘MStatus’ was not declared in this scope pandatool/src/maya/mayaApi.cxx:280: error: expected;’ before ‘stat’
pandatool/src/maya/mayaApi.cxx:297: error: request for member ‘perror’ in ‘stat’, which is of non-class type ‘int ()(const char*, stat*)’
pandatool/src/maya/mayaApi.cxx: In member function ‘bool MayaApi::write(const Filename&)’:
pandatool/src/maya/mayaApi.cxx:325: error: ‘MStatus’ was not declared in this scope
pandatool/src/maya/mayaApi.cxx:325: error: expected ;' before ‘stat’ pandatool/src/maya/mayaApi.cxx:327: error: request for member ‘perror’ in ‘stat’, which is of non-class type ‘int ()(const char*, stat*)’ pandatool/src/maya/mayaApi.cxx: In member function ‘bool MayaApi::clear()’: pandatool/src/maya/mayaApi.cxx:357: error: ‘MStatus’ was not declared in this scope pandatool/src/maya/mayaApi.cxx:357: error: expected;’ before ‘stat’
pandatool/src/maya/mayaApi.cxx:359: error: request for member ‘perror’ in ‘stat’, which is of non-class type ‘int ()(const char*, stat*)’
pandatool/src/maya/mayaApi.cxx: In member function ‘DistanceUnit MayaApi::get_units()’:
pandatool/src/maya/mayaApi.cxx:372: error: ‘MDistance’ has not been declared
pandatool/src/maya/mayaApi.cxx:373: error: ‘MDistance’ has not been declared
pandatool/src/maya/mayaApi.cxx:375: error: ‘MDistance’ has not been declared
pandatool/src/maya/mayaApi.cxx:377: error: ‘MDistance’ has not been declared
pandatool/src/maya/mayaApi.cxx:379: error: ‘MDistance’ has not been declared
pandatool/src/maya/mayaApi.cxx:381: error: ‘MDistance’ has not been declared
pandatool/src/maya/mayaApi.cxx:383: error: ‘MDistance’ has not been declared
pandatool/src/maya/mayaApi.cxx:385: error: ‘MDistance’ has not been declared
pandatool/src/maya/mayaApi.cxx:387: error: ‘MDistance’ has not been declared
pandatool/src/maya/mayaApi.cxx: In member function ‘void MayaApi::set_units(DistanceUnit)’:
pandatool/src/maya/mayaApi.cxx:404: error: ‘MDistance’ has not been declared
pandatool/src/maya/mayaApi.cxx:404: error: ‘MDistance’ has not been declared
pandatool/src/maya/mayaApi.cxx:407: error: ‘MDistance’ has not been declared
pandatool/src/maya/mayaApi.cxx:407: error: ‘MDistance’ has not been declared
pandatool/src/maya/mayaApi.cxx:410: error: ‘MDistance’ has not been declared
pandatool/src/maya/mayaApi.cxx:410: error: ‘MDistance’ has not been declared
pandatool/src/maya/mayaApi.cxx:413: error: ‘MDistance’ has not been declared
pandatool/src/maya/mayaApi.cxx:413: error: ‘MDistance’ has not been declared
pandatool/src/maya/mayaApi.cxx:416: error: ‘MDistance’ has not been declared
pandatool/src/maya/mayaApi.cxx:416: error: ‘MDistance’ has not been declared
pandatool/src/maya/mayaApi.cxx:419: error: ‘MDistance’ has not been declared
pandatool/src/maya/mayaApi.cxx:419: error: ‘MDistance’ has not been declared
pandatool/src/maya/mayaApi.cxx:422: error: ‘MDistance’ has not been declared
pandatool/src/maya/mayaApi.cxx:422: error: ‘MDistance’ has not been declared
pandatool/src/maya/mayaApi.cxx:425: error: ‘MDistance’ has not been declared
pandatool/src/maya/mayaApi.cxx:425: error: ‘MDistance’ has not been declared
pandatool/src/maya/mayaApi.cxx: In member function ‘CoordinateSystem MayaApi::get_coordinate_system()’:
pandatool/src/maya/mayaApi.cxx:440: error: ‘MGlobal’ has not been declared
In file included from pandatool/src/maya/mayaShader.cxx:18,
from pandatool/src/maya/maya_composite1.cxx:3:
pandatool/src/maya/maya_funcs.h: At global scope:
pandatool/src/maya/maya_funcs.h:106: error: ‘MFnData’ has not been declared
pandatool/src/maya/maya_funcs.h:114: error: expected ‘,’ or ‘…’ before ‘&’ token
pandatool/src/maya/maya_funcs.h:114: error: ISO C++ forbids declaration of ‘MString’ with no type
pandatool/src/maya/maya_funcs.h:115: error: expected ‘,’ or ‘…’ before ‘&’ token
pandatool/src/maya/maya_funcs.h:115: error: ISO C++ forbids declaration of ‘MVector’ with no type
In file included from pandatool/src/maya/maya_funcs.h:117,
from pandatool/src/maya/mayaShader.cxx:18,
from pandatool/src/maya/maya_composite1.cxx:3:
pandatool/src/maya/maya_funcs.I:20: error: expected ‘,’ or ‘…’ before ‘&’ token
pandatool/src/maya/maya_funcs.I:20: error: ISO C++ forbids declaration of ‘MString’ with no type
pandatool/src/maya/maya_funcs.I: In function ‘std::ostream& operator<<(std::ostream&, int)’:
pandatool/src/maya/maya_funcs.I:21: error: ‘str’ was not declared in this scope
pandatool/src/maya/maya_funcs.I: At global scope:
pandatool/src/maya/maya_funcs.I:28: error: expected ‘,’ or ‘…’ before ‘&’ token
pandatool/src/maya/maya_funcs.I:28: error: ISO C++ forbids declaration of ‘MVector’ with no type
pandatool/src/maya/maya_funcs.I: In function ‘std::ostream& operator<<(std::ostream&, int)’:
pandatool/src/maya/maya_funcs.I:28: error: redefinition of ‘std::ostream& operator<<(std::ostream&, int)’
pandatool/src/maya/maya_funcs.I:20: error: ‘std::ostream& operator<<(std::ostream&, int)’ previously defined here
pandatool/src/maya/maya_funcs.I:29: error: ‘vec’ was not declared in this scope
In file included from pandatool/src/maya/maya_funcs.h:118,
from pandatool/src/maya/mayaShader.cxx:18,
from pandatool/src/maya/maya_composite1.cxx:3:
pandatool/src/maya/maya_funcs.T: In function ‘bool get_maya_attribute(MObject&, const std::string&, ValueType&)’:
pandatool/src/maya/maya_funcs.T:30: error: invalid use of incomplete type ‘struct MPlug’
pandatool/src/maya/mayaShaderColorDef.h:26: error: forward declaration of ‘struct MPlug’
pandatool/src/maya/maya_funcs.T: In function ‘bool set_maya_attribute(MObject&, const std::string&, ValueType&)’:
pandatool/src/maya/maya_funcs.T:50: error: invalid use of incomplete type ‘struct MPlug’
pandatool/src/maya/mayaShaderColorDef.h:26: error: forward declaration of ‘struct MPlug’
In file included from pandatool/src/maya/maya_composite1.cxx:3:
pandatool/src/maya/mayaShader.cxx: In constructor ‘MayaShader::MayaShader(MObject, bool, Filename, bool)’:
pandatool/src/maya/mayaShader.cxx:43: error: ‘engine’ has incomplete type
pandatool/src/maya/mayaShaderColorDef.h:25: error: forward declaration of ‘struct MObject’
pandatool/src/maya/mayaShader.cxx:44: error: ‘MFnDependencyNode’ was not declared in this scope
pandatool/src/maya/mayaShader.cxx:44: error: expected ;' before ‘engine_fn’ pandatool/src/maya/mayaShader.cxx:46: error: ‘engine_fn’ was not declared in this scope pandatool/src/maya/mayaShader.cxx:58: error: variable ‘MPlug shader_plug’ has initializer but incomplete type pandatool/src/maya/mayaShader.cxx:61: error: ‘MPlugArray’ was not declared in this scope pandatool/src/maya/mayaShader.cxx:61: error: expected;’ before ‘shader_pa’
pandatool/src/maya/mayaShader.cxx:62: error: ‘shader_pa’ was not declared in this scope
pandatool/src/maya/mayaShader.cxx:65: error: variable ‘MObject shader’ has initializer but incomplete type
pandatool/src/maya/mayaShader.cxx:66: error: ‘MFn’ has not been declared
pandatool/src/maya/mayaShader.cxx:72: error: ‘MFn’ has not been declared
pandatool/src/maya/mayaShader.cxx:77: error: ‘MFn’ has not been declared
pandatool/src/maya/mayaShader.cxx: In member function ‘bool MayaShader::find_textures_modern(MObject)’:
pandatool/src/maya/mayaShader.cxx:214: error: ‘shader’ has incomplete type
pandatool/src/maya/mayaShaderColorDef.h:25: error: forward declaration of ‘struct MObject’
pandatool/src/maya/mayaShader.cxx:215: error: ‘MFn’ has not been declared
pandatool/src/maya/mayaShader.cxx:220: error: ‘MStatus’ was not declared in this scope
pandatool/src/maya/mayaShader.cxx:220: error: expected ;' before ‘status’ pandatool/src/maya/mayaShader.cxx:221: error: ‘MFnPhongShader’ was not declared in this scope pandatool/src/maya/mayaShader.cxx:221: error: expected;’ before ‘phong_fn’
pandatool/src/maya/mayaShader.cxx:222: error: ‘MFnDependencyNode’ was not declared in this scope
pandatool/src/maya/mayaShader.cxx:222: error: expected ;' before ‘shader_fn’ pandatool/src/maya/mayaShader.cxx:226: error: ‘shader_fn’ was not declared in this scope pandatool/src/maya/mayaShader.cxx:229: error: ‘shader_fn’ was not declared in this scope pandatool/src/maya/mayaShader.cxx:258: error: ‘MColor’ was not declared in this scope pandatool/src/maya/mayaShader.cxx:258: error: expected;’ before ‘color’
pandatool/src/maya/mayaShader.cxx:259: error: ‘status’ was not declared in this scope
pandatool/src/maya/mayaShader.cxx:260: error: ‘color’ was not declared in this scope
pandatool/src/maya/mayaShader.cxx:263: error: ‘color’ was not declared in this scope
pandatool/src/maya/mayaShader.cxx:263: error: ‘phong_fn’ was not declared in this scope
pandatool/src/maya/mayaShader.cxx:263: error: ‘status’ was not declared in this scope
pandatool/src/maya/mayaShader.cxx: In member function ‘bool MayaShader::find_textures_legacy(MObject)’:
pandatool/src/maya/mayaShader.cxx:459: error: ‘shader’ has incomplete type
pandatool/src/maya/mayaShaderColorDef.h:25: error: forward declaration of ‘struct MObject’
pandatool/src/maya/mayaShader.cxx:460: error: ‘MStatus’ was not declared in this scope
pandatool/src/maya/mayaShader.cxx:460: error: expected ;' before ‘status’ pandatool/src/maya/mayaShader.cxx:461: error: ‘MFnDependencyNode’ was not declared in this scope pandatool/src/maya/mayaShader.cxx:461: error: expected;’ before ‘shader_fn’
pandatool/src/maya/mayaShader.cxx:465: error: ‘shader_fn’ was not declared in this scope
pandatool/src/maya/mayaShader.cxx:472: error: variable ‘MPlug color_plug’ has initializer but incomplete type
pandatool/src/maya/mayaShader.cxx:472: error: ‘shader_fn’ was not declared in this scope
pandatool/src/maya/mayaShader.cxx:481: error: ‘MPlugArray’ was not declared in this scope
pandatool/src/maya/mayaShader.cxx:481: error: expected ;' before ‘color_pa’ pandatool/src/maya/mayaShader.cxx:482: error: ‘color_pa’ was not declared in this scope pandatool/src/maya/mayaShader.cxx:498: error: variable ‘MPlug trans_plug’ has initializer but incomplete type pandatool/src/maya/mayaShader.cxx:504: error: ‘MPlugArray’ was not declared in this scope pandatool/src/maya/mayaShader.cxx:504: error: expected;’ before ‘trans_pa’
pandatool/src/maya/mayaShader.cxx:505: error: ‘trans_pa’ was not declared in this scope
pandatool/src/maya/mayaShader.cxx:516: error: ‘MFn’ has not been declared
pandatool/src/maya/mayaShader.cxx:517: error: ‘MFnLambertShader’ was not declared in this scope
pandatool/src/maya/mayaShader.cxx:517: error: expected ;' before ‘lambert_fn’ pandatool/src/maya/mayaShader.cxx:518: error: ‘MColor’ was not declared in this scope pandatool/src/maya/mayaShader.cxx:518: error: expected;’ before ‘color’
pandatool/src/maya/mayaShader.cxx:519: error: ‘status’ was not declared in this scope
pandatool/src/maya/mayaShader.cxx:524: error: ‘color’ was not declared in this scope
pandatool/src/maya/mayaShader.cxx:533: error: ‘lambert_fn’ was not declared in this scope
In file included from pandatool/src/maya/maya_composite1.cxx:4:
pandatool/src/maya/mayaShaderColorDef.cxx: In destructor ‘MayaShaderColorDef::~MayaShaderColorDef()’:
pandatool/src/maya/mayaShaderColorDef.cxx:139: warning: possible problem detected in invocation of delete operator:
pandatool/src/maya/mayaShaderColorDef.cxx:139: warning: invalid use of incomplete type ‘struct MObject’
pandatool/src/maya/mayaShaderColorDef.h:25: warning: forward declaration of ‘struct MObject’
pandatool/src/maya/mayaShaderColorDef.cxx:139: note: neither the destructor nor the class-specific operator delete will be called, even if they are declared when the class is defined.
pandatool/src/maya/mayaShaderColorDef.cxx: In member function ‘void MayaShaderColorDef::find_textures_legacy(MayaShader*, MObject, bool, Filename, bool)’:
pandatool/src/maya/mayaShaderColorDef.cxx:269: error: ‘color’ has incomplete type
pandatool/src/maya/mayaShaderColorDef.h:25: error: forward declaration of ‘struct MObject’
pandatool/src/maya/mayaShaderColorDef.cxx:288: error: ‘MFn’ has not been declared
pandatool/src/maya/mayaShaderColorDef.cxx:289: error: ‘MFnDependencyNode’ was not declared in this scope
pandatool/src/maya/mayaShaderColorDef.cxx:289: error: expected ;' before ‘dfn’ pandatool/src/maya/mayaShaderColorDef.cxx:290: error: invalid use of incomplete type ‘struct MObject’ pandatool/src/maya/mayaShaderColorDef.h:25: error: forward declaration of ‘struct MObject’ pandatool/src/maya/mayaShaderColorDef.cxx:291: error: ‘dfn’ was not declared in this scope pandatool/src/maya/mayaShaderColorDef.cxx:346: error: ‘MFn’ has not been declared pandatool/src/maya/mayaShaderColorDef.cxx:352: error: ‘MFnDependencyNode’ was not declared in this scope pandatool/src/maya/mayaShaderColorDef.cxx:352: error: expected;’ before ‘projection_fn’
pandatool/src/maya/mayaShaderColorDef.cxx:353: error: variable ‘MPlug image_plug’ has initializer but incomplete type
pandatool/src/maya/mayaShaderColorDef.cxx:353: error: ‘projection_fn’ was not declared in this scope
pandatool/src/maya/mayaShaderColorDef.cxx:355: error: ‘MPlugArray’ was not declared in this scope
pandatool/src/maya/mayaShaderColorDef.cxx:355: error: expected ;' before ‘image_pa’ pandatool/src/maya/mayaShaderColorDef.cxx:356: error: ‘image_pa’ was not declared in this scope pandatool/src/maya/mayaShaderColorDef.cxx:381: error: ‘MFn’ has not been declared pandatool/src/maya/mayaShaderColorDef.cxx:387: error: ‘MStatus’ was not declared in this scope pandatool/src/maya/mayaShaderColorDef.cxx:387: error: expected;’ before ‘status’
pandatool/src/maya/mayaShaderColorDef.cxx:388: error: ‘MPlugArray’ was not declared in this scope
pandatool/src/maya/mayaShaderColorDef.cxx:388: error: expected ;' before ‘color_pa’ pandatool/src/maya/mayaShaderColorDef.cxx:389: error: ‘MFnDependencyNode’ was not declared in this scope pandatool/src/maya/mayaShaderColorDef.cxx:389: error: expected;’ before ‘layered_fn’
pandatool/src/maya/mayaShaderColorDef.cxx:390: error: ‘layered_fn’ was not declared in this scope
pandatool/src/maya/mayaShaderColorDef.cxx:390: error: ‘color_pa’ was not declared in this scope
pandatool/src/maya/mayaShaderColorDef.cxx:391: error: variable ‘MPlug inputsPlug’ has initializer but incomplete type
pandatool/src/maya/mayaShaderColorDef.cxx:391: error: ‘status’ was not declared in this scope
pandatool/src/maya/mayaShaderColorDef.cxx:392: error: variable ‘MPlug blendModePlug’ has initializer but incomplete type
pandatool/src/maya/mayaShaderColorDef.cxx:400: error: variable ‘MPlug pl’ has initializer but incomplete type
pandatool/src/maya/mayaShaderColorDef.cxx:401: error: expected ;' before ‘pla’ pandatool/src/maya/mayaShaderColorDef.cxx:402: error: ‘pla’ was not declared in this scope pandatool/src/maya/mayaShaderColorDef.cxx:420: error: ‘MFnEnumAttribute’ was not declared in this scope pandatool/src/maya/mayaShaderColorDef.cxx:420: error: expected;’ before ‘blendModeEnum’
pandatool/src/maya/mayaShaderColorDef.cxx:421: error: ‘MString’ was not declared in this scope
pandatool/src/maya/mayaShaderColorDef.cxx:421: error: expected ;' before ‘blendName’ pandatool/src/maya/mayaShaderColorDef.cxx:439: error: ‘blendName’ was not declared in this scope pandatool/src/maya/mayaShaderColorDef.cxx:504: error: ‘MFn’ was not declared in this scope pandatool/src/maya/mayaShaderColorDef.cxx:504: error: template argument 1 is invalid pandatool/src/maya/mayaShaderColorDef.cxx:504: error: template argument 2 is invalid pandatool/src/maya/mayaShaderColorDef.cxx:504: error: invalid type in declaration before ‘;’ token pandatool/src/maya/mayaShaderColorDef.cxx:505: error: request for member ‘insert’ in ‘bad_types’, which is of non-class type ‘int’ pandatool/src/maya/mayaShaderColorDef.cxx: In static member function ‘static void MayaShaderColorDef::find_textures_modern(const std::string&, MayaShaderColorList&, MPlug, bool, Filename, bool)’: pandatool/src/maya/mayaShaderColorDef.cxx:522: error: ‘inplug’ has incomplete type pandatool/src/maya/mayaShaderColorDef.h:26: error: forward declaration of ‘struct MPlug’ pandatool/src/maya/mayaShaderColorDef.cxx:524: error: ‘MPlugArray’ was not declared in this scope pandatool/src/maya/mayaShaderColorDef.cxx:524: error: expected;’ before ‘outplugs’
pandatool/src/maya/mayaShaderColorDef.cxx:525: error: ‘outplugs’ was not declared in this scope
pandatool/src/maya/mayaShaderColorDef.cxx:535: error: variable ‘MPlug outplug’ has initializer but incomplete type
pandatool/src/maya/mayaShaderColorDef.cxx:536: error: variable ‘MObject source’ has initializer but incomplete type
pandatool/src/maya/mayaShaderColorDef.cxx:537: error: ‘MFnDependencyNode’ was not declared in this scope
pandatool/src/maya/mayaShaderColorDef.cxx:537: error: expected ;' before ‘sourceFn’ pandatool/src/maya/mayaShaderColorDef.cxx:539: error: ‘MFn’ has not been declared pandatool/src/maya/mayaShaderColorDef.cxx:559: error: invalid use of incomplete type ‘struct MObject’ pandatool/src/maya/mayaShaderColorDef.h:25: error: forward declaration of ‘struct MObject’ pandatool/src/maya/mayaShaderColorDef.cxx:579: error: ‘sourceFn’ was not declared in this scope pandatool/src/maya/mayaShaderColorDef.cxx:613: error: ‘MFn’ has not been declared pandatool/src/maya/mayaShaderColorDef.cxx:617: error: variable ‘MPlug image_plug’ has initializer but incomplete type pandatool/src/maya/mayaShaderColorDef.cxx:617: error: ‘sourceFn’ was not declared in this scope pandatool/src/maya/mayaShaderColorDef.cxx:619: error: expected;’ before ‘image_pa’
pandatool/src/maya/mayaShaderColorDef.cxx:620: error: ‘image_pa’ was not declared in this scope
pandatool/src/maya/mayaShaderColorDef.cxx:653: error: ‘MFn’ has not been declared
pandatool/src/maya/mayaShaderColorDef.cxx:658: error: variable ‘MPlug inputsPlug’ has initializer but incomplete type
pandatool/src/maya/mayaShaderColorDef.cxx:658: error: ‘sourceFn’ was not declared in this scope
pandatool/src/maya/mayaShaderColorDef.cxx:661: error: variable ‘MPlug elt’ has initializer but incomplete type
pandatool/src/maya/mayaShaderColorDef.cxx:662: error: aggregate ‘MPlug color’ has incomplete type and cannot be defined
pandatool/src/maya/mayaShaderColorDef.cxx:663: error: aggregate ‘MPlug blend’ has incomplete type and cannot be defined
pandatool/src/maya/mayaShaderColorDef.cxx:665: error: variable ‘MPlug child’ has initializer but incomplete type
pandatool/src/maya/mayaShaderColorDef.cxx:666: error: ‘MFnAttribute’ was not declared in this scope
pandatool/src/maya/mayaShaderColorDef.cxx:666: error: expected ;' before ‘att’ pandatool/src/maya/mayaShaderColorDef.cxx:667: error: ‘att’ was not declared in this scope pandatool/src/maya/mayaShaderColorDef.cxx:668: error: ‘att’ was not declared in this scope pandatool/src/maya/mayaShaderColorDef.cxx:690: error: ‘MFn’ has not been declared pandatool/src/maya/mayaShaderColorDef.cxx:691: error: variable ‘MPlug input_plug’ has initializer but incomplete type pandatool/src/maya/mayaShaderColorDef.cxx:691: error: ‘sourceFn’ was not declared in this scope pandatool/src/maya/mayaShaderColorDef.cxx:704: error: ‘MFn’ was not declared in this scope pandatool/src/maya/mayaShaderColorDef.cxx:704: error: template argument 1 is invalid pandatool/src/maya/mayaShaderColorDef.cxx:704: error: template argument 2 is invalid pandatool/src/maya/mayaShaderColorDef.cxx:704: error: invalid type in declaration before ‘;’ token pandatool/src/maya/mayaShaderColorDef.cxx:705: error: request for member ‘insert’ in ‘bad_types’, which is of non-class type ‘int’ pandatool/src/maya/mayaShaderColorDef.cxx:708: error: ‘sourceFn’ was not declared in this scope In file included from pandatool/src/maya/maya_composite1.cxx:5: pandatool/src/maya/mayaShaders.cxx: In member function ‘MayaShader* MayaShaders::find_shader_for_node(MObject, bool, Filename, bool)’: pandatool/src/maya/mayaShaders.cxx:59: error: ‘node’ has incomplete type pandatool/src/maya/mayaShaderColorDef.h:25: error: forward declaration of ‘struct MObject’ pandatool/src/maya/mayaShaders.cxx:60: error: ‘MStatus’ was not declared in this scope pandatool/src/maya/mayaShaders.cxx:60: error: expected;’ before ‘status’
pandatool/src/maya/mayaShaders.cxx:61: error: ‘MFnDependencyNode’ was not declared in this scope
pandatool/src/maya/mayaShaders.cxx:61: error: expected ;' before ‘node_fn’ pandatool/src/maya/mayaShaders.cxx:63: error: variable ‘MObject iog_attr’ has initializer but incomplete type pandatool/src/maya/mayaShaders.cxx:63: error: ‘node_fn’ was not declared in this scope pandatool/src/maya/mayaShaders.cxx:63: error: ‘status’ was not declared in this scope pandatool/src/maya/mayaShaders.cxx:75: error: variable ‘MPlug iog_plug’ has initializer but incomplete type pandatool/src/maya/mayaShaders.cxx:76: error: ‘MPlugArray’ was not declared in this scope pandatool/src/maya/mayaShaders.cxx:76: error: expected;’ before ‘iog_pa’
pandatool/src/maya/mayaShaders.cxx:77: error: ‘iog_pa’ was not declared in this scope
pandatool/src/maya/mayaShaders.cxx:91: error: variable ‘MObject engine’ has initializer but incomplete type
pandatool/src/maya/mayaShaders.cxx:92: error: ‘MFn’ has not been declared
pandatool/src/maya/mayaShaders.cxx: In member function ‘void MayaShaders::bind_uvsets(MObject)’:
pandatool/src/maya/mayaShaders.cxx:111: error: ‘mesh’ has incomplete type
pandatool/src/maya/mayaShaderColorDef.h:25: error: forward declaration of ‘struct MObject’
pandatool/src/maya/mayaShaders.cxx:115: error: ‘MFn’ has not been declared
pandatool/src/maya/mayaShaders.cxx:116: error: ‘MFnMesh’ was not declared in this scope
pandatool/src/maya/mayaShaders.cxx:116: error: expected ;' before ‘mesh_fn’ pandatool/src/maya/mayaShaders.cxx:117: error: ‘MStatus’ was not declared in this scope pandatool/src/maya/mayaShaders.cxx:117: error: expected;’ before ‘status’
pandatool/src/maya/mayaShaders.cxx:118: error: ‘MStringArray’ was not declared in this scope
pandatool/src/maya/mayaShaders.cxx:118: error: expected ;' before ‘maya_uvset_names’ pandatool/src/maya/mayaShaders.cxx:119: error: ‘status’ was not declared in this scope pandatool/src/maya/mayaShaders.cxx:119: error: ‘mesh_fn’ was not declared in this scope pandatool/src/maya/mayaShaders.cxx:119: error: ‘maya_uvset_names’ was not declared in this scope pandatool/src/maya/mayaShaders.cxx:121: error: ‘MObjectArray’ was not declared in this scope pandatool/src/maya/mayaShaders.cxx:121: error: expected;’ before ‘moa’
pandatool/src/maya/mayaShaders.cxx:124: error: ‘moa’ was not declared in this scope
pandatool/src/maya/mayaShaders.cxx:126: error: ‘MFnDependencyNode’ was not declared in this scope
pandatool/src/maya/mayaShaders.cxx:126: error: expected ;' before ‘dt’ pandatool/src/maya/mayaShaders.cxx:127: error: ‘dt’ was not declared in this scope pandatool/src/maya/mayaShaders.cxx: In member function ‘MayaShader* MayaShaders::find_shader_for_shading_engine(MObject, bool, Filename, bool)’: pandatool/src/maya/mayaShaders.cxx:148: error: ‘engine’ has incomplete type pandatool/src/maya/mayaShaderColorDef.h:25: error: forward declaration of ‘struct MObject’ pandatool/src/maya/mayaShaders.cxx:149: error: ‘MFnDependencyNode’ was not declared in this scope pandatool/src/maya/mayaShaders.cxx:149: error: expected;’ before ‘engine_fn’
pandatool/src/maya/mayaShaders.cxx:151: error: ‘engine_fn’ was not declared in this scope
In file included from pandatool/src/maya/maya_composite1.cxx:6:
pandatool/src/maya/maya_funcs.cxx: In function ‘bool get_maya_plug(MObject&, const std::string&, MPlug&)’:
pandatool/src/maya/maya_funcs.cxx:41: error: ‘MStatus’ was not declared in this scope
pandatool/src/maya/maya_funcs.cxx:41: error: expected ;' before ‘status’ pandatool/src/maya/maya_funcs.cxx:42: error: ‘MFnDependencyNode’ was not declared in this scope pandatool/src/maya/maya_funcs.cxx:42: error: expected;’ before ‘node_fn’
pandatool/src/maya/maya_funcs.cxx:43: error: ‘status’ was not declared in this scope
pandatool/src/maya/maya_funcs.cxx:45: error: invalid use of incomplete type ‘struct MObject’
pandatool/src/maya/mayaShaderColorDef.h:25: error: forward declaration of ‘struct MObject’
pandatool/src/maya/maya_funcs.cxx:49: error: variable ‘MObject attr’ has initializer but incomplete type
pandatool/src/maya/maya_funcs.cxx:49: error: ‘node_fn’ was not declared in this scope
pandatool/src/maya/maya_funcs.cxx:49: error: ‘status’ was not declared in this scope
pandatool/src/maya/maya_funcs.cxx:54: error: ‘MFnAttribute’ was not declared in this scope
pandatool/src/maya/maya_funcs.cxx:54: error: expected ;' before ‘attr_fn’ pandatool/src/maya/maya_funcs.cxx:62: error: invalid use of incomplete type ‘struct MPlug’ pandatool/src/maya/mayaShaderColorDef.h:26: error: forward declaration of ‘struct MPlug’ pandatool/src/maya/maya_funcs.cxx: In function ‘bool is_connected(MObject&, const std::string&)’: pandatool/src/maya/maya_funcs.cxx:73: error: aggregate ‘MPlug plug’ has incomplete type and cannot be defined pandatool/src/maya/maya_funcs.cxx: In function ‘bool has_attribute(MObject&, const std::string&)’: pandatool/src/maya/maya_funcs.cxx:88: error: ‘MStatus’ was not declared in this scope pandatool/src/maya/maya_funcs.cxx:88: error: expected;’ before ‘status’
pandatool/src/maya/maya_funcs.cxx:89: error: ‘MFnDependencyNode’ was not declared in this scope
pandatool/src/maya/maya_funcs.cxx:89: error: expected ;' before ‘node_fn’ pandatool/src/maya/maya_funcs.cxx:90: error: ‘status’ was not declared in this scope pandatool/src/maya/maya_funcs.cxx:92: error: invalid use of incomplete type ‘struct MObject’ pandatool/src/maya/mayaShaderColorDef.h:25: error: forward declaration of ‘struct MObject’ pandatool/src/maya/maya_funcs.cxx:96: error: ‘node_fn’ was not declared in this scope pandatool/src/maya/maya_funcs.cxx:96: error: ‘status’ was not declared in this scope pandatool/src/maya/maya_funcs.cxx: In function ‘bool remove_attribute(MObject&, const std::string&)’: pandatool/src/maya/maya_funcs.cxx:111: error: ‘MStatus’ was not declared in this scope pandatool/src/maya/maya_funcs.cxx:111: error: expected;’ before ‘status’
pandatool/src/maya/maya_funcs.cxx:112: error: ‘MFnDependencyNode’ was not declared in this scope
pandatool/src/maya/maya_funcs.cxx:112: error: expected ;' before ‘node_fn’ pandatool/src/maya/maya_funcs.cxx:113: error: ‘status’ was not declared in this scope pandatool/src/maya/maya_funcs.cxx:115: error: invalid use of incomplete type ‘struct MObject’ pandatool/src/maya/mayaShaderColorDef.h:25: error: forward declaration of ‘struct MObject’ pandatool/src/maya/maya_funcs.cxx:119: error: variable ‘MObject attr’ has initializer but incomplete type pandatool/src/maya/maya_funcs.cxx:119: error: ‘node_fn’ was not declared in this scope pandatool/src/maya/maya_funcs.cxx:119: error: ‘status’ was not declared in this scope pandatool/src/maya/maya_funcs.cxx:128: error: ‘MFnAttribute’ was not declared in this scope pandatool/src/maya/maya_funcs.cxx:128: error: expected;’ before ‘attr_fn’
pandatool/src/maya/maya_funcs.cxx:137: error: ‘MFnDependencyNode’ is not a class or namespace
pandatool/src/maya/maya_funcs.cxx:137: error: expected ;' before ‘type’ pandatool/src/maya/maya_funcs.cxx:145: error: ‘type’ was not declared in this scope pandatool/src/maya/maya_funcs.cxx: In function ‘bool get_angle_attribute(MObject&, const std::string&, double&)’: pandatool/src/maya/maya_funcs.cxx:188: error: ‘MAngle’ was not declared in this scope pandatool/src/maya/maya_funcs.cxx:188: error: expected;’ before ‘maya_value’
pandatool/src/maya/maya_funcs.cxx:189: error: ‘maya_value’ was not declared in this scope
pandatool/src/maya/maya_funcs.cxx:196: error: ‘maya_value’ was not declared in this scope
pandatool/src/maya/maya_funcs.cxx: In function ‘bool get_vec2f_attribute(MObject&, const std::string&, LVecBase2f&)’:
pandatool/src/maya/maya_funcs.cxx:208: error: ‘MStatus’ was not declared in this scope
pandatool/src/maya/maya_funcs.cxx:208: error: expected ;' before ‘status’ pandatool/src/maya/maya_funcs.cxx:210: error: aggregate ‘MObject vec2f_object’ has incomplete type and cannot be defined pandatool/src/maya/maya_funcs.cxx:219: error: ‘MFnNumericData’ was not declared in this scope pandatool/src/maya/maya_funcs.cxx:219: error: expected;’ before ‘data’
pandatool/src/maya/maya_funcs.cxx:220: error: ‘status’ was not declared in this scope
pandatool/src/maya/maya_funcs.cxx:227: error: ‘status’ was not declared in this scope
pandatool/src/maya/maya_funcs.cxx:227: error: ‘data’ was not declared in this scope
pandatool/src/maya/maya_funcs.cxx: In function ‘bool get_vec3f_attribute(MObject&, const std::string&, LVecBase3f&)’:
pandatool/src/maya/maya_funcs.cxx:245: error: ‘MStatus’ was not declared in this scope
pandatool/src/maya/maya_funcs.cxx:245: error: expected ;' before ‘status’ pandatool/src/maya/maya_funcs.cxx:247: error: aggregate ‘MObject vec3f_object’ has incomplete type and cannot be defined pandatool/src/maya/maya_funcs.cxx:256: error: ‘MFnNumericData’ was not declared in this scope pandatool/src/maya/maya_funcs.cxx:256: error: expected;’ before ‘data’
pandatool/src/maya/maya_funcs.cxx:257: error: ‘status’ was not declared in this scope
pandatool/src/maya/maya_funcs.cxx:264: error: ‘status’ was not declared in this scope
pandatool/src/maya/maya_funcs.cxx:264: error: ‘data’ was not declared in this scope
pandatool/src/maya/maya_funcs.cxx: In function ‘bool get_vec2d_attribute(MObject&, const std::string&, LVecBase2d&)’:
pandatool/src/maya/maya_funcs.cxx:282: error: ‘MStatus’ was not declared in this scope
pandatool/src/maya/maya_funcs.cxx:282: error: expected ;' before ‘status’ pandatool/src/maya/maya_funcs.cxx:284: error: aggregate ‘MObject vec2d_object’ has incomplete type and cannot be defined pandatool/src/maya/maya_funcs.cxx:293: error: ‘MFnNumericData’ was not declared in this scope pandatool/src/maya/maya_funcs.cxx:293: error: expected;’ before ‘data’
pandatool/src/maya/maya_funcs.cxx:294: error: ‘status’ was not declared in this scope
pandatool/src/maya/maya_funcs.cxx:301: error: ‘status’ was not declared in this scope
pandatool/src/maya/maya_funcs.cxx:301: error: ‘data’ was not declared in this scope
pandatool/src/maya/maya_funcs.cxx: In function ‘bool get_vec3d_attribute(MObject&, const std::string&, LVecBase3d&)’:
pandatool/src/maya/maya_funcs.cxx:319: error: ‘MStatus’ was not declared in this scope
pandatool/src/maya/maya_funcs.cxx:319: error: expected ;' before ‘status’ pandatool/src/maya/maya_funcs.cxx:321: error: aggregate ‘MObject vec3d_object’ has incomplete type and cannot be defined pandatool/src/maya/maya_funcs.cxx:330: error: ‘MFnNumericData’ was not declared in this scope pandatool/src/maya/maya_funcs.cxx:330: error: expected;’ before ‘data’
pandatool/src/maya/maya_funcs.cxx:331: error: ‘status’ was not declared in this scope
pandatool/src/maya/maya_funcs.cxx:338: error: ‘status’ was not declared in this scope
pandatool/src/maya/maya_funcs.cxx:338: error: ‘data’ was not declared in this scope
pandatool/src/maya/maya_funcs.cxx: In function ‘bool get_mat4d_attribute(MObject&, const std::string&, LMatrix4d&)’:
pandatool/src/maya/maya_funcs.cxx:355: error: ‘MStatus’ was not declared in this scope
pandatool/src/maya/maya_funcs.cxx:355: error: expected ;' before ‘status’ pandatool/src/maya/maya_funcs.cxx:356: error: aggregate ‘MObject matrix’ has incomplete type and cannot be defined pandatool/src/maya/maya_funcs.cxx:361: error: ‘MFnMatrixData’ was not declared in this scope pandatool/src/maya/maya_funcs.cxx:361: error: expected;’ before ‘matrix_data’
pandatool/src/maya/maya_funcs.cxx:362: error: ‘status’ was not declared in this scope
pandatool/src/maya/maya_funcs.cxx:365: error: invalid use of incomplete type ‘struct MObject’
pandatool/src/maya/mayaShaderColorDef.h:25: error: forward declaration of ‘struct MObject’
pandatool/src/maya/maya_funcs.cxx:369: error: expected initializer before ‘&’ token
pandatool/src/maya/maya_funcs.cxx:372: error: ‘mat’ was not declared in this scope
pandatool/src/maya/maya_funcs.cxx: In function ‘void get_tag_attribute_names(MObject&, pvector<std::basic_string<char, std::char_traits, std::allocator > >&)’:
pandatool/src/maya/maya_funcs.cxx:386: error: ‘MStatus’ was not declared in this scope
pandatool/src/maya/maya_funcs.cxx:386: error: expected ;' before ‘status’ pandatool/src/maya/maya_funcs.cxx:387: error: ‘MFnDependencyNode’ was not declared in this scope pandatool/src/maya/maya_funcs.cxx:387: error: expected;’ before ‘node_fn’
pandatool/src/maya/maya_funcs.cxx:388: error: ‘status’ was not declared in this scope
pandatool/src/maya/maya_funcs.cxx:390: error: invalid use of incomplete type ‘struct MObject’
pandatool/src/maya/mayaShaderColorDef.h:25: error: forward declaration of ‘struct MObject’
pandatool/src/maya/maya_funcs.cxx:394: error: ‘node_fn’ was not declared in this scope
pandatool/src/maya/maya_funcs.cxx:398: error: variable ‘MObject attr’ has initializer but incomplete type
pandatool/src/maya/maya_funcs.cxx:398: error: ‘status’ was not declared in this scope
pandatool/src/maya/maya_funcs.cxx:400: error: ‘MFnAttribute’ was not declared in this scope
pandatool/src/maya/maya_funcs.cxx:400: error: expected ;' before ‘attrib’ pandatool/src/maya/maya_funcs.cxx:402: error: ‘attrib’ was not declared in this scope pandatool/src/maya/maya_funcs.cxx: In function ‘bool get_enum_attribute(MObject&, const std::string&, std::string&)’: pandatool/src/maya/maya_funcs.cxx:420: error: ‘MStatus’ was not declared in this scope pandatool/src/maya/maya_funcs.cxx:420: error: expected;’ before ‘status’
pandatool/src/maya/maya_funcs.cxx:422: error: aggregate ‘MPlug plug’ has incomplete type and cannot be defined
pandatool/src/maya/maya_funcs.cxx:427: error: variable ‘MObject attrib’ has initializer but incomplete type
pandatool/src/maya/maya_funcs.cxx:428: error: ‘MFnEnumAttribute’ was not declared in this scope
pandatool/src/maya/maya_funcs.cxx:428: error: expected ;' before ‘enum_attrib’ pandatool/src/maya/maya_funcs.cxx:429: error: ‘status’ was not declared in this scope pandatool/src/maya/maya_funcs.cxx:436: error: ‘status’ was not declared in this scope pandatool/src/maya/maya_funcs.cxx:444: error: ‘MString’ was not declared in this scope pandatool/src/maya/maya_funcs.cxx:444: error: expected;’ before ‘name’
pandatool/src/maya/maya_funcs.cxx:452: error: ‘name’ was not declared in this scope
pandatool/src/maya/maya_funcs.cxx: In function ‘bool get_string_attribute(MObject&, const std::string&, std::string&)’:
pandatool/src/maya/maya_funcs.cxx:464: error: ‘MStatus’ was not declared in this scope
pandatool/src/maya/maya_funcs.cxx:464: error: expected ;' before ‘status’ pandatool/src/maya/maya_funcs.cxx:466: error: aggregate ‘MObject string_object’ has incomplete type and cannot be defined pandatool/src/maya/maya_funcs.cxx:475: error: ‘MFnStringData’ was not declared in this scope pandatool/src/maya/maya_funcs.cxx:475: error: expected;’ before ‘data’
pandatool/src/maya/maya_funcs.cxx:476: error: ‘status’ was not declared in this scope
pandatool/src/maya/maya_funcs.cxx:483: error: ‘data’ was not declared in this scope
pandatool/src/maya/maya_funcs.cxx: In function ‘bool set_string_attribute(MObject&, const std::string&, const std::string&)’:
pandatool/src/maya/maya_funcs.cxx:495: error: ‘MStatus’ was not declared in this scope
pandatool/src/maya/maya_funcs.cxx:495: error: expected ;' before ‘status’ pandatool/src/maya/maya_funcs.cxx:498: error: aggregate ‘MObject string_object’ has incomplete type and cannot be defined pandatool/src/maya/maya_funcs.cxx:507: error: ‘MFnStringData’ was not declared in this scope pandatool/src/maya/maya_funcs.cxx:507: error: expected;’ before ‘data’
pandatool/src/maya/maya_funcs.cxx:508: error: ‘status’ was not declared in this scope
pandatool/src/maya/maya_funcs.cxx:515: error: ‘MString’ was not declared in this scope
pandatool/src/maya/maya_funcs.cxx:515: error: expected ;' before ‘mstring_value’ pandatool/src/maya/maya_funcs.cxx:516: error: ‘status’ was not declared in this scope pandatool/src/maya/maya_funcs.cxx:516: error: ‘data’ was not declared in this scope pandatool/src/maya/maya_funcs.cxx:516: error: ‘mstring_value’ was not declared in this scope pandatool/src/maya/maya_funcs.cxx: In function ‘bool describe_compound_attribute(MObject&)’: pandatool/src/maya/maya_funcs.cxx:540: error: ‘MStatus’ was not declared in this scope pandatool/src/maya/maya_funcs.cxx:540: error: expected;’ before ‘status’
pandatool/src/maya/maya_funcs.cxx:542: error: ‘MFnCompoundAttribute’ was not declared in this scope
pandatool/src/maya/maya_funcs.cxx:542: error: expected ;' before ‘comp_attr’ pandatool/src/maya/maya_funcs.cxx:544: error: ‘comp_attr’ was not declared in this scope pandatool/src/maya/maya_funcs.cxx:546: error: variable ‘MObject child’ has initializer but incomplete type pandatool/src/maya/maya_funcs.cxx:546: error: ‘status’ was not declared in this scope pandatool/src/maya/maya_funcs.cxx:547: error: ‘MFn’ has not been declared pandatool/src/maya/maya_funcs.cxx:555: error: ‘MFn’ has not been declared pandatool/src/maya/maya_funcs.cxx:556: error: ‘MFnNumericAttribute’ was not declared in this scope pandatool/src/maya/maya_funcs.cxx:556: error: expected;’ before ‘numeric’
pandatool/src/maya/maya_funcs.cxx:558: error: ‘numeric’ was not declared in this scope
pandatool/src/maya/maya_funcs.cxx:559: error: ‘MFnNumericData’ has not been declared
pandatool/src/maya/maya_funcs.cxx:564: error: ‘MFnNumericData’ has not been declared
pandatool/src/maya/maya_funcs.cxx:573: error: ‘MFn’ has not been declared
pandatool/src/maya/maya_funcs.cxx:574: error: ‘MFnEnumAttribute’ was not declared in this scope
pandatool/src/maya/maya_funcs.cxx:574: error: expected ;' before ‘enu’ pandatool/src/maya/maya_funcs.cxx:576: error: ‘MString’ was not declared in this scope pandatool/src/maya/maya_funcs.cxx:576: error: expected;’ before ‘blah’
pandatool/src/maya/maya_funcs.cxx:577: error: ‘enu’ was not declared in this scope
pandatool/src/maya/maya_funcs.cxx:577: error: ‘blah’ was not declared in this scope
pandatool/src/maya/maya_funcs.cxx:579: error: variable ‘MPlug plug’ has initializer but incomplete type
pandatool/src/maya/maya_funcs.cxx:579: error: invalid use of incomplete type ‘struct MPlug’
pandatool/src/maya/mayaShaderColorDef.h:26: error: forward declaration of ‘struct MPlug’
pandatool/src/maya/maya_funcs.cxx: In function ‘void describe_maya_attribute(MObject&, const std::string&)’:
pandatool/src/maya/maya_funcs.cxx:594: error: ‘MStatus’ was not declared in this scope
pandatool/src/maya/maya_funcs.cxx:594: error: expected ;' before ‘status’ pandatool/src/maya/maya_funcs.cxx:595: error: ‘MFnDependencyNode’ was not declared in this scope pandatool/src/maya/maya_funcs.cxx:595: error: expected;’ before ‘node_fn’
pandatool/src/maya/maya_funcs.cxx:596: error: ‘status’ was not declared in this scope
pandatool/src/maya/maya_funcs.cxx:598: error: invalid use of incomplete type ‘struct MObject’
pandatool/src/maya/mayaShaderColorDef.h:25: error: forward declaration of ‘struct MObject’
pandatool/src/maya/maya_funcs.cxx:602: error: variable ‘MObject attr’ has initializer but incomplete type
pandatool/src/maya/maya_funcs.cxx:602: error: ‘node_fn’ was not declared in this scope
pandatool/src/maya/maya_funcs.cxx:602: error: ‘status’ was not declared in this scope
pandatool/src/maya/maya_funcs.cxx: At global scope:
pandatool/src/maya/maya_funcs.cxx:616: error: redefinition of ‘std::string string_mfndata_type’
pandatool/src/maya/maya_funcs.h:106: error: ‘std::string string_mfndata_type’ previously declared here
pandatool/src/maya/maya_funcs.cxx:616: error: ‘MFnData’ has not been declared
pandatool/src/maya/maya_funcs.T: In function ‘bool get_maya_attribute(MObject&, const std::string&, ValueType&) [with ValueType = bool]’:
pandatool/src/maya/maya_funcs.cxx:170: instantiated from here
pandatool/src/maya/maya_funcs.T:28: error: ‘plug’ has incomplete type
Storing dependency cache.
Elapsed Time: 6 sec

Build terminated.
Borron:panda3d rulfb$

Thanks!

Somehow, makepanda thinks you have Maya 2011 installed. Try adding the --no-maya2011 flag.

The fact is, that I have a version of Maya 2011 installed on may iMac!

And I really would like to have of Panda3d version that has Maya 2011 to egg exporter with it.

But, for a test, I added in -no-maya2011, and it works like a charm.

Borron:panda3d rulfb$ ppython makepanda/makepanda.py --everything --no-maya2011 --installer
Generating library cache…
WARNING: Could not locate thirdparty package osmesa, excluding from build
WARNING: Could not locate pkg-config package gtk±2.0, excluding from build
Generating dependencies…
[ 82%] Building Bison object built/tmp/pvrml_vrmlParser.o
[ 82%] Building Flex object built/tmp/pvrml_vrmlLexer.o
[ 82%] Building C++ object built/tmp/pvrml_parse_vrml.o
[ 83%] Building C++ object built/tmp/pvrml_standard_nodes.o
[ 83%] Building C++ object built/tmp/pvrml_vrmlNode.o
[ 83%] Building C++ object built/tmp/pvrml_vrmlNodeType.o

[ 99%] Compressing built/models/yup-axis.egg.pz
built/models/yup-axis.egg.pz
[ 99%] Compressing built/models/zup-axis.egg.pz
built/models/zup-axis.egg.pz
[100%] Building installer
Listing dstroot/pythoncode/Developer/Panda3D/lib/Pmw …
Listing dstroot/pythoncode/Developer/Panda3D/lib/Pmw/Pmw_1_2 …

Compiling dstroot/pythoncode/Developer/Panda3D/lib/direct/wxwidgets/WxSlider.py …
Compiling dstroot/pythoncode/Developer/Panda3D/lib/direct/wxwidgets/init.py …

created: /Users/rulfb/panda3d/Panda3D-rw.dmg
Preparing imaging engine…
Reading Driver Descriptor Map (DDM : 0)…
(CRC32 $18430EE1: Driver Descriptor Map (DDM : 0))
Reading Apple (Apple_partition_map : 1)…
(CRC32 $0AE258BE: Apple (Apple_partition_map : 1))
Reading disk image (Apple_HFS : 2)…

(CRC32 $456820E6: disk image (Apple_HFS : 2))
Reading (Apple_Free : 3)…

(CRC32 $00000000: (Apple_Free : 3))
Adding resources…

Elapsed Time: 11.802s
File size: 75963716 bytes, Checksum: CRC32 DC8A5E3A Sectors processed: 184857, 154321 compressed Speed: 6.4Mbytes/sec Savings: 19.7% created: /Users/rulfb/panda3d/Panda3D-1.7.1.dmg Storing dependency cache. Build successfully finished, elapsed time: 3 min 25 sec Borron:panda3d rulfb

So is there any way of compiling Panda3d with Maya2011 to egg exporter?

Ronnie

Ah, then there’s an issue in makepanda. Can you tell me in which directory Maya is located?

Yes, it’s

/Applications/Autodesk/maya2011

That’s the default path for maya2011 installation.

Ronnie

Hmm. Can you run makepanda with --verbose and show the command that makepanda invokes, when the error occurs?

Absolutely,

I’ll copy it all in, as I don’t know what you are looking for, long output:(

Borron:panda3d rulfb$ ppython makepanda/makepanda.py --everything --verbose --installer
Generating library cache…
Couldn’t find any of the libraries FColladaD, FColladaSD
Couldn’t find header file GL/osmesa.h
WARNING: Could not locate thirdparty package osmesa, excluding from build
WARNING: Could not locate pkg-config package gtk±2.0, excluding from build
Generating dependencies…
WARNING: file dependencies changed: [‘built/models/maps/smiley.rgb’]
WARNING: file dependencies changed: [‘built/models/maps/smiley.rgb’]
[ 78%] Building C++ object built/tmp/maya2011_composite1.o
g++ -ftemplate-depth-30 -fPIC -c -o built/tmp/maya2011_composite1.o -I/System/Library/Frameworks/Python.framework/Versions/2.5/include/python2.5 -I/Applications/Autodesk/maya2011/Maya.app/Contents/include -Ibuilt/tmp -Ibuilt/include -DMAYAVERSION=MAYA2011 -DMAKEPANDA= -Ipandatool/src/maya -Wno-deprecated-declarations -arch i386 -O2 pandatool/src/maya/maya_composite1.cxx
In file included from pandatool/src/maya/mayaApi.cxx:20,
from pandatool/src/maya/maya_composite1.cxx:2:
pandatool/src/maya/pre_maya_include.h:68:30: error: maya/OpenMayaMac.h: No such file or directory
In file included from pandatool/src/maya/maya_composite1.cxx:2:
pandatool/src/maya/mayaApi.cxx:21:26: error: maya/MGlobal.h: No such file or directory
pandatool/src/maya/mayaApi.cxx:22:28: error: maya/MDistance.h: No such file or directory
pandatool/src/maya/mayaApi.cxx:23:26: error: maya/MFileIO.h: No such file or directory
pandatool/src/maya/mayaApi.cxx:24:27: error: maya/MLibrary.h: No such file or directory
pandatool/src/maya/mayaApi.cxx:25:26: error: maya/MStatus.h: No such file or directory
pandatool/src/maya/mayaApi.cxx:26:31: error: maya/MFnAnimCurve.h: No such file or directory
In file included from pandatool/src/maya/mayaShader.cxx:18,
from pandatool/src/maya/maya_composite1.cxx:3:
pandatool/src/maya/maya_funcs.h:23:31: error: maya/MFnAttribute.h: No such file or directory
pandatool/src/maya/maya_funcs.h:24:24: error: maya/MPlug.h: No such file or directory
pandatool/src/maya/maya_funcs.h:26:36: error: maya/MFnDependencyNode.h: No such file or directory
pandatool/src/maya/maya_funcs.h:27:26: error: maya/MObject.h: No such file or directory
pandatool/src/maya/maya_funcs.h:28:26: error: maya/MString.h: No such file or directory
pandatool/src/maya/maya_funcs.h:29:26: error: maya/MVector.h: No such file or directory
In file included from pandatool/src/maya/maya_composite1.cxx:3:
pandatool/src/maya/mayaShader.cxx:26:35: error: maya/MFnLambertShader.h: No such file or directory
pandatool/src/maya/mayaShader.cxx:27:33: error: maya/MFnPhongShader.h: No such file or directory
pandatool/src/maya/mayaShader.cxx:28:26: error: maya/MFnMesh.h: No such file or directory
pandatool/src/maya/mayaShader.cxx:30:29: error: maya/MPlugArray.h: No such file or directory
pandatool/src/maya/mayaShader.cxx:31:25: error: maya/MColor.h: No such file or directory
In file included from pandatool/src/maya/maya_composite1.cxx:4:
pandatool/src/maya/mayaShaderColorDef.cxx:30:35: error: maya/MFnEnumAttribute.h: No such file or directory
In file included from pandatool/src/maya/maya_composite1.cxx:5:
pandatool/src/maya/mayaShaders.cxx:28:31: error: maya/MObjectArray.h: No such file or directory
pandatool/src/maya/mayaShaders.cxx:31:22: error: maya/MFn.h: No such file or directory
In file included from pandatool/src/maya/maya_composite1.cxx:6:
pandatool/src/maya/maya_funcs.cxx:19:25: error: maya/MAngle.h: No such file or directory
pandatool/src/maya/maya_funcs.cxx:22:32: error: maya/MFnStringData.h: No such file or directory
pandatool/src/maya/maya_funcs.cxx:23:33: error: maya/MFnNumericData.h: No such file or directory
pandatool/src/maya/maya_funcs.cxx:27:36: error: maya/MFnTypedAttribute.h: No such file or directory
pandatool/src/maya/maya_funcs.cxx:28:38: error: maya/MFnNumericAttribute.h: No such file or directory
pandatool/src/maya/maya_funcs.cxx:30:39: error: maya/MFnCompoundAttribute.h: No such file or directory
pandatool/src/maya/maya_funcs.cxx:31:32: error: maya/MFnMatrixData.h: No such file or directory
pandatool/src/maya/maya_funcs.cxx:32:26: error: maya/MMatrix.h: No such file or directory
In file included from pandatool/src/maya/maya_composite1.cxx:2:
pandatool/src/maya/mayaApi.cxx:38: error: ‘MFnAnimCurve’ does not name a type
pandatool/src/maya/mayaApi.cxx: In constructor ‘MayaApi::MayaApi(const std::string&, bool, bool)’:
pandatool/src/maya/mayaApi.cxx:68: error: ‘MStatus’ was not declared in this scope
pandatool/src/maya/mayaApi.cxx:68: error: expected ;' before ‘stat’ pandatool/src/maya/mayaApi.cxx:72: error: request for member ‘perror’ in ‘stat’, which is of non-class type ‘int ()(const char*, stat*)’ pandatool/src/maya/mayaApi.cxx:74: error: ‘MLibrary’ has not been declared pandatool/src/maya/mayaApi.cxx:96: error: request for member ‘perror’ in ‘stat’, which is of non-class type ‘int ()(const char*, stat*)’ pandatool/src/maya/mayaApi.cxx: In destructor ‘virtual MayaApi::~MayaApi()’: pandatool/src/maya/mayaApi.cxx:136: error: ‘MLibrary’ has not been declared pandatool/src/maya/mayaApi.cxx: In static member function ‘static PointerTo<MayaApi> MayaApi::open_api(std::string, bool, bool)’: pandatool/src/maya/mayaApi.cxx:180: error: ‘MGlobal’ has not been declared pandatool/src/maya/mayaApi.cxx:214: error: ‘MAYA_API_VERSION’ was not declared in this scope pandatool/src/maya/mayaApi.cxx:219: error: ‘MAYA_API_VERSION’ was not declared in this scope pandatool/src/maya/mayaApi.cxx: In member function ‘bool MayaApi::read(const Filename&)’: pandatool/src/maya/mayaApi.cxx:266: error: ‘MFileIO’ has not been declared pandatool/src/maya/mayaApi.cxx:279: error: ‘MFileIO’ has not been declared pandatool/src/maya/mayaApi.cxx:280: error: ‘MStatus’ was not declared in this scope pandatool/src/maya/mayaApi.cxx:280: error: expected;’ before ‘stat’
pandatool/src/maya/mayaApi.cxx:297: error: request for member ‘perror’ in ‘stat’, which is of non-class type ‘int ()(const char*, stat*)’
pandatool/src/maya/mayaApi.cxx: In member function ‘bool MayaApi::write(const Filename&)’:
pandatool/src/maya/mayaApi.cxx:325: error: ‘MStatus’ was not declared in this scope
pandatool/src/maya/mayaApi.cxx:325: error: expected ;' before ‘stat’ pandatool/src/maya/mayaApi.cxx:327: error: request for member ‘perror’ in ‘stat’, which is of non-class type ‘int ()(const char*, stat*)’ pandatool/src/maya/mayaApi.cxx: In member function ‘bool MayaApi::clear()’: pandatool/src/maya/mayaApi.cxx:357: error: ‘MStatus’ was not declared in this scope pandatool/src/maya/mayaApi.cxx:357: error: expected;’ before ‘stat’
pandatool/src/maya/mayaApi.cxx:359: error: request for member ‘perror’ in ‘stat’, which is of non-class type ‘int ()(const char*, stat*)’
pandatool/src/maya/mayaApi.cxx: In member function ‘DistanceUnit MayaApi::get_units()’:
pandatool/src/maya/mayaApi.cxx:372: error: ‘MDistance’ has not been declared
pandatool/src/maya/mayaApi.cxx:373: error: ‘MDistance’ has not been declared
pandatool/src/maya/mayaApi.cxx:375: error: ‘MDistance’ has not been declared
pandatool/src/maya/mayaApi.cxx:377: error: ‘MDistance’ has not been declared
pandatool/src/maya/mayaApi.cxx:379: error: ‘MDistance’ has not been declared
pandatool/src/maya/mayaApi.cxx:381: error: ‘MDistance’ has not been declared
pandatool/src/maya/mayaApi.cxx:383: error: ‘MDistance’ has not been declared
pandatool/src/maya/mayaApi.cxx:385: error: ‘MDistance’ has not been declared
pandatool/src/maya/mayaApi.cxx:387: error: ‘MDistance’ has not been declared
pandatool/src/maya/mayaApi.cxx: In member function ‘void MayaApi::set_units(DistanceUnit)’:
pandatool/src/maya/mayaApi.cxx:404: error: ‘MDistance’ has not been declared
pandatool/src/maya/mayaApi.cxx:404: error: ‘MDistance’ has not been declared
pandatool/src/maya/mayaApi.cxx:407: error: ‘MDistance’ has not been declared
pandatool/src/maya/mayaApi.cxx:407: error: ‘MDistance’ has not been declared
pandatool/src/maya/mayaApi.cxx:410: error: ‘MDistance’ has not been declared
pandatool/src/maya/mayaApi.cxx:410: error: ‘MDistance’ has not been declared
pandatool/src/maya/mayaApi.cxx:413: error: ‘MDistance’ has not been declared
pandatool/src/maya/mayaApi.cxx:413: error: ‘MDistance’ has not been declared
pandatool/src/maya/mayaApi.cxx:416: error: ‘MDistance’ has not been declared
pandatool/src/maya/mayaApi.cxx:416: error: ‘MDistance’ has not been declared
pandatool/src/maya/mayaApi.cxx:419: error: ‘MDistance’ has not been declared
pandatool/src/maya/mayaApi.cxx:419: error: ‘MDistance’ has not been declared
pandatool/src/maya/mayaApi.cxx:422: error: ‘MDistance’ has not been declared
pandatool/src/maya/mayaApi.cxx:422: error: ‘MDistance’ has not been declared
pandatool/src/maya/mayaApi.cxx:425: error: ‘MDistance’ has not been declared
pandatool/src/maya/mayaApi.cxx:425: error: ‘MDistance’ has not been declared
pandatool/src/maya/mayaApi.cxx: In member function ‘CoordinateSystem MayaApi::get_coordinate_system()’:
pandatool/src/maya/mayaApi.cxx:440: error: ‘MGlobal’ has not been declared
In file included from pandatool/src/maya/mayaShader.cxx:18,
from pandatool/src/maya/maya_composite1.cxx:3:
pandatool/src/maya/maya_funcs.h: At global scope:
pandatool/src/maya/maya_funcs.h:106: error: ‘MFnData’ has not been declared
pandatool/src/maya/maya_funcs.h:114: error: expected ‘,’ or ‘…’ before ‘&’ token
pandatool/src/maya/maya_funcs.h:114: error: ISO C++ forbids declaration of ‘MString’ with no type
pandatool/src/maya/maya_funcs.h:115: error: expected ‘,’ or ‘…’ before ‘&’ token
pandatool/src/maya/maya_funcs.h:115: error: ISO C++ forbids declaration of ‘MVector’ with no type
In file included from pandatool/src/maya/maya_funcs.h:117,
from pandatool/src/maya/mayaShader.cxx:18,
from pandatool/src/maya/maya_composite1.cxx:3:
pandatool/src/maya/maya_funcs.I:20: error: expected ‘,’ or ‘…’ before ‘&’ token
pandatool/src/maya/maya_funcs.I:20: error: ISO C++ forbids declaration of ‘MString’ with no type
pandatool/src/maya/maya_funcs.I: In function ‘std::ostream& operator<<(std::ostream&, int)’:
pandatool/src/maya/maya_funcs.I:21: error: ‘str’ was not declared in this scope
pandatool/src/maya/maya_funcs.I: At global scope:
pandatool/src/maya/maya_funcs.I:28: error: expected ‘,’ or ‘…’ before ‘&’ token
pandatool/src/maya/maya_funcs.I:28: error: ISO C++ forbids declaration of ‘MVector’ with no type
pandatool/src/maya/maya_funcs.I: In function ‘std::ostream& operator<<(std::ostream&, int)’:
pandatool/src/maya/maya_funcs.I:28: error: redefinition of ‘std::ostream& operator<<(std::ostream&, int)’
pandatool/src/maya/maya_funcs.I:20: error: ‘std::ostream& operator<<(std::ostream&, int)’ previously defined here
pandatool/src/maya/maya_funcs.I:29: error: ‘vec’ was not declared in this scope
In file included from pandatool/src/maya/maya_funcs.h:118,
from pandatool/src/maya/mayaShader.cxx:18,
from pandatool/src/maya/maya_composite1.cxx:3:
pandatool/src/maya/maya_funcs.T: In function ‘bool get_maya_attribute(MObject&, const std::string&, ValueType&)’:
pandatool/src/maya/maya_funcs.T:30: error: invalid use of incomplete type ‘struct MPlug’
pandatool/src/maya/mayaShaderColorDef.h:26: error: forward declaration of ‘struct MPlug’
pandatool/src/maya/maya_funcs.T: In function ‘bool set_maya_attribute(MObject&, const std::string&, ValueType&)’:
pandatool/src/maya/maya_funcs.T:50: error: invalid use of incomplete type ‘struct MPlug’
pandatool/src/maya/mayaShaderColorDef.h:26: error: forward declaration of ‘struct MPlug’
In file included from pandatool/src/maya/maya_composite1.cxx:3:
pandatool/src/maya/mayaShader.cxx: In constructor ‘MayaShader::MayaShader(MObject, bool, Filename, bool)’:
pandatool/src/maya/mayaShader.cxx:43: error: ‘engine’ has incomplete type
pandatool/src/maya/mayaShaderColorDef.h:25: error: forward declaration of ‘struct MObject’
pandatool/src/maya/mayaShader.cxx:44: error: ‘MFnDependencyNode’ was not declared in this scope
pandatool/src/maya/mayaShader.cxx:44: error: expected ;' before ‘engine_fn’ pandatool/src/maya/mayaShader.cxx:46: error: ‘engine_fn’ was not declared in this scope pandatool/src/maya/mayaShader.cxx:58: error: variable ‘MPlug shader_plug’ has initializer but incomplete type pandatool/src/maya/mayaShader.cxx:61: error: ‘MPlugArray’ was not declared in this scope pandatool/src/maya/mayaShader.cxx:61: error: expected;’ before ‘shader_pa’
pandatool/src/maya/mayaShader.cxx:62: error: ‘shader_pa’ was not declared in this scope
pandatool/src/maya/mayaShader.cxx:65: error: variable ‘MObject shader’ has initializer but incomplete type
pandatool/src/maya/mayaShader.cxx:66: error: ‘MFn’ has not been declared
pandatool/src/maya/mayaShader.cxx:72: error: ‘MFn’ has not been declared
pandatool/src/maya/mayaShader.cxx:77: error: ‘MFn’ has not been declared
pandatool/src/maya/mayaShader.cxx: In member function ‘bool MayaShader::find_textures_modern(MObject)’:
pandatool/src/maya/mayaShader.cxx:214: error: ‘shader’ has incomplete type
pandatool/src/maya/mayaShaderColorDef.h:25: error: forward declaration of ‘struct MObject’
pandatool/src/maya/mayaShader.cxx:215: error: ‘MFn’ has not been declared
pandatool/src/maya/mayaShader.cxx:220: error: ‘MStatus’ was not declared in this scope
pandatool/src/maya/mayaShader.cxx:220: error: expected ;' before ‘status’ pandatool/src/maya/mayaShader.cxx:221: error: ‘MFnPhongShader’ was not declared in this scope pandatool/src/maya/mayaShader.cxx:221: error: expected;’ before ‘phong_fn’
pandatool/src/maya/mayaShader.cxx:222: error: ‘MFnDependencyNode’ was not declared in this scope
pandatool/src/maya/mayaShader.cxx:222: error: expected ;' before ‘shader_fn’ pandatool/src/maya/mayaShader.cxx:226: error: ‘shader_fn’ was not declared in this scope pandatool/src/maya/mayaShader.cxx:229: error: ‘shader_fn’ was not declared in this scope pandatool/src/maya/mayaShader.cxx:258: error: ‘MColor’ was not declared in this scope pandatool/src/maya/mayaShader.cxx:258: error: expected;’ before ‘color’
pandatool/src/maya/mayaShader.cxx:259: error: ‘status’ was not declared in this scope
pandatool/src/maya/mayaShader.cxx:260: error: ‘color’ was not declared in this scope
pandatool/src/maya/mayaShader.cxx:263: error: ‘color’ was not declared in this scope
pandatool/src/maya/mayaShader.cxx:263: error: ‘phong_fn’ was not declared in this scope
pandatool/src/maya/mayaShader.cxx:263: error: ‘status’ was not declared in this scope
pandatool/src/maya/mayaShader.cxx: In member function ‘bool MayaShader::find_textures_legacy(MObject)’:
pandatool/src/maya/mayaShader.cxx:459: error: ‘shader’ has incomplete type
pandatool/src/maya/mayaShaderColorDef.h:25: error: forward declaration of ‘struct MObject’
pandatool/src/maya/mayaShader.cxx:460: error: ‘MStatus’ was not declared in this scope
pandatool/src/maya/mayaShader.cxx:460: error: expected ;' before ‘status’ pandatool/src/maya/mayaShader.cxx:461: error: ‘MFnDependencyNode’ was not declared in this scope pandatool/src/maya/mayaShader.cxx:461: error: expected;’ before ‘shader_fn’
pandatool/src/maya/mayaShader.cxx:465: error: ‘shader_fn’ was not declared in this scope
pandatool/src/maya/mayaShader.cxx:472: error: variable ‘MPlug color_plug’ has initializer but incomplete type
pandatool/src/maya/mayaShader.cxx:472: error: ‘shader_fn’ was not declared in this scope
pandatool/src/maya/mayaShader.cxx:481: error: ‘MPlugArray’ was not declared in this scope
pandatool/src/maya/mayaShader.cxx:481: error: expected ;' before ‘color_pa’ pandatool/src/maya/mayaShader.cxx:482: error: ‘color_pa’ was not declared in this scope pandatool/src/maya/mayaShader.cxx:498: error: variable ‘MPlug trans_plug’ has initializer but incomplete type pandatool/src/maya/mayaShader.cxx:504: error: ‘MPlugArray’ was not declared in this scope pandatool/src/maya/mayaShader.cxx:504: error: expected;’ before ‘trans_pa’
pandatool/src/maya/mayaShader.cxx:505: error: ‘trans_pa’ was not declared in this scope
pandatool/src/maya/mayaShader.cxx:516: error: ‘MFn’ has not been declared
pandatool/src/maya/mayaShader.cxx:517: error: ‘MFnLambertShader’ was not declared in this scope
pandatool/src/maya/mayaShader.cxx:517: error: expected ;' before ‘lambert_fn’ pandatool/src/maya/mayaShader.cxx:518: error: ‘MColor’ was not declared in this scope pandatool/src/maya/mayaShader.cxx:518: error: expected;’ before ‘color’
pandatool/src/maya/mayaShader.cxx:519: error: ‘status’ was not declared in this scope
pandatool/src/maya/mayaShader.cxx:524: error: ‘color’ was not declared in this scope
pandatool/src/maya/mayaShader.cxx:533: error: ‘lambert_fn’ was not declared in this scope
In file included from pandatool/src/maya/maya_composite1.cxx:4:
pandatool/src/maya/mayaShaderColorDef.cxx: In destructor ‘MayaShaderColorDef::~MayaShaderColorDef()’:
pandatool/src/maya/mayaShaderColorDef.cxx:139: warning: possible problem detected in invocation of delete operator:
pandatool/src/maya/mayaShaderColorDef.cxx:139: warning: invalid use of incomplete type ‘struct MObject’
pandatool/src/maya/mayaShaderColorDef.h:25: warning: forward declaration of ‘struct MObject’
pandatool/src/maya/mayaShaderColorDef.cxx:139: note: neither the destructor nor the class-specific operator delete will be called, even if they are declared when the class is defined.
pandatool/src/maya/mayaShaderColorDef.cxx: In member function ‘void MayaShaderColorDef::find_textures_legacy(MayaShader*, MObject, bool, Filename, bool)’:
pandatool/src/maya/mayaShaderColorDef.cxx:269: error: ‘color’ has incomplete type
pandatool/src/maya/mayaShaderColorDef.h:25: error: forward declaration of ‘struct MObject’
pandatool/src/maya/mayaShaderColorDef.cxx:288: error: ‘MFn’ has not been declared
pandatool/src/maya/mayaShaderColorDef.cxx:289: error: ‘MFnDependencyNode’ was not declared in this scope
pandatool/src/maya/mayaShaderColorDef.cxx:289: error: expected ;' before ‘dfn’ pandatool/src/maya/mayaShaderColorDef.cxx:290: error: invalid use of incomplete type ‘struct MObject’ pandatool/src/maya/mayaShaderColorDef.h:25: error: forward declaration of ‘struct MObject’ pandatool/src/maya/mayaShaderColorDef.cxx:291: error: ‘dfn’ was not declared in this scope pandatool/src/maya/mayaShaderColorDef.cxx:346: error: ‘MFn’ has not been declared pandatool/src/maya/mayaShaderColorDef.cxx:352: error: ‘MFnDependencyNode’ was not declared in this scope pandatool/src/maya/mayaShaderColorDef.cxx:352: error: expected;’ before ‘projection_fn’
pandatool/src/maya/mayaShaderColorDef.cxx:353: error: variable ‘MPlug image_plug’ has initializer but incomplete type
pandatool/src/maya/mayaShaderColorDef.cxx:353: error: ‘projection_fn’ was not declared in this scope
pandatool/src/maya/mayaShaderColorDef.cxx:355: error: ‘MPlugArray’ was not declared in this scope
pandatool/src/maya/mayaShaderColorDef.cxx:355: error: expected ;' before ‘image_pa’ pandatool/src/maya/mayaShaderColorDef.cxx:356: error: ‘image_pa’ was not declared in this scope pandatool/src/maya/mayaShaderColorDef.cxx:381: error: ‘MFn’ has not been declared pandatool/src/maya/mayaShaderColorDef.cxx:387: error: ‘MStatus’ was not declared in this scope pandatool/src/maya/mayaShaderColorDef.cxx:387: error: expected;’ before ‘status’
pandatool/src/maya/mayaShaderColorDef.cxx:388: error: ‘MPlugArray’ was not declared in this scope
pandatool/src/maya/mayaShaderColorDef.cxx:388: error: expected ;' before ‘color_pa’ pandatool/src/maya/mayaShaderColorDef.cxx:389: error: ‘MFnDependencyNode’ was not declared in this scope pandatool/src/maya/mayaShaderColorDef.cxx:389: error: expected;’ before ‘layered_fn’
pandatool/src/maya/mayaShaderColorDef.cxx:390: error: ‘layered_fn’ was not declared in this scope
pandatool/src/maya/mayaShaderColorDef.cxx:390: error: ‘color_pa’ was not declared in this scope
pandatool/src/maya/mayaShaderColorDef.cxx:391: error: variable ‘MPlug inputsPlug’ has initializer but incomplete type
pandatool/src/maya/mayaShaderColorDef.cxx:391: error: ‘status’ was not declared in this scope
pandatool/src/maya/mayaShaderColorDef.cxx:392: error: variable ‘MPlug blendModePlug’ has initializer but incomplete type
pandatool/src/maya/mayaShaderColorDef.cxx:400: error: variable ‘MPlug pl’ has initializer but incomplete type
pandatool/src/maya/mayaShaderColorDef.cxx:401: error: expected ;' before ‘pla’ pandatool/src/maya/mayaShaderColorDef.cxx:402: error: ‘pla’ was not declared in this scope pandatool/src/maya/mayaShaderColorDef.cxx:420: error: ‘MFnEnumAttribute’ was not declared in this scope pandatool/src/maya/mayaShaderColorDef.cxx:420: error: expected;’ before ‘blendModeEnum’
pandatool/src/maya/mayaShaderColorDef.cxx:421: error: ‘MString’ was not declared in this scope
pandatool/src/maya/mayaShaderColorDef.cxx:421: error: expected ;' before ‘blendName’ pandatool/src/maya/mayaShaderColorDef.cxx:439: error: ‘blendName’ was not declared in this scope pandatool/src/maya/mayaShaderColorDef.cxx:504: error: ‘MFn’ was not declared in this scope pandatool/src/maya/mayaShaderColorDef.cxx:504: error: template argument 1 is invalid pandatool/src/maya/mayaShaderColorDef.cxx:504: error: template argument 2 is invalid pandatool/src/maya/mayaShaderColorDef.cxx:504: error: invalid type in declaration before ‘;’ token pandatool/src/maya/mayaShaderColorDef.cxx:505: error: request for member ‘insert’ in ‘bad_types’, which is of non-class type ‘int’ pandatool/src/maya/mayaShaderColorDef.cxx: In static member function ‘static void MayaShaderColorDef::find_textures_modern(const std::string&, MayaShaderColorList&, MPlug, bool, Filename, bool)’: pandatool/src/maya/mayaShaderColorDef.cxx:522: error: ‘inplug’ has incomplete type pandatool/src/maya/mayaShaderColorDef.h:26: error: forward declaration of ‘struct MPlug’ pandatool/src/maya/mayaShaderColorDef.cxx:524: error: ‘MPlugArray’ was not declared in this scope pandatool/src/maya/mayaShaderColorDef.cxx:524: error: expected;’ before ‘outplugs’
pandatool/src/maya/mayaShaderColorDef.cxx:525: error: ‘outplugs’ was not declared in this scope
pandatool/src/maya/mayaShaderColorDef.cxx:535: error: variable ‘MPlug outplug’ has initializer but incomplete type
pandatool/src/maya/mayaShaderColorDef.cxx:536: error: variable ‘MObject source’ has initializer but incomplete type
pandatool/src/maya/mayaShaderColorDef.cxx:537: error: ‘MFnDependencyNode’ was not declared in this scope
pandatool/src/maya/mayaShaderColorDef.cxx:537: error: expected ;' before ‘sourceFn’ pandatool/src/maya/mayaShaderColorDef.cxx:539: error: ‘MFn’ has not been declared pandatool/src/maya/mayaShaderColorDef.cxx:559: error: invalid use of incomplete type ‘struct MObject’ pandatool/src/maya/mayaShaderColorDef.h:25: error: forward declaration of ‘struct MObject’ pandatool/src/maya/mayaShaderColorDef.cxx:579: error: ‘sourceFn’ was not declared in this scope pandatool/src/maya/mayaShaderColorDef.cxx:613: error: ‘MFn’ has not been declared pandatool/src/maya/mayaShaderColorDef.cxx:617: error: variable ‘MPlug image_plug’ has initializer but incomplete type pandatool/src/maya/mayaShaderColorDef.cxx:617: error: ‘sourceFn’ was not declared in this scope pandatool/src/maya/mayaShaderColorDef.cxx:619: error: expected;’ before ‘image_pa’
pandatool/src/maya/mayaShaderColorDef.cxx:620: error: ‘image_pa’ was not declared in this scope
pandatool/src/maya/mayaShaderColorDef.cxx:653: error: ‘MFn’ has not been declared
pandatool/src/maya/mayaShaderColorDef.cxx:658: error: variable ‘MPlug inputsPlug’ has initializer but incomplete type
pandatool/src/maya/mayaShaderColorDef.cxx:658: error: ‘sourceFn’ was not declared in this scope
pandatool/src/maya/mayaShaderColorDef.cxx:661: error: variable ‘MPlug elt’ has initializer but incomplete type
pandatool/src/maya/mayaShaderColorDef.cxx:662: error: aggregate ‘MPlug color’ has incomplete type and cannot be defined
pandatool/src/maya/mayaShaderColorDef.cxx:663: error: aggregate ‘MPlug blend’ has incomplete type and cannot be defined
pandatool/src/maya/mayaShaderColorDef.cxx:665: error: variable ‘MPlug child’ has initializer but incomplete type
pandatool/src/maya/mayaShaderColorDef.cxx:666: error: ‘MFnAttribute’ was not declared in this scope
pandatool/src/maya/mayaShaderColorDef.cxx:666: error: expected ;' before ‘att’ pandatool/src/maya/mayaShaderColorDef.cxx:667: error: ‘att’ was not declared in this scope pandatool/src/maya/mayaShaderColorDef.cxx:668: error: ‘att’ was not declared in this scope pandatool/src/maya/mayaShaderColorDef.cxx:690: error: ‘MFn’ has not been declared pandatool/src/maya/mayaShaderColorDef.cxx:691: error: variable ‘MPlug input_plug’ has initializer but incomplete type pandatool/src/maya/mayaShaderColorDef.cxx:691: error: ‘sourceFn’ was not declared in this scope pandatool/src/maya/mayaShaderColorDef.cxx:704: error: ‘MFn’ was not declared in this scope pandatool/src/maya/mayaShaderColorDef.cxx:704: error: template argument 1 is invalid pandatool/src/maya/mayaShaderColorDef.cxx:704: error: template argument 2 is invalid pandatool/src/maya/mayaShaderColorDef.cxx:704: error: invalid type in declaration before ‘;’ token pandatool/src/maya/mayaShaderColorDef.cxx:705: error: request for member ‘insert’ in ‘bad_types’, which is of non-class type ‘int’ pandatool/src/maya/mayaShaderColorDef.cxx:708: error: ‘sourceFn’ was not declared in this scope In file included from pandatool/src/maya/maya_composite1.cxx:5: pandatool/src/maya/mayaShaders.cxx: In member function ‘MayaShader* MayaShaders::find_shader_for_node(MObject, bool, Filename, bool)’: pandatool/src/maya/mayaShaders.cxx:59: error: ‘node’ has incomplete type pandatool/src/maya/mayaShaderColorDef.h:25: error: forward declaration of ‘struct MObject’ pandatool/src/maya/mayaShaders.cxx:60: error: ‘MStatus’ was not declared in this scope pandatool/src/maya/mayaShaders.cxx:60: error: expected;’ before ‘status’
pandatool/src/maya/mayaShaders.cxx:61: error: ‘MFnDependencyNode’ was not declared in this scope
pandatool/src/maya/mayaShaders.cxx:61: error: expected ;' before ‘node_fn’ pandatool/src/maya/mayaShaders.cxx:63: error: variable ‘MObject iog_attr’ has initializer but incomplete type pandatool/src/maya/mayaShaders.cxx:63: error: ‘node_fn’ was not declared in this scope pandatool/src/maya/mayaShaders.cxx:63: error: ‘status’ was not declared in this scope pandatool/src/maya/mayaShaders.cxx:75: error: variable ‘MPlug iog_plug’ has initializer but incomplete type pandatool/src/maya/mayaShaders.cxx:76: error: ‘MPlugArray’ was not declared in this scope pandatool/src/maya/mayaShaders.cxx:76: error: expected;’ before ‘iog_pa’
pandatool/src/maya/mayaShaders.cxx:77: error: ‘iog_pa’ was not declared in this scope
pandatool/src/maya/mayaShaders.cxx:91: error: variable ‘MObject engine’ has initializer but incomplete type
pandatool/src/maya/mayaShaders.cxx:92: error: ‘MFn’ has not been declared
pandatool/src/maya/mayaShaders.cxx: In member function ‘void MayaShaders::bind_uvsets(MObject)’:
pandatool/src/maya/mayaShaders.cxx:111: error: ‘mesh’ has incomplete type
pandatool/src/maya/mayaShaderColorDef.h:25: error: forward declaration of ‘struct MObject’
pandatool/src/maya/mayaShaders.cxx:115: error: ‘MFn’ has not been declared
pandatool/src/maya/mayaShaders.cxx:116: error: ‘MFnMesh’ was not declared in this scope
pandatool/src/maya/mayaShaders.cxx:116: error: expected ;' before ‘mesh_fn’ pandatool/src/maya/mayaShaders.cxx:117: error: ‘MStatus’ was not declared in this scope pandatool/src/maya/mayaShaders.cxx:117: error: expected;’ before ‘status’
pandatool/src/maya/mayaShaders.cxx:118: error: ‘MStringArray’ was not declared in this scope
pandatool/src/maya/mayaShaders.cxx:118: error: expected ;' before ‘maya_uvset_names’ pandatool/src/maya/mayaShaders.cxx:119: error: ‘status’ was not declared in this scope pandatool/src/maya/mayaShaders.cxx:119: error: ‘mesh_fn’ was not declared in this scope pandatool/src/maya/mayaShaders.cxx:119: error: ‘maya_uvset_names’ was not declared in this scope pandatool/src/maya/mayaShaders.cxx:121: error: ‘MObjectArray’ was not declared in this scope pandatool/src/maya/mayaShaders.cxx:121: error: expected;’ before ‘moa’
pandatool/src/maya/mayaShaders.cxx:124: error: ‘moa’ was not declared in this scope
pandatool/src/maya/mayaShaders.cxx:126: error: ‘MFnDependencyNode’ was not declared in this scope
pandatool/src/maya/mayaShaders.cxx:126: error: expected ;' before ‘dt’ pandatool/src/maya/mayaShaders.cxx:127: error: ‘dt’ was not declared in this scope pandatool/src/maya/mayaShaders.cxx: In member function ‘MayaShader* MayaShaders::find_shader_for_shading_engine(MObject, bool, Filename, bool)’: pandatool/src/maya/mayaShaders.cxx:148: error: ‘engine’ has incomplete type pandatool/src/maya/mayaShaderColorDef.h:25: error: forward declaration of ‘struct MObject’ pandatool/src/maya/mayaShaders.cxx:149: error: ‘MFnDependencyNode’ was not declared in this scope pandatool/src/maya/mayaShaders.cxx:149: error: expected;’ before ‘engine_fn’
pandatool/src/maya/mayaShaders.cxx:151: error: ‘engine_fn’ was not declared in this scope
In file included from pandatool/src/maya/maya_composite1.cxx:6:
pandatool/src/maya/maya_funcs.cxx: In function ‘bool get_maya_plug(MObject&, const std::string&, MPlug&)’:
pandatool/src/maya/maya_funcs.cxx:41: error: ‘MStatus’ was not declared in this scope
pandatool/src/maya/maya_funcs.cxx:41: error: expected ;' before ‘status’ pandatool/src/maya/maya_funcs.cxx:42: error: ‘MFnDependencyNode’ was not declared in this scope pandatool/src/maya/maya_funcs.cxx:42: error: expected;’ before ‘node_fn’
pandatool/src/maya/maya_funcs.cxx:43: error: ‘status’ was not declared in this scope
pandatool/src/maya/maya_funcs.cxx:45: error: invalid use of incomplete type ‘struct MObject’
pandatool/src/maya/mayaShaderColorDef.h:25: error: forward declaration of ‘struct MObject’
pandatool/src/maya/maya_funcs.cxx:49: error: variable ‘MObject attr’ has initializer but incomplete type
pandatool/src/maya/maya_funcs.cxx:49: error: ‘node_fn’ was not declared in this scope
pandatool/src/maya/maya_funcs.cxx:49: error: ‘status’ was not declared in this scope
pandatool/src/maya/maya_funcs.cxx:54: error: ‘MFnAttribute’ was not declared in this scope
pandatool/src/maya/maya_funcs.cxx:54: error: expected ;' before ‘attr_fn’ pandatool/src/maya/maya_funcs.cxx:62: error: invalid use of incomplete type ‘struct MPlug’ pandatool/src/maya/mayaShaderColorDef.h:26: error: forward declaration of ‘struct MPlug’ pandatool/src/maya/maya_funcs.cxx: In function ‘bool is_connected(MObject&, const std::string&)’: pandatool/src/maya/maya_funcs.cxx:73: error: aggregate ‘MPlug plug’ has incomplete type and cannot be defined pandatool/src/maya/maya_funcs.cxx: In function ‘bool has_attribute(MObject&, const std::string&)’: pandatool/src/maya/maya_funcs.cxx:88: error: ‘MStatus’ was not declared in this scope pandatool/src/maya/maya_funcs.cxx:88: error: expected;’ before ‘status’
pandatool/src/maya/maya_funcs.cxx:89: error: ‘MFnDependencyNode’ was not declared in this scope
pandatool/src/maya/maya_funcs.cxx:89: error: expected ;' before ‘node_fn’ pandatool/src/maya/maya_funcs.cxx:90: error: ‘status’ was not declared in this scope pandatool/src/maya/maya_funcs.cxx:92: error: invalid use of incomplete type ‘struct MObject’ pandatool/src/maya/mayaShaderColorDef.h:25: error: forward declaration of ‘struct MObject’ pandatool/src/maya/maya_funcs.cxx:96: error: ‘node_fn’ was not declared in this scope pandatool/src/maya/maya_funcs.cxx:96: error: ‘status’ was not declared in this scope pandatool/src/maya/maya_funcs.cxx: In function ‘bool remove_attribute(MObject&, const std::string&)’: pandatool/src/maya/maya_funcs.cxx:111: error: ‘MStatus’ was not declared in this scope pandatool/src/maya/maya_funcs.cxx:111: error: expected;’ before ‘status’
pandatool/src/maya/maya_funcs.cxx:112: error: ‘MFnDependencyNode’ was not declared in this scope
pandatool/src/maya/maya_funcs.cxx:112: error: expected ;' before ‘node_fn’ pandatool/src/maya/maya_funcs.cxx:113: error: ‘status’ was not declared in this scope pandatool/src/maya/maya_funcs.cxx:115: error: invalid use of incomplete type ‘struct MObject’ pandatool/src/maya/mayaShaderColorDef.h:25: error: forward declaration of ‘struct MObject’ pandatool/src/maya/maya_funcs.cxx:119: error: variable ‘MObject attr’ has initializer but incomplete type pandatool/src/maya/maya_funcs.cxx:119: error: ‘node_fn’ was not declared in this scope pandatool/src/maya/maya_funcs.cxx:119: error: ‘status’ was not declared in this scope pandatool/src/maya/maya_funcs.cxx:128: error: ‘MFnAttribute’ was not declared in this scope pandatool/src/maya/maya_funcs.cxx:128: error: expected;’ before ‘attr_fn’
pandatool/src/maya/maya_funcs.cxx:137: error: ‘MFnDependencyNode’ is not a class or namespace
pandatool/src/maya/maya_funcs.cxx:137: error: expected ;' before ‘type’ pandatool/src/maya/maya_funcs.cxx:145: error: ‘type’ was not declared in this scope pandatool/src/maya/maya_funcs.cxx: In function ‘bool get_angle_attribute(MObject&, const std::string&, double&)’: pandatool/src/maya/maya_funcs.cxx:188: error: ‘MAngle’ was not declared in this scope pandatool/src/maya/maya_funcs.cxx:188: error: expected;’ before ‘maya_value’
pandatool/src/maya/maya_funcs.cxx:189: error: ‘maya_value’ was not declared in this scope
pandatool/src/maya/maya_funcs.cxx:196: error: ‘maya_value’ was not declared in this scope
pandatool/src/maya/maya_funcs.cxx: In function ‘bool get_vec2f_attribute(MObject&, const std::string&, LVecBase2f&)’:
pandatool/src/maya/maya_funcs.cxx:208: error: ‘MStatus’ was not declared in this scope
pandatool/src/maya/maya_funcs.cxx:208: error: expected ;' before ‘status’ pandatool/src/maya/maya_funcs.cxx:210: error: aggregate ‘MObject vec2f_object’ has incomplete type and cannot be defined pandatool/src/maya/maya_funcs.cxx:219: error: ‘MFnNumericData’ was not declared in this scope pandatool/src/maya/maya_funcs.cxx:219: error: expected;’ before ‘data’
pandatool/src/maya/maya_funcs.cxx:220: error: ‘status’ was not declared in this scope
pandatool/src/maya/maya_funcs.cxx:227: error: ‘status’ was not declared in this scope
pandatool/src/maya/maya_funcs.cxx:227: error: ‘data’ was not declared in this scope
pandatool/src/maya/maya_funcs.cxx: In function ‘bool get_vec3f_attribute(MObject&, const std::string&, LVecBase3f&)’:
pandatool/src/maya/maya_funcs.cxx:245: error: ‘MStatus’ was not declared in this scope
pandatool/src/maya/maya_funcs.cxx:245: error: expected ;' before ‘status’ pandatool/src/maya/maya_funcs.cxx:247: error: aggregate ‘MObject vec3f_object’ has incomplete type and cannot be defined pandatool/src/maya/maya_funcs.cxx:256: error: ‘MFnNumericData’ was not declared in this scope pandatool/src/maya/maya_funcs.cxx:256: error: expected;’ before ‘data’
pandatool/src/maya/maya_funcs.cxx:257: error: ‘status’ was not declared in this scope
pandatool/src/maya/maya_funcs.cxx:264: error: ‘status’ was not declared in this scope
pandatool/src/maya/maya_funcs.cxx:264: error: ‘data’ was not declared in this scope
pandatool/src/maya/maya_funcs.cxx: In function ‘bool get_vec2d_attribute(MObject&, const std::string&, LVecBase2d&)’:
pandatool/src/maya/maya_funcs.cxx:282: error: ‘MStatus’ was not declared in this scope
pandatool/src/maya/maya_funcs.cxx:282: error: expected ;' before ‘status’ pandatool/src/maya/maya_funcs.cxx:284: error: aggregate ‘MObject vec2d_object’ has incomplete type and cannot be defined pandatool/src/maya/maya_funcs.cxx:293: error: ‘MFnNumericData’ was not declared in this scope pandatool/src/maya/maya_funcs.cxx:293: error: expected;’ before ‘data’
pandatool/src/maya/maya_funcs.cxx:294: error: ‘status’ was not declared in this scope
pandatool/src/maya/maya_funcs.cxx:301: error: ‘status’ was not declared in this scope
pandatool/src/maya/maya_funcs.cxx:301: error: ‘data’ was not declared in this scope
pandatool/src/maya/maya_funcs.cxx: In function ‘bool get_vec3d_attribute(MObject&, const std::string&, LVecBase3d&)’:
pandatool/src/maya/maya_funcs.cxx:319: error: ‘MStatus’ was not declared in this scope
pandatool/src/maya/maya_funcs.cxx:319: error: expected ;' before ‘status’ pandatool/src/maya/maya_funcs.cxx:321: error: aggregate ‘MObject vec3d_object’ has incomplete type and cannot be defined pandatool/src/maya/maya_funcs.cxx:330: error: ‘MFnNumericData’ was not declared in this scope pandatool/src/maya/maya_funcs.cxx:330: error: expected;’ before ‘data’
pandatool/src/maya/maya_funcs.cxx:331: error: ‘status’ was not declared in this scope
pandatool/src/maya/maya_funcs.cxx:338: error: ‘status’ was not declared in this scope
pandatool/src/maya/maya_funcs.cxx:338: error: ‘data’ was not declared in this scope
pandatool/src/maya/maya_funcs.cxx: In function ‘bool get_mat4d_attribute(MObject&, const std::string&, LMatrix4d&)’:
pandatool/src/maya/maya_funcs.cxx:355: error: ‘MStatus’ was not declared in this scope
pandatool/src/maya/maya_funcs.cxx:355: error: expected ;' before ‘status’ pandatool/src/maya/maya_funcs.cxx:356: error: aggregate ‘MObject matrix’ has incomplete type and cannot be defined pandatool/src/maya/maya_funcs.cxx:361: error: ‘MFnMatrixData’ was not declared in this scope pandatool/src/maya/maya_funcs.cxx:361: error: expected;’ before ‘matrix_data’
pandatool/src/maya/maya_funcs.cxx:362: error: ‘status’ was not declared in this scope
pandatool/src/maya/maya_funcs.cxx:365: error: invalid use of incomplete type ‘struct MObject’
pandatool/src/maya/mayaShaderColorDef.h:25: error: forward declaration of ‘struct MObject’
pandatool/src/maya/maya_funcs.cxx:369: error: expected initializer before ‘&’ token
pandatool/src/maya/maya_funcs.cxx:372: error: ‘mat’ was not declared in this scope
pandatool/src/maya/maya_funcs.cxx: In function ‘void get_tag_attribute_names(MObject&, pvector<std::basic_string<char, std::char_traits, std::allocator > >&)’:
pandatool/src/maya/maya_funcs.cxx:386: error: ‘MStatus’ was not declared in this scope
pandatool/src/maya/maya_funcs.cxx:386: error: expected ;' before ‘status’ pandatool/src/maya/maya_funcs.cxx:387: error: ‘MFnDependencyNode’ was not declared in this scope pandatool/src/maya/maya_funcs.cxx:387: error: expected;’ before ‘node_fn’
pandatool/src/maya/maya_funcs.cxx:388: error: ‘status’ was not declared in this scope
pandatool/src/maya/maya_funcs.cxx:390: error: invalid use of incomplete type ‘struct MObject’
pandatool/src/maya/mayaShaderColorDef.h:25: error: forward declaration of ‘struct MObject’
pandatool/src/maya/maya_funcs.cxx:394: error: ‘node_fn’ was not declared in this scope
pandatool/src/maya/maya_funcs.cxx:398: error: variable ‘MObject attr’ has initializer but incomplete type
pandatool/src/maya/maya_funcs.cxx:398: error: ‘status’ was not declared in this scope
pandatool/src/maya/maya_funcs.cxx:400: error: ‘MFnAttribute’ was not declared in this scope
pandatool/src/maya/maya_funcs.cxx:400: error: expected ;' before ‘attrib’ pandatool/src/maya/maya_funcs.cxx:402: error: ‘attrib’ was not declared in this scope pandatool/src/maya/maya_funcs.cxx: In function ‘bool get_enum_attribute(MObject&, const std::string&, std::string&)’: pandatool/src/maya/maya_funcs.cxx:420: error: ‘MStatus’ was not declared in this scope pandatool/src/maya/maya_funcs.cxx:420: error: expected;’ before ‘status’
pandatool/src/maya/maya_funcs.cxx:422: error: aggregate ‘MPlug plug’ has incomplete type and cannot be defined
pandatool/src/maya/maya_funcs.cxx:427: error: variable ‘MObject attrib’ has initializer but incomplete type
pandatool/src/maya/maya_funcs.cxx:428: error: ‘MFnEnumAttribute’ was not declared in this scope
pandatool/src/maya/maya_funcs.cxx:428: error: expected ;' before ‘enum_attrib’ pandatool/src/maya/maya_funcs.cxx:429: error: ‘status’ was not declared in this scope pandatool/src/maya/maya_funcs.cxx:436: error: ‘status’ was not declared in this scope pandatool/src/maya/maya_funcs.cxx:444: error: ‘MString’ was not declared in this scope pandatool/src/maya/maya_funcs.cxx:444: error: expected;’ before ‘name’
pandatool/src/maya/maya_funcs.cxx:452: error: ‘name’ was not declared in this scope
pandatool/src/maya/maya_funcs.cxx: In function ‘bool get_string_attribute(MObject&, const std::string&, std::string&)’:
pandatool/src/maya/maya_funcs.cxx:464: error: ‘MStatus’ was not declared in this scope
pandatool/src/maya/maya_funcs.cxx:464: error: expected ;' before ‘status’ pandatool/src/maya/maya_funcs.cxx:466: error: aggregate ‘MObject string_object’ has incomplete type and cannot be defined pandatool/src/maya/maya_funcs.cxx:475: error: ‘MFnStringData’ was not declared in this scope pandatool/src/maya/maya_funcs.cxx:475: error: expected;’ before ‘data’
pandatool/src/maya/maya_funcs.cxx:476: error: ‘status’ was not declared in this scope
pandatool/src/maya/maya_funcs.cxx:483: error: ‘data’ was not declared in this scope
pandatool/src/maya/maya_funcs.cxx: In function ‘bool set_string_attribute(MObject&, const std::string&, const std::string&)’:
pandatool/src/maya/maya_funcs.cxx:495: error: ‘MStatus’ was not declared in this scope
pandatool/src/maya/maya_funcs.cxx:495: error: expected ;' before ‘status’ pandatool/src/maya/maya_funcs.cxx:498: error: aggregate ‘MObject string_object’ has incomplete type and cannot be defined pandatool/src/maya/maya_funcs.cxx:507: error: ‘MFnStringData’ was not declared in this scope pandatool/src/maya/maya_funcs.cxx:507: error: expected;’ before ‘data’
pandatool/src/maya/maya_funcs.cxx:508: error: ‘status’ was not declared in this scope
pandatool/src/maya/maya_funcs.cxx:515: error: ‘MString’ was not declared in this scope
pandatool/src/maya/maya_funcs.cxx:515: error: expected ;' before ‘mstring_value’ pandatool/src/maya/maya_funcs.cxx:516: error: ‘status’ was not declared in this scope pandatool/src/maya/maya_funcs.cxx:516: error: ‘data’ was not declared in this scope pandatool/src/maya/maya_funcs.cxx:516: error: ‘mstring_value’ was not declared in this scope pandatool/src/maya/maya_funcs.cxx: In function ‘bool describe_compound_attribute(MObject&)’: pandatool/src/maya/maya_funcs.cxx:540: error: ‘MStatus’ was not declared in this scope pandatool/src/maya/maya_funcs.cxx:540: error: expected;’ before ‘status’
pandatool/src/maya/maya_funcs.cxx:542: error: ‘MFnCompoundAttribute’ was not declared in this scope
pandatool/src/maya/maya_funcs.cxx:542: error: expected ;' before ‘comp_attr’ pandatool/src/maya/maya_funcs.cxx:544: error: ‘comp_attr’ was not declared in this scope pandatool/src/maya/maya_funcs.cxx:546: error: variable ‘MObject child’ has initializer but incomplete type pandatool/src/maya/maya_funcs.cxx:546: error: ‘status’ was not declared in this scope pandatool/src/maya/maya_funcs.cxx:547: error: ‘MFn’ has not been declared pandatool/src/maya/maya_funcs.cxx:555: error: ‘MFn’ has not been declared pandatool/src/maya/maya_funcs.cxx:556: error: ‘MFnNumericAttribute’ was not declared in this scope pandatool/src/maya/maya_funcs.cxx:556: error: expected;’ before ‘numeric’
pandatool/src/maya/maya_funcs.cxx:558: error: ‘numeric’ was not declared in this scope
pandatool/src/maya/maya_funcs.cxx:559: error: ‘MFnNumericData’ has not been declared
pandatool/src/maya/maya_funcs.cxx:564: error: ‘MFnNumericData’ has not been declared
pandatool/src/maya/maya_funcs.cxx:573: error: ‘MFn’ has not been declared
pandatool/src/maya/maya_funcs.cxx:574: error: ‘MFnEnumAttribute’ was not declared in this scope
pandatool/src/maya/maya_funcs.cxx:574: error: expected ;' before ‘enu’ pandatool/src/maya/maya_funcs.cxx:576: error: ‘MString’ was not declared in this scope pandatool/src/maya/maya_funcs.cxx:576: error: expected;’ before ‘blah’
pandatool/src/maya/maya_funcs.cxx:577: error: ‘enu’ was not declared in this scope
pandatool/src/maya/maya_funcs.cxx:577: error: ‘blah’ was not declared in this scope
pandatool/src/maya/maya_funcs.cxx:579: error: variable ‘MPlug plug’ has initializer but incomplete type
pandatool/src/maya/maya_funcs.cxx:579: error: invalid use of incomplete type ‘struct MPlug’
pandatool/src/maya/mayaShaderColorDef.h:26: error: forward declaration of ‘struct MPlug’
pandatool/src/maya/maya_funcs.cxx: In function ‘void describe_maya_attribute(MObject&, const std::string&)’:
pandatool/src/maya/maya_funcs.cxx:594: error: ‘MStatus’ was not declared in this scope
pandatool/src/maya/maya_funcs.cxx:594: error: expected ;' before ‘status’ pandatool/src/maya/maya_funcs.cxx:595: error: ‘MFnDependencyNode’ was not declared in this scope pandatool/src/maya/maya_funcs.cxx:595: error: expected;’ before ‘node_fn’
pandatool/src/maya/maya_funcs.cxx:596: error: ‘status’ was not declared in this scope
pandatool/src/maya/maya_funcs.cxx:598: error: invalid use of incomplete type ‘struct MObject’
pandatool/src/maya/mayaShaderColorDef.h:25: error: forward declaration of ‘struct MObject’
pandatool/src/maya/maya_funcs.cxx:602: error: variable ‘MObject attr’ has initializer but incomplete type
pandatool/src/maya/maya_funcs.cxx:602: error: ‘node_fn’ was not declared in this scope
pandatool/src/maya/maya_funcs.cxx:602: error: ‘status’ was not declared in this scope
pandatool/src/maya/maya_funcs.cxx: At global scope:
pandatool/src/maya/maya_funcs.cxx:616: error: redefinition of ‘std::string string_mfndata_type’
pandatool/src/maya/maya_funcs.h:106: error: ‘std::string string_mfndata_type’ previously declared here
pandatool/src/maya/maya_funcs.cxx:616: error: ‘MFnData’ has not been declared
pandatool/src/maya/maya_funcs.T: In function ‘bool get_maya_attribute(MObject&, const std::string&, ValueType&) [with ValueType = bool]’:
pandatool/src/maya/maya_funcs.cxx:170: instantiated from here
pandatool/src/maya/maya_funcs.T:28: error: ‘plug’ has incomplete type
Process exited with exit status 1 and signal code 0
Storing dependency cache.
Elapsed Time: 3 sec

Build terminated.
Borron:panda3d rulfb$

Ronnie

OK. Does this directory contain a “maya” subdirectory which contains header files?
/Applications/Autodesk/maya2011/Maya.app/Contents/include

If not, could you see where the files like OpenMayaMac.h are located, and tell me the path to them?

No, it seems to be a hidden folder in Maya.app. But and I found it to be:

/Applications/Autodesk/maya2011/devkit/inlcude/maya/OpenMayaMac.h

So, probably Apple had moved/renamed the folder to hold the OpenMayaMac header file :smiley:, from previous versions of Maya.

Ronnie

OK, I can make adjustments to makepanda to account for that situation.

How about the libraries like libOpenMaya? Where are those located now?

These libraries,

libOpenMaya.dylib
libOpenMayaAnim.dylib
libOpenMayaFX.dylib
libOpenMayaRender.dylib
libOpenMayaUI.dylib

are all located in:

/Applications/Autodesk/maya2011/Maya.app/Contents/MacOS

and a bunch of other as well. 128 pcs. as a total.

/Ronnie

OK, thank you. I just checked in a fix to makepanda. Could you try and see if it works now?

Yes that did it. Now it complies like a charm.

Borron:panda3d rulfb$ ppython makepanda/makepanda.py --everything --installer
Generating library cache…
WARNING: Could not locate thirdparty package osmesa, excluding from build
WARNING: Could not locate pkg-config package gtk±2.0, excluding from build
Generating dependencies…
[ 78%] Building C++ object built/tmp/maya2011_composite1.o
[ 78%] Linking static library built/lib/libmaya2011.a
[ 78%] Building C++ object built/tmp/mayaegg2011_loader.o
[ 79%] Building C++ object built/tmp/mayaegg2011_composite1.o

Found extensions for class: OdeJoint
Found extensions for class: OdeBody
[100%] Building installer
Listing dstroot/pythoncode/Developer/Panda3D/lib/Pmw …

Elapsed Time: 8.851s
File size: 77144223 bytes, Checksum: CRC32 $41EDD4E0
Sectors processed: 187162, 156833 compressed
Speed: 8.7Mbytes/sec
Savings: 19.5%
created: /Users/rulfb/panda3d/Panda3D-1.7.1.dmg
Storing dependency cache.
Build successfully finished, elapsed time: 2 min 36 sec

Thanks rdb

Another question. After I have installed the new Panda3d 1.7.1 and tried Asteroids sample I get some start error and some error when I quite the sample.

Borron:Asteroids rulfb$ ppython Tut-Asteroids.py
DirectStart: Starting the game.
Known pipe types:
osxGraphicsPipe
(all display modules loaded.)
Thu Sep 2 17:38:53 Borron.local ppython[4209] : kCGErrorIllegalArgument: CGSCopyRegion : Null pointer
Thu Sep 2 17:38:53 Borron.local ppython[4209] : kCGErrorFailure: Set a breakpoint @ CGErrorBreakpoint() to catch errors as they are logged.
Thu Sep 2 17:39:26 Borron.local ppython[4209] : kCGErrorIllegalArgument: _CGSFindSharedWindow: WID 309
Thu Sep 2 17:39:26 Borron.local ppython[4209] : kCGErrorIllegalArgument: CGSRemoveSurface: Invalid window 0x135
Borron:Asteroids rulfb$

The two first error directly when the Asteroids starts and the two second after I quite the sample.

Is this okay?

//Ronnie

It sounds troublesome, but assuming it’s not interfering with the rendering, let’s ignore it for now. The fact of the matter is that we have to rely on undocumented interfaces to open a graphics window on OSX, and it’s hard to know if we’re doing it right.

Input from experienced Mac developers is welcome. :slight_smile:

David

There is no problems with the render and the sample runs just fine.
It’s not a problem for just 1.7.1 as I had same error under 1.7.0 and the errors was introduced in 1.7.0, 1.6.2 ran just fine.

I’ll ignore it for now.

//Ronnie