I just synched to revision 2476.
Upon building I get:
fatal error: BulletCollision/COllisionShapes/btSphereShape.h: No such file or directory
compilation terminated.
It looks like an error in naming the directory:
/COllisionShapes/ should be
/CollisionShapes/ no capital 'O'
I do have the BulletCollision/CollisionShapes/btSphereShape.h
building on unix.
darKoram
build error :revision 2476 COllisionShapes/btSphereShape.h:
-
- Posts: 6
- Joined: Mon Nov 28, 2011 1:59 am
-
- Posts: 6
- Joined: Mon Nov 28, 2011 1:59 am
Re: build error :revision 2476 COllisionShapes/btSphereShape
I fixed the typo and the build then ran until 97%
/home/kesten/VersionControlProjects/Bazaar/Engines/Bullet/bullet-trunk/trunk/Demos/SharedOpenCL/btOpenCLUtils.cpp:426:82: error: ‘sprintf_s’ was not declared in this scope
/home/kesten/VersionControlProjects/Bazaar/Engines/Bullet/bullet-trunk/trunk/Demos/SharedOpenCL/btOpenCLUtils.cpp:432:3: error: ‘FILETIME’ was not declared in this scope
/home/kesten/VersionControlProjects/Bazaar/Engines/Bullet/bullet-trunk/trunk/Demos/SharedOpenCL/btOpenCLUtils.cpp:432:12: error: expected ‘;’ before ‘modtimeBinary’
make[2]: *** [Demos/ParticlesOpenCL/Intel/CMakeFiles/AppParticlesOCL_Intel.dir/__/__/SharedOpenCL/btOpenCLUtils.o] Error 1
make[1]: *** [Demos/ParticlesOpenCL/Intel/CMakeFiles/AppParticlesOCL_Intel.dir/all] Error 2
make[1]: *** Waiting for unfinished jobs....
Linking CXX executable AppMultiThreadedDemo
[ 97%] [ 97%] Built target AppMultiThreadedDemo
Built target AppSerializeDemo
It looks like the mods to btOpenCLUtiles.cpp at revision 2463 is causing the problems.
/home/kesten/VersionControlProjects/Bazaar/Engines/Bullet/bullet-trunk/trunk/Demos/SharedOpenCL/btOpenCLUtils.cpp:426:82: error: ‘sprintf_s’ was not declared in this scope
/home/kesten/VersionControlProjects/Bazaar/Engines/Bullet/bullet-trunk/trunk/Demos/SharedOpenCL/btOpenCLUtils.cpp:432:3: error: ‘FILETIME’ was not declared in this scope
/home/kesten/VersionControlProjects/Bazaar/Engines/Bullet/bullet-trunk/trunk/Demos/SharedOpenCL/btOpenCLUtils.cpp:432:12: error: expected ‘;’ before ‘modtimeBinary’
make[2]: *** [Demos/ParticlesOpenCL/Intel/CMakeFiles/AppParticlesOCL_Intel.dir/__/__/SharedOpenCL/btOpenCLUtils.o] Error 1
make[1]: *** [Demos/ParticlesOpenCL/Intel/CMakeFiles/AppParticlesOCL_Intel.dir/all] Error 2
make[1]: *** Waiting for unfinished jobs....
Linking CXX executable AppMultiThreadedDemo
[ 97%] [ 97%] Built target AppMultiThreadedDemo
Built target AppSerializeDemo
It looks like the mods to btOpenCLUtiles.cpp at revision 2463 is causing the problems.
-
- Posts: 6
- Joined: Mon Nov 28, 2011 1:59 am
Re: build error :revision 2476 COllisionShapes/btSphereShape
reverting btOpenCLUtiles.cpp and .h to 2462
I am able to finish building.
However, I have to turn off BUILD_INTEL_OPENCL_DEMOS because of the following errors which I also had when synched completely to 2447 (i think)
[100%] Building CXX object Demos/OpenCLClothDemo/Intel/CMakeFiles/AppOpenCLClothDemo_Intel.dir/__/clstuff.o
Linking CXX executable AppOpenCLClothDemo_Intel
Linking CXX executable AppParticlesOCL_Intel
Linking CXX executable AppBulletUnitTests
CMakeFiles/AppParticlesOCL_Intel.dir/__/btParticlesDemoDynamicsWorld.o: In function `btParticlesDynamicsWorld::adjustGrid()':
/home/kesten/VersionControlProjects/Bazaar/Engines/Bullet/bullet-trunk/trunk/Demos/ParticlesOpenCL/btParticlesDemoDynamicsWorld.cpp:208: undefined reference to `__glewBindBufferARB'
I have an ATI Radeon HD 5470 graphics card with proprietary fglrx driver which handles OpenGL stuff.
I noticed that GLEW_GET_FUN(OPENGL*stuff*) in cmake-2.8/Modules has some special code for finding NVIDIA gl.h file. Unfortunately, my glstuff lib that came with the sdk for ATI doesn't include a gl.h file-mate to fglrx.so so I think this might be the source of the linking problems. But if you have any other suggestions, great.
darKoram
I am able to finish building.
However, I have to turn off BUILD_INTEL_OPENCL_DEMOS because of the following errors which I also had when synched completely to 2447 (i think)
[100%] Building CXX object Demos/OpenCLClothDemo/Intel/CMakeFiles/AppOpenCLClothDemo_Intel.dir/__/clstuff.o
Linking CXX executable AppOpenCLClothDemo_Intel
Linking CXX executable AppParticlesOCL_Intel
Linking CXX executable AppBulletUnitTests
CMakeFiles/AppParticlesOCL_Intel.dir/__/btParticlesDemoDynamicsWorld.o: In function `btParticlesDynamicsWorld::adjustGrid()':
/home/kesten/VersionControlProjects/Bazaar/Engines/Bullet/bullet-trunk/trunk/Demos/ParticlesOpenCL/btParticlesDemoDynamicsWorld.cpp:208: undefined reference to `__glewBindBufferARB'
I have an ATI Radeon HD 5470 graphics card with proprietary fglrx driver which handles OpenGL stuff.
I noticed that GLEW_GET_FUN(OPENGL*stuff*) in cmake-2.8/Modules has some special code for finding NVIDIA gl.h file. Unfortunately, my glstuff lib that came with the sdk for ATI doesn't include a gl.h file-mate to fglrx.so so I think this might be the source of the linking problems. But if you have any other suggestions, great.
darKoram