When I try to use the:
sudo python2.7 makepanda/makepanda.py --everything
command to make panda, the installation stops at roughly 50% where it is interrogating built/panda/input/libpandabullet.in
Here is the exact output:
[ 50%] Building Interrogate database built/pandac/input/libpandabullet.in
*** Error in BulletCollision/NarrowPhaseCollision/btDiscreteCollisionDetectorInterface.h near line 45, column 1:
syntax error, unexpected IDENTIFIER, expecting ‘)’
Error parsing file: ‘btBulletCollisionCommon.h’
Storing dependency cache.
Elapsed Time: 31 sec
The following command returned a non-zero value: built/bin/interrogate -srcdir panda/src/bullet -Ipanda/src/bullet -Dvolatile -Dmutable -DCPPPARSER -D__STDC__=1 -D__cplusplus -D__inline -D__const=const -D__attribute__(x)= -D_LP64 -oc built/tmp/libpandabullet_igate.cxx -od built/pandac/input/libpandabullet.in -fnames -string -refcount -assert -python-native -Sbuilt/include/parser-inc -Ipanda/src/bullet -Sbuilt/tmp -Sbuilt/include -S/usr/include/python2.7 -S/usr/include/eigen3 -Sinclude/bullet -module panda3d.bullet -library libpandabullet btBulletCollisionCommon.h btBulletDynamicsCommon.h bulletAllHitsRayResult.h bulletBaseCharacterControllerNode.h bulletBodyNode.h bulletBoxShape.h bulletCapsuleShape.h bulletCharacterControllerNode.h bulletClosestHitRayResult.h bulletClosestHitSweepResult.h bulletConeShape.h bulletConeTwistConstraint.h bulletConstraint.h bulletContactCallbackData.h bulletContactCallbacks.h bulletContactResult.h bulletConvexHullShape.h bulletConvexPointCloudShape.h bulletCylinderShape.h bulletDebugNode.h bulletFilterCallbackData.h bulletGenericConstraint.h bulletGhostNode.h bulletHeightfieldShape.h bulletHelper.h bulletHingeConstraint.h bulletManifoldPoint.h bulletMinkowskiSumShape.h bulletMultiSphereShape.h bulletPersistentManifold.h bulletPlaneShape.h bulletRigidBodyNode.h bulletRotationalLimitMotor.h bulletShape.h bulletSliderConstraint.h bulletSoftBodyConfig.h bulletSoftBodyControl.h bulletSoftBodyMaterial.h bulletSoftBodyNode.h bulletSoftBodyShape.h bulletSoftBodyWorldInfo.h bulletSphereShape.h bulletSphericalConstraint.h bulletTickCallbackData.h bulletTranslationalLimitMotor.h bulletTriangleMesh.h bulletTriangleMeshShape.h bulletVehicle.h bulletWheel.h bulletWorld.h bullet_includes.h bullet_utils.h config_bullet.h p3bullet_composite.cxx
where the specified file and line number is:
42 struct ClosestPointInput
43 {
44 ClosestPointInput():m_maximumDistanceSquared(btScalar(BT_LARGE_FLOAT))
45 {
46 }
47
48 btTransform m_transformA;
49 btTransform m_transformB;
50 btScalar m_maximumDistanceSquared;
51 };
52
53 virtual ~btDiscreteCollisionDetectorInterface() {};
54
the problem is that I do not see any reason for the parser to complain here as there doesnt seem to be any missing “)” as it suggests, nor any other obvious programming error that I can see. I fear altering the code will result in poor/inaccurate physics. Is there any known solution to this problem, or any best course of action?
As a supplemental I am running debian “wheezy” and I added all of the bullet libraries and headers into the /panda/src/bullet directory as it was unable to find them previously and I did not want to modify my library enviroment variables so that bullet is always included by default (I have heard this is a bad thing to do).
Thanks for your time and consideration!
Taylor