compile error: can't find src/LinearMath/btTypedUserInfo.h?

cpeterso
Posts: 5
Joined: Mon Mar 17, 2008 2:01 am

compile error: can't find src/LinearMath/btTypedUserInfo.h?

Post by cpeterso »

I just downloaded the bullet-2.67-new.zip SDK. I'm trying to build it with CMake (and gcc 4.0.1) on Mac OS X 10.4.11 (PowerPC), but I get the following compile error from CMake:

Code: Select all

sciencediet:~/svn/bullet-2.67-new/src$ cmake .
-- Check for working C compiler: /usr/bin/gcc
-- Check for working C compiler: /usr/bin/gcc -- works
-- Check size of void*
-- Check size of void* - done
-- Check for working CXX compiler: /usr/bin/c++
-- Check for working CXX compiler: /usr/bin/c++ -- works
CMake Error: Cannot find source file "/Users/chris/svn/bullet-2.67-new/src/LinearMath/btTypedUserInfo.h" for target "LibLinearMath"
And indeed, I don't have a btTypedUserInfo.h header file. What am I doing wrong? Is this a generated file? I don't see it in the Google Code SVN repository either.

thanks,
chris
User avatar
Erwin Coumans
Site Admin
Posts: 4221
Joined: Sun Jun 26, 2005 6:43 pm
Location: California, USA

Re: compile error: can't find src/LinearMath/btTypedUserInfo.h?

Post by Erwin Coumans »

The file has been removed, and we forgot to remove it from CMake build system.
Please remove btTypedUserInfo.h from the Bullet/src/LinearMath/CMakeLists.txt, and add btHashMap.h, see below.
It will be fixed in SVN and for upcoming 2.68 release,

Can you let us know if there are other issues?
Thanks for reporting!
Erwin

ADD_LIBRARY(LibLinearMath
btAlignedObjectArray.h
btList.h
btPoolAllocator.h
btRandom.h
btVector3.h
btDefaultMotionState.h
btMatrix3x3.h
btQuadWord.h
btHashMap.h
btScalar.h
btAabbUtil2.h
btMinMax.h
btQuaternion.h
btStackAlloc.h
btGeometryUtil.h
btMotionState.h
btTransform.h
btAlignedAllocator.h
btIDebugDraw.h
btPoint3.h
btQuickprof.h
btTransformUtil.h
btQuickprof.cpp
btGeometryUtil.cpp
btAlignedAllocator.cpp
)
cpeterso
Posts: 5
Joined: Mon Mar 17, 2008 2:01 am

Re: compile error: can't find src/LinearMath/btTypedUserInfo.h?

Post by cpeterso »

thanks for such a quick response! Making the CMakeLists.txt changes you suggested fixed the build problem.

thanks,
chris
cpeterso
Posts: 5
Joined: Mon Mar 17, 2008 2:01 am

Re: compile error: can't find src/LinearMath/btTypedUserInfo.h?

Post by cpeterso »

two minor issues:

1. A number of the demos are not built by the Demos/CMakeLists.txt.
2. The ForkLiftDemo has compile errors when I try to cmake it manually. (which probably explains #1) :)

chris