My compiler is making up errors for the demos

Cambria123

09-09-2008 20:01:36

1>------ Build started: Project: OgreBulletCollisions, Configuration: Release Win32 ------
1>Compiling...
1>cl : Command line warning D9035 : option 'Wp64' has been deprecated and will be removed in a future release
1>OgreBulletCollisionsPrecompiled.cpp
1>Compiling...
1>cl : Command line warning D9035 : option 'Wp64' has been deprecated and will be removed in a future release
1>OgreBulletCollisionsObject.cpp
1>c:\ogresdk\ogreaddons\ogrebullet\collisions\include\OgreBulletCollisionsWorld.h(75) : error C2146: syntax error : missing ';' before identifier 'mDefaultCollisionConfiguration'
1>c:\ogresdk\ogreaddons\ogrebullet\collisions\include\OgreBulletCollisionsWorld.h(75) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
1>c:\ogresdk\ogreaddons\ogrebullet\collisions\include\OgreBulletCollisionsWorld.h(75) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
1>OgreBulletCollisionsDebugShape.cpp
1>c:\OgreSDK\ogreaddons\OgreBullet\Collisions\include\Utils/OgreBulletConverter.h(66) : error C2039: 'w' : is not a member of 'btQuaternion'
1> c:\ogresdk\ogreaddons\ogrebullet\collisions\include\LinearMath/btQuaternion.h(22) : see declaration of 'btQuaternion'
1>OgreBulletCollisionsDebugLines.cpp
1>c:\OgreSDK\ogreaddons\OgreBullet\Collisions\include\Utils/OgreBulletConverter.h(66) : error C2039: 'w' : is not a member of 'btQuaternion'
1> c:\ogresdk\ogreaddons\ogrebullet\collisions\include\LinearMath/btQuaternion.h(22) : see declaration of 'btQuaternion'
1>OgreBulletCollisionsDebugDrawer.cpp
1>c:\OgreSDK\ogreaddons\OgreBullet\Collisions\include\Utils/OgreBulletConverter.h(66) : error C2039: 'w' : is not a member of 'btQuaternion'
1> c:\ogresdk\ogreaddons\ogrebullet\collisions\include\LinearMath/btQuaternion.h(22) : see declaration of 'btQuaternion'
1>OgreBulletCollisionsDebugContact.cpp
1>c:\ogresdk\ogreaddons\ogrebullet\collisions\include\OgreBulletCollisionsWorld.h(75) : error C2146: syntax error : missing ';' before identifier 'mDefaultCollisionConfiguration'
1>c:\ogresdk\ogreaddons\ogrebullet\collisions\include\OgreBulletCollisionsWorld.h(75) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
1>c:\ogresdk\ogreaddons\ogrebullet\collisions\include\OgreBulletCollisionsWorld.h(75) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
1>OgreBulletCollisionsMeshToShapeConverter.cpp
1>C:\Program Files\Microsoft Visual Studio 9.0\VC\include\utility(49) : warning C4244: 'initializing' : conversion from 'const unsigned short' to 'const unsigned char', possible loss of data
1> ..\..\src\Utils\OgreBulletCollisionsMeshToShapeConverter.cpp(120) : see reference to function template instantiation 'std::pair<_Ty1,_Ty2>::pair<unsigned short,OgreBulletCollisions::Vector3Vector*>(const std::pair<unsigned short,_Ty2> &)' being compiled
1> with
1> [
1> _Ty1=const unsigned char,
1> _Ty2=std::vector<Ogre::Vector3> *
1> ]
1>OgreBulletCollisionsTrimeshShape.cpp
1>c:\OgreSDK\ogreaddons\OgreBullet\Collisions\include\Utils/OgreBulletConverter.h(66) : error C2039: 'w' : is not a member of 'btQuaternion'
1> c:\ogresdk\ogreaddons\ogrebullet\collisions\include\LinearMath/btQuaternion.h(22) : see declaration of 'btQuaternion'
1>..\..\src\Shapes\OgreBulletCollisionsTrimeshShape.cpp(67) : error C2661: 'btBvhTriangleMeshShape::btBvhTriangleMeshShape' : no overloaded function takes 2 arguments
1>OgreBulletCollisionsTriangleShape.cpp
1>c:\OgreSDK\ogreaddons\OgreBullet\Collisions\include\Utils/OgreBulletConverter.h(66) : error C2039: 'w' : is not a member of 'btQuaternion'
1> c:\ogresdk\ogreaddons\ogrebullet\collisions\include\LinearMath/btQuaternion.h(22) : see declaration of 'btQuaternion'
1>OgreBulletCollisionsStaticPlaneShape.cpp
1>OgreBulletCollisionsSphereShape.cpp
1>OgreBulletCollisionsMultiSphereShape.cpp
1>c:\OgreSDK\ogreaddons\OgreBullet\Collisions\include\Utils/OgreBulletConverter.h(66) : error C2039: 'w' : is not a member of 'btQuaternion'
1> c:\ogresdk\ogreaddons\ogrebullet\collisions\include\LinearMath/btQuaternion.h(22) : see declaration of 'btQuaternion'
1>OgreBulletCollisionsMinkowskiSumShape.cpp
1>OgreBulletCollisionsCylinderShape.cpp
1>c:\OgreSDK\ogreaddons\OgreBullet\Collisions\include\Utils/OgreBulletConverter.h(66) : error C2039: 'w' : is not a member of 'btQuaternion'
1> c:\ogresdk\ogreaddons\ogrebullet\collisions\include\LinearMath/btQuaternion.h(22) : see declaration of 'btQuaternion'
1>OgreBulletCollisionsConvexHullShape.cpp
1>OgreBulletCollisionsConeShape.cpp
1>OgreBulletCollisionsCompoundShape.cpp
1>c:\OgreSDK\ogreaddons\OgreBullet\Collisions\include\Utils/OgreBulletConverter.h(66) : error C2039: 'w' : is not a member of 'btQuaternion'
1> c:\ogresdk\ogreaddons\ogrebullet\collisions\include\LinearMath/btQuaternion.h(22) : see declaration of 'btQuaternion'
1>OgreBulletCollisionsBoxShape.cpp
1>c:\OgreSDK\ogreaddons\OgreBullet\Collisions\include\Utils/OgreBulletConverter.h(66) : error C2039: 'w' : is not a member of 'btQuaternion'
1> c:\ogresdk\ogreaddons\ogrebullet\collisions\include\LinearMath/btQuaternion.h(22) : see declaration of 'btQuaternion'
1>OgreBulletCollisionsWorld.cpp
1>c:\OgreSDK\ogreaddons\OgreBullet\Collisions\include\OgreBulletCollisionsWorld.h(75) : error C2146: syntax error : missing ';' before identifier 'mDefaultCollisionConfiguration'
1>c:\OgreSDK\ogreaddons\OgreBullet\Collisions\include\OgreBulletCollisionsWorld.h(75) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
1>c:\OgreSDK\ogreaddons\OgreBullet\Collisions\include\OgreBulletCollisionsWorld.h(75) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
1>c:\OgreSDK\ogreaddons\OgreBullet\Collisions\include\Utils/OgreBulletConverter.h(66) : error C2039: 'w' : is not a member of 'btQuaternion'
1> c:\ogresdk\ogreaddons\ogrebullet\collisions\include\LinearMath/btQuaternion.h(22) : see declaration of 'btQuaternion'
1>..\..\src\OgreBulletCollisionsWorld.cpp(50) : error C2065: 'mDefaultCollisionConfiguration' : undeclared identifier
1>..\..\src\OgreBulletCollisionsWorld.cpp(59) : error C2065: 'mDefaultCollisionConfiguration' : undeclared identifier
1>OgreBulletCollisionsShape.cpp
1>c:\OgreSDK\ogreaddons\OgreBullet\Collisions\include\Utils/OgreBulletConverter.h(66) : error C2039: 'w' : is not a member of 'btQuaternion'
1> c:\ogresdk\ogreaddons\ogrebullet\collisions\include\LinearMath/btQuaternion.h(22) : see declaration of 'btQuaternion'
1>OgreBulletCollisionsRay.cpp
1>c:\OgreSDK\ogreaddons\OgreBullet\Collisions\include\OgreBulletCollisionsWorld.h(75) : error C2146: syntax error : missing ';' before identifier 'mDefaultCollisionConfiguration'
1>c:\OgreSDK\ogreaddons\OgreBullet\Collisions\include\OgreBulletCollisionsWorld.h(75) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
1>c:\OgreSDK\ogreaddons\OgreBullet\Collisions\include\OgreBulletCollisionsWorld.h(75) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
1>c:\OgreSDK\ogreaddons\OgreBullet\Collisions\include\Utils/OgreBulletConverter.h(66) : error C2039: 'w' : is not a member of 'btQuaternion'
1> c:\ogresdk\ogreaddons\ogrebullet\collisions\include\LinearMath/btQuaternion.h(22) : see declaration of 'btQuaternion'
1>Compiling...
1>OgreBulletCollisionsObjectState.cpp
1>c:\OgreSDK\ogreaddons\OgreBullet\Collisions\include\Utils/OgreBulletConverter.h(66) : error C2039: 'w' : is not a member of 'btQuaternion'
1> c:\ogresdk\ogreaddons\ogrebullet\collisions\include\LinearMath/btQuaternion.h(22) : see declaration of 'btQuaternion'
1>c:\ogresdk\ogreaddons\ogrebullet\collisions\include\OgreBulletCollisionsWorld.h(75) : error C2146: syntax error : missing ';' before identifier 'mDefaultCollisionConfiguration'
1>c:\ogresdk\ogreaddons\ogrebullet\collisions\include\OgreBulletCollisionsWorld.h(75) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
1>c:\ogresdk\ogreaddons\ogrebullet\collisions\include\OgreBulletCollisionsWorld.h(75) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
1>Project : warning PRJ0018 : The following environment variables were not found:
1>$(BULLET_HOME)
1>Build log was saved at "file://c:\OgreSDK\ogreaddons\OgreBullet\Collisions\obj\Release\BuildLog.htm"
1>OgreBulletCollisions - 31 error(s), 3 warning(s)
2>------ Build started: Project: OgreBulletDynamics, Configuration: Release Win32 ------
2>Compiling...
2>cl : Command line warning D9035 : option 'Wp64' has been deprecated and will be removed in a future release
2>OgreBulletDynamicsPrecompiled.cpp
2>Compiling...
2>cl : Command line warning D9035 : option 'Wp64' has been deprecated and will be removed in a future release
2>OgreBulletDynamicsConstraint.cpp
2>c:\ogresdk\ogreaddons\ogrebullet\dynamics\include\OgreBulletCollisionsWorld.h(75) : error C2146: syntax error : missing ';' before identifier 'mDefaultCollisionConfiguration'
2>c:\ogresdk\ogreaddons\ogrebullet\dynamics\include\OgreBulletCollisionsWorld.h(75) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
2>c:\ogresdk\ogreaddons\ogrebullet\dynamics\include\OgreBulletCollisionsWorld.h(75) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
2>c:\ogresdk\ogreaddons\ogrebullet\dynamics\include\Utils/OgreBulletConverter.h(66) : error C2039: 'w' : is not a member of 'btQuaternion'
2> c:\ogresdk\ogreaddons\ogrebullet\dynamics\include\LinearMath/btQuaternion.h(22) : see declaration of 'btQuaternion'
2>OgreBulletDynamicsRaycastVehicle.cpp
2>c:\ogresdk\ogreaddons\ogrebullet\dynamics\include\OgreBulletCollisionsWorld.h(75) : error C2146: syntax error : missing ';' before identifier 'mDefaultCollisionConfiguration'
2>c:\ogresdk\ogreaddons\ogrebullet\dynamics\include\OgreBulletCollisionsWorld.h(75) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
2>c:\ogresdk\ogreaddons\ogrebullet\dynamics\include\OgreBulletCollisionsWorld.h(75) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
2>c:\ogresdk\ogreaddons\ogrebullet\dynamics\include\Utils/OgreBulletConverter.h(66) : error C2039: 'w' : is not a member of 'btQuaternion'
2> c:\ogresdk\ogreaddons\ogrebullet\dynamics\include\LinearMath/btQuaternion.h(22) : see declaration of 'btQuaternion'
2>OgreBulletDynamicsPoint2pointConstraint.cpp
2>c:\ogresdk\ogreaddons\ogrebullet\dynamics\include\OgreBulletCollisionsWorld.h(75) : error C2146: syntax error : missing ';' before identifier 'mDefaultCollisionConfiguration'
2>c:\ogresdk\ogreaddons\ogrebullet\dynamics\include\OgreBulletCollisionsWorld.h(75) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
2>c:\ogresdk\ogreaddons\ogrebullet\dynamics\include\OgreBulletCollisionsWorld.h(75) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
2>c:\ogresdk\ogreaddons\ogrebullet\dynamics\include\Utils/OgreBulletConverter.h(66) : error C2039: 'w' : is not a member of 'btQuaternion'
2> c:\ogresdk\ogreaddons\ogrebullet\dynamics\include\LinearMath/btQuaternion.h(22) : see declaration of 'btQuaternion'
2>OgreBulletDynamicsHingeConstraint.cpp
2>c:\ogresdk\ogreaddons\ogrebullet\dynamics\include\OgreBulletCollisionsWorld.h(75) : error C2146: syntax error : missing ';' before identifier 'mDefaultCollisionConfiguration'
2>c:\ogresdk\ogreaddons\ogrebullet\dynamics\include\OgreBulletCollisionsWorld.h(75) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
2>c:\ogresdk\ogreaddons\ogrebullet\dynamics\include\OgreBulletCollisionsWorld.h(75) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
2>c:\ogresdk\ogreaddons\ogrebullet\dynamics\include\Utils/OgreBulletConverter.h(66) : error C2039: 'w' : is not a member of 'btQuaternion'
2> c:\ogresdk\ogreaddons\ogrebullet\dynamics\include\LinearMath/btQuaternion.h(22) : see declaration of 'btQuaternion'
2>OgreBulletDynamicsConeTwistConstraint.cpp
2>c:\ogresdk\ogreaddons\ogrebullet\dynamics\include\OgreBulletCollisionsWorld.h(75) : error C2146: syntax error : missing ';' before identifier 'mDefaultCollisionConfiguration'
2>c:\ogresdk\ogreaddons\ogrebullet\dynamics\include\OgreBulletCollisionsWorld.h(75) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
2>c:\ogresdk\ogreaddons\ogrebullet\dynamics\include\OgreBulletCollisionsWorld.h(75) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
2>c:\ogresdk\ogreaddons\ogrebullet\dynamics\include\Utils/OgreBulletConverter.h(66) : error C2039: 'w' : is not a member of 'btQuaternion'
2> c:\ogresdk\ogreaddons\ogrebullet\dynamics\include\LinearMath/btQuaternion.h(22) : see declaration of 'btQuaternion'
2>..\..\src\Constraints\OgreBulletDynamicsConeTwistConstraint.cpp(42) : error C2061: syntax error : identifier 'btConeTwistConstraint'
2>..\..\src\Constraints\OgreBulletDynamicsConeTwistConstraint.cpp(55) : error C2061: syntax error : identifier 'btConeTwistConstraint'
2>OgreBulletDynamics6DofConstraint.cpp
2>c:\ogresdk\ogreaddons\ogrebullet\dynamics\include\OgreBulletCollisionsWorld.h(75) : error C2146: syntax error : missing ';' before identifier 'mDefaultCollisionConfiguration'
2>c:\ogresdk\ogreaddons\ogrebullet\dynamics\include\OgreBulletCollisionsWorld.h(75) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
2>c:\ogresdk\ogreaddons\ogrebullet\dynamics\include\OgreBulletCollisionsWorld.h(75) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
2>c:\ogresdk\ogreaddons\ogrebullet\dynamics\include\Utils/OgreBulletConverter.h(66) : error C2039: 'w' : is not a member of 'btQuaternion'
2> c:\ogresdk\ogreaddons\ogrebullet\dynamics\include\LinearMath/btQuaternion.h(22) : see declaration of 'btQuaternion'
2>..\..\src\Constraints\OgreBulletDynamics6DofConstraint.cpp(55) : error C2661: 'btGeneric6DofConstraint::btGeneric6DofConstraint' : no overloaded function takes 5 arguments
2>OgreBulletDynamicsWorld.cpp
2>c:\ogresdk\ogreaddons\ogrebullet\dynamics\include\OgreBulletCollisionsWorld.h(75) : error C2146: syntax error : missing ';' before identifier 'mDefaultCollisionConfiguration'
2>c:\ogresdk\ogreaddons\ogrebullet\dynamics\include\OgreBulletCollisionsWorld.h(75) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
2>c:\ogresdk\ogreaddons\ogrebullet\dynamics\include\OgreBulletCollisionsWorld.h(75) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
2>c:\ogresdk\ogreaddons\ogrebullet\dynamics\include\Utils/OgreBulletConverter.h(66) : error C2039: 'w' : is not a member of 'btQuaternion'
2> c:\ogresdk\ogreaddons\ogrebullet\dynamics\include\LinearMath/btQuaternion.h(22) : see declaration of 'btQuaternion'
2>..\..\src\OgreBulletDynamicsWorld.cpp(55) : error C2065: 'mDefaultCollisionConfiguration' : undeclared identifier
2>..\..\src\OgreBulletDynamicsWorld.cpp(78) : error C2660: 'btDiscreteDynamicsWorld::addRigidBody' : function does not take 3 arguments
2>OgreBulletDynamicsRigidBody.cpp
2>c:\ogresdk\ogreaddons\ogrebullet\dynamics\include\OgreBulletCollisionsWorld.h(75) : error C2146: syntax error : missing ';' before identifier 'mDefaultCollisionConfiguration'
2>c:\ogresdk\ogreaddons\ogrebullet\dynamics\include\OgreBulletCollisionsWorld.h(75) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
2>c:\ogresdk\ogreaddons\ogrebullet\dynamics\include\OgreBulletCollisionsWorld.h(75) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
2>c:\ogresdk\ogreaddons\ogrebullet\dynamics\include\Utils/OgreBulletConverter.h(66) : error C2039: 'w' : is not a member of 'btQuaternion'
2> c:\ogresdk\ogreaddons\ogrebullet\dynamics\include\LinearMath/btQuaternion.h(22) : see declaration of 'btQuaternion'
2>OgreBulletDynamicsObjectState.cpp
2>c:\ogresdk\ogreaddons\ogrebullet\dynamics\include\OgreBulletCollisionsWorld.h(75) : error C2146: syntax error : missing ';' before identifier 'mDefaultCollisionConfiguration'
2>c:\ogresdk\ogreaddons\ogrebullet\dynamics\include\OgreBulletCollisionsWorld.h(75) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
2>c:\ogresdk\ogreaddons\ogrebullet\dynamics\include\OgreBulletCollisionsWorld.h(75) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
2>c:\ogresdk\ogreaddons\ogrebullet\dynamics\include\Utils/OgreBulletConverter.h(66) : error C2039: 'w' : is not a member of 'btQuaternion'
2> c:\ogresdk\ogreaddons\ogrebullet\dynamics\include\LinearMath/btQuaternion.h(22) : see declaration of 'btQuaternion'
2>Project : warning PRJ0018 : The following environment variables were not found:
2>$(BULLET_HOME)
2>Build log was saved at "file://c:\OgreSDK\ogreaddons\OgreBullet\Dynamics\obj\Release\BuildLog.htm"
2>OgreBulletDynamics - 41 error(s), 2 warning(s)
========== Build: 0 succeeded, 2 failed, 0 up-to-date, 0 skipped ==========


Any idea what could be causing this. I am running visual c++ 2008.

nord666

28-09-2008 21:18:20

Hi,

I think you forgot to add the Bullet's headers and libraries.

http://code.google.com/p/bullet/downloads/list
Choose the Bullet 2.71 Physics SDK

I think you'll have to build.

I hope that will work.