adam
22-03-2011 17:04:19
I'm trying to build ogrebullet but I can't because I keep getting errors. Bullet built successfully but when I build ogrebullet it doesn't work. Here is the output in vc++ 2008.
1>------ Build started: Project: OgreBulletCollisions, Configuration: Debug 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>c:\game\bullet-2.77\src\LinearMath/btSerializer.h(247) : warning C4311: 'type cast' : pointer truncation from 'char *' to 'long'
1>c:\game\bullet-2.77\src\LinearMath/btSerializer.h(282) : warning C4311: 'type cast' : pointer truncation from 'char *' to 'long'
1>c:\game\ogrebullet\collisions\include\OgreBulletCollisionsPreRequisites.h(39) : fatal error C1083: Cannot open include file: 'Ogre.h': No such file or directory
1>Build log was saved at "file://c:\game\ogrebullet\Collisions\obj\Debug\BuildLog.htm"
1>OgreBulletCollisions - 1 error(s), 3 warning(s)
2>------ Build started: Project: OgreBulletDynamics, Configuration: Debug Win32 ------
2>Compiling...
2>cl : Command line warning D9035 : option 'Wp64' has been deprecated and will be removed in a future release
2>cl : Command line warning D9025 : overriding '/Zm111' with '/Zm1000'
2>OgreBulletDynamicsPrecompiled.cpp
2>c:\game\bullet-2.77\src\LinearMath/btSerializer.h(247) : warning C4311: 'type cast' : pointer truncation from 'char *' to 'long'
2>c:\game\bullet-2.77\src\LinearMath/btSerializer.h(282) : warning C4311: 'type cast' : pointer truncation from 'char *' to 'long'
2>c:\game\ogrebullet\dynamics\include\OgreBulletDynamicsPreRequisites.h(37) : fatal error C1083: Cannot open include file: 'Ogre.h': No such file or directory
2>Build log was saved at "file://c:\game\ogrebullet\Dynamics\obj\Debug\BuildLog.htm"
2>OgreBulletDynamics - 1 error(s), 4 warning(s)
3>------ Build started: Project: Dynamics_Demos, Configuration: Debug Win32 ------
3>Compiling...
3>cl : Command line warning D9035 : option 'Wp64' has been deprecated and will be removed in a future release
3>Constraints_Demo.cpp
3>c:\game\bullet-2.77\src\linearmath\btserializer.h(247) : warning C4311: 'type cast' : pointer truncation from 'char *' to 'long'
3>c:\game\bullet-2.77\src\linearmath\btserializer.h(282) : warning C4311: 'type cast' : pointer truncation from 'char *' to 'long'
3>c:\game\ogrebullet\dynamics\include\ogrebulletdynamicsprerequisites.h(37) : fatal error C1083: Cannot open include file: 'Ogre.h': No such file or directory
3>main.cpp
3>c:\game\bullet-2.77\src\linearmath\btserializer.h(247) : warning C4311: 'type cast' : pointer truncation from 'char *' to 'long'
3>c:\game\bullet-2.77\src\linearmath\btserializer.h(282) : warning C4311: 'type cast' : pointer truncation from 'char *' to 'long'
3>c:\game\ogrebullet\collisions\include\ogrebulletcollisionsprerequisites.h(39) : fatal error C1083: Cannot open include file: 'Ogre.h': No such file or directory
3>Primitives_Demo.cpp
3>c:\game\bullet-2.77\src\linearmath\btserializer.h(247) : warning C4311: 'type cast' : pointer truncation from 'char *' to 'long'
3>c:\game\bullet-2.77\src\linearmath\btserializer.h(282) : warning C4311: 'type cast' : pointer truncation from 'char *' to 'long'
3>c:\game\ogrebullet\dynamics\include\ogrebulletdynamicsprerequisites.h(37) : fatal error C1083: Cannot open include file: 'Ogre.h': No such file or directory
3>Ragdoll_Demo.cpp
3>c:\game\bullet-2.77\src\linearmath\btserializer.h(247) : warning C4311: 'type cast' : pointer truncation from 'char *' to 'long'
3>c:\game\bullet-2.77\src\linearmath\btserializer.h(282) : warning C4311: 'type cast' : pointer truncation from 'char *' to 'long'
3>c:\game\ogrebullet\dynamics\include\ogrebulletdynamicsprerequisites.h(37) : fatal error C1083: Cannot open include file: 'Ogre.h': No such file or directory
3>Terrain_Demo.cpp
3>c:\game\bullet-2.77\src\linearmath\btserializer.h(247) : warning C4311: 'type cast' : pointer truncation from 'char *' to 'long'
3>c:\game\bullet-2.77\src\linearmath\btserializer.h(282) : warning C4311: 'type cast' : pointer truncation from 'char *' to 'long'
3>c:\game\ogrebullet\dynamics\include\ogrebulletdynamicsprerequisites.h(37) : fatal error C1083: Cannot open include file: 'Ogre.h': No such file or directory
3>TriMesh_Demo.cpp
3>c:\game\bullet-2.77\src\linearmath\btserializer.h(247) : warning C4311: 'type cast' : pointer truncation from 'char *' to 'long'
3>c:\game\bullet-2.77\src\linearmath\btserializer.h(282) : warning C4311: 'type cast' : pointer truncation from 'char *' to 'long'
3>c:\game\ogrebullet\dynamics\include\ogrebulletdynamicsprerequisites.h(37) : fatal error C1083: Cannot open include file: 'Ogre.h': No such file or directory
3>Vehicle_Demo.cpp
3>c:\game\bullet-2.77\src\linearmath\btserializer.h(247) : warning C4311: 'type cast' : pointer truncation from 'char *' to 'long'
3>c:\game\bullet-2.77\src\linearmath\btserializer.h(282) : warning C4311: 'type cast' : pointer truncation from 'char *' to 'long'
3>c:\game\ogrebullet\dynamics\include\ogrebulletdynamicsprerequisites.h(37) : fatal error C1083: Cannot open include file: 'Ogre.h': No such file or directory
3>BetaGUI.cpp
3>c:\game\ogrebullet\demos\include\betagui.h(8) : fatal error C1083: Cannot open include file: 'Ogre.h': No such file or directory
3>OgreBulletApplication.cpp
3>c:\game\bullet-2.77\src\linearmath\btserializer.h(247) : warning C4311: 'type cast' : pointer truncation from 'char *' to 'long'
3>c:\game\bullet-2.77\src\linearmath\btserializer.h(282) : warning C4311: 'type cast' : pointer truncation from 'char *' to 'long'
3>c:\game\ogrebullet\collisions\include\ogrebulletcollisionsprerequisites.h(39) : fatal error C1083: Cannot open include file: 'Ogre.h': No such file or directory
3>OgreBulletGuiListener.cpp
3>c:\game\bullet-2.77\src\linearmath\btserializer.h(247) : warning C4311: 'type cast' : pointer truncation from 'char *' to 'long'
3>c:\game\bullet-2.77\src\linearmath\btserializer.h(282) : warning C4311: 'type cast' : pointer truncation from 'char *' to 'long'
3>c:\game\ogrebullet\dynamics\include\ogrebulletdynamicsprerequisites.h(37) : fatal error C1083: Cannot open include file: 'Ogre.h': No such file or directory
3>OgreBulletInputListener.cpp
3>c:\game\bullet-2.77\src\linearmath\btserializer.h(247) : warning C4311: 'type cast' : pointer truncation from 'char *' to 'long'
3>c:\game\bullet-2.77\src\linearmath\btserializer.h(282) : warning C4311: 'type cast' : pointer truncation from 'char *' to 'long'
3>c:\game\ogrebullet\dynamics\include\ogrebulletdynamicsprerequisites.h(37) : fatal error C1083: Cannot open include file: 'Ogre.h': No such file or directory
3>OgreBulletListener.cpp
3>c:\game\bullet-2.77\src\linearmath\btserializer.h(247) : warning C4311: 'type cast' : pointer truncation from 'char *' to 'long'
3>c:\game\bullet-2.77\src\linearmath\btserializer.h(282) : warning C4311: 'type cast' : pointer truncation from 'char *' to 'long'
3>c:\game\ogrebullet\collisions\include\ogrebulletcollisionsprerequisites.h(39) : fatal error C1083: Cannot open include file: 'Ogre.h': No such file or directory
3>Generating Code...
3>Project : warning PRJ0018 : The following environment variables were not found:
3>$(OGRE_LIBS)
3>$(BULLET_LIBS)
3>$(OIS_HOME)
3>Build log was saved at "file://c:\game\ogrebullet\Demos\Dynamics_Demos\obj\Debug\BuildLog.htm"
3>Dynamics_Demos - 12 error(s), 23 warning(s)
========== Build: 0 succeeded, 3 failed, 0 up-to-date, 0 skipped ==========
It can't seem to find OGRE how do I fix this? I have set the OGRE_HOME, BULLET_HOME and BULLET_ROOT environment variables.
Thanks
Thanks
1>------ Build started: Project: OgreBulletCollisions, Configuration: Debug 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>c:\game\bullet-2.77\src\LinearMath/btSerializer.h(247) : warning C4311: 'type cast' : pointer truncation from 'char *' to 'long'
1>c:\game\bullet-2.77\src\LinearMath/btSerializer.h(282) : warning C4311: 'type cast' : pointer truncation from 'char *' to 'long'
1>c:\game\ogrebullet\collisions\include\OgreBulletCollisionsPreRequisites.h(39) : fatal error C1083: Cannot open include file: 'Ogre.h': No such file or directory
1>Build log was saved at "file://c:\game\ogrebullet\Collisions\obj\Debug\BuildLog.htm"
1>OgreBulletCollisions - 1 error(s), 3 warning(s)
2>------ Build started: Project: OgreBulletDynamics, Configuration: Debug Win32 ------
2>Compiling...
2>cl : Command line warning D9035 : option 'Wp64' has been deprecated and will be removed in a future release
2>cl : Command line warning D9025 : overriding '/Zm111' with '/Zm1000'
2>OgreBulletDynamicsPrecompiled.cpp
2>c:\game\bullet-2.77\src\LinearMath/btSerializer.h(247) : warning C4311: 'type cast' : pointer truncation from 'char *' to 'long'
2>c:\game\bullet-2.77\src\LinearMath/btSerializer.h(282) : warning C4311: 'type cast' : pointer truncation from 'char *' to 'long'
2>c:\game\ogrebullet\dynamics\include\OgreBulletDynamicsPreRequisites.h(37) : fatal error C1083: Cannot open include file: 'Ogre.h': No such file or directory
2>Build log was saved at "file://c:\game\ogrebullet\Dynamics\obj\Debug\BuildLog.htm"
2>OgreBulletDynamics - 1 error(s), 4 warning(s)
3>------ Build started: Project: Dynamics_Demos, Configuration: Debug Win32 ------
3>Compiling...
3>cl : Command line warning D9035 : option 'Wp64' has been deprecated and will be removed in a future release
3>Constraints_Demo.cpp
3>c:\game\bullet-2.77\src\linearmath\btserializer.h(247) : warning C4311: 'type cast' : pointer truncation from 'char *' to 'long'
3>c:\game\bullet-2.77\src\linearmath\btserializer.h(282) : warning C4311: 'type cast' : pointer truncation from 'char *' to 'long'
3>c:\game\ogrebullet\dynamics\include\ogrebulletdynamicsprerequisites.h(37) : fatal error C1083: Cannot open include file: 'Ogre.h': No such file or directory
3>main.cpp
3>c:\game\bullet-2.77\src\linearmath\btserializer.h(247) : warning C4311: 'type cast' : pointer truncation from 'char *' to 'long'
3>c:\game\bullet-2.77\src\linearmath\btserializer.h(282) : warning C4311: 'type cast' : pointer truncation from 'char *' to 'long'
3>c:\game\ogrebullet\collisions\include\ogrebulletcollisionsprerequisites.h(39) : fatal error C1083: Cannot open include file: 'Ogre.h': No such file or directory
3>Primitives_Demo.cpp
3>c:\game\bullet-2.77\src\linearmath\btserializer.h(247) : warning C4311: 'type cast' : pointer truncation from 'char *' to 'long'
3>c:\game\bullet-2.77\src\linearmath\btserializer.h(282) : warning C4311: 'type cast' : pointer truncation from 'char *' to 'long'
3>c:\game\ogrebullet\dynamics\include\ogrebulletdynamicsprerequisites.h(37) : fatal error C1083: Cannot open include file: 'Ogre.h': No such file or directory
3>Ragdoll_Demo.cpp
3>c:\game\bullet-2.77\src\linearmath\btserializer.h(247) : warning C4311: 'type cast' : pointer truncation from 'char *' to 'long'
3>c:\game\bullet-2.77\src\linearmath\btserializer.h(282) : warning C4311: 'type cast' : pointer truncation from 'char *' to 'long'
3>c:\game\ogrebullet\dynamics\include\ogrebulletdynamicsprerequisites.h(37) : fatal error C1083: Cannot open include file: 'Ogre.h': No such file or directory
3>Terrain_Demo.cpp
3>c:\game\bullet-2.77\src\linearmath\btserializer.h(247) : warning C4311: 'type cast' : pointer truncation from 'char *' to 'long'
3>c:\game\bullet-2.77\src\linearmath\btserializer.h(282) : warning C4311: 'type cast' : pointer truncation from 'char *' to 'long'
3>c:\game\ogrebullet\dynamics\include\ogrebulletdynamicsprerequisites.h(37) : fatal error C1083: Cannot open include file: 'Ogre.h': No such file or directory
3>TriMesh_Demo.cpp
3>c:\game\bullet-2.77\src\linearmath\btserializer.h(247) : warning C4311: 'type cast' : pointer truncation from 'char *' to 'long'
3>c:\game\bullet-2.77\src\linearmath\btserializer.h(282) : warning C4311: 'type cast' : pointer truncation from 'char *' to 'long'
3>c:\game\ogrebullet\dynamics\include\ogrebulletdynamicsprerequisites.h(37) : fatal error C1083: Cannot open include file: 'Ogre.h': No such file or directory
3>Vehicle_Demo.cpp
3>c:\game\bullet-2.77\src\linearmath\btserializer.h(247) : warning C4311: 'type cast' : pointer truncation from 'char *' to 'long'
3>c:\game\bullet-2.77\src\linearmath\btserializer.h(282) : warning C4311: 'type cast' : pointer truncation from 'char *' to 'long'
3>c:\game\ogrebullet\dynamics\include\ogrebulletdynamicsprerequisites.h(37) : fatal error C1083: Cannot open include file: 'Ogre.h': No such file or directory
3>BetaGUI.cpp
3>c:\game\ogrebullet\demos\include\betagui.h(8) : fatal error C1083: Cannot open include file: 'Ogre.h': No such file or directory
3>OgreBulletApplication.cpp
3>c:\game\bullet-2.77\src\linearmath\btserializer.h(247) : warning C4311: 'type cast' : pointer truncation from 'char *' to 'long'
3>c:\game\bullet-2.77\src\linearmath\btserializer.h(282) : warning C4311: 'type cast' : pointer truncation from 'char *' to 'long'
3>c:\game\ogrebullet\collisions\include\ogrebulletcollisionsprerequisites.h(39) : fatal error C1083: Cannot open include file: 'Ogre.h': No such file or directory
3>OgreBulletGuiListener.cpp
3>c:\game\bullet-2.77\src\linearmath\btserializer.h(247) : warning C4311: 'type cast' : pointer truncation from 'char *' to 'long'
3>c:\game\bullet-2.77\src\linearmath\btserializer.h(282) : warning C4311: 'type cast' : pointer truncation from 'char *' to 'long'
3>c:\game\ogrebullet\dynamics\include\ogrebulletdynamicsprerequisites.h(37) : fatal error C1083: Cannot open include file: 'Ogre.h': No such file or directory
3>OgreBulletInputListener.cpp
3>c:\game\bullet-2.77\src\linearmath\btserializer.h(247) : warning C4311: 'type cast' : pointer truncation from 'char *' to 'long'
3>c:\game\bullet-2.77\src\linearmath\btserializer.h(282) : warning C4311: 'type cast' : pointer truncation from 'char *' to 'long'
3>c:\game\ogrebullet\dynamics\include\ogrebulletdynamicsprerequisites.h(37) : fatal error C1083: Cannot open include file: 'Ogre.h': No such file or directory
3>OgreBulletListener.cpp
3>c:\game\bullet-2.77\src\linearmath\btserializer.h(247) : warning C4311: 'type cast' : pointer truncation from 'char *' to 'long'
3>c:\game\bullet-2.77\src\linearmath\btserializer.h(282) : warning C4311: 'type cast' : pointer truncation from 'char *' to 'long'
3>c:\game\ogrebullet\collisions\include\ogrebulletcollisionsprerequisites.h(39) : fatal error C1083: Cannot open include file: 'Ogre.h': No such file or directory
3>Generating Code...
3>Project : warning PRJ0018 : The following environment variables were not found:
3>$(OGRE_LIBS)
3>$(BULLET_LIBS)
3>$(OIS_HOME)
3>Build log was saved at "file://c:\game\ogrebullet\Demos\Dynamics_Demos\obj\Debug\BuildLog.htm"
3>Dynamics_Demos - 12 error(s), 23 warning(s)
========== Build: 0 succeeded, 3 failed, 0 up-to-date, 0 skipped ==========
It can't seem to find OGRE how do I fix this? I have set the OGRE_HOME, BULLET_HOME and BULLET_ROOT environment variables.
Thanks
Thanks