ld: library not found for -lBulletMultiThreaded

TatamiSoftware
Posts: 10
Joined: Fri Dec 04, 2009 8:09 pm

ld: library not found for -lBulletMultiThreaded

Post by TatamiSoftware »

Hi everyone,

I'm trying to build bullet-2.75 on Snow Leopard using Xcode 3.2.1 and I'm getting the following
error from Xcode:
"ld: library not found for -lBulletMultiThreaded"
I started by running "$ cmake -G Xcode" and then building the BULLET_PHYSICS Xcode project that
was generated (Configuration: DEBUG; Active Target: ALL_BUILD; Architecture: i386).

Does anyone know what I might be doing wrong here? Any help would be greatly appreciated.

Thanks,
- D
TatamiSoftware
Posts: 10
Joined: Fri Dec 04, 2009 8:09 pm

Re: ld: library not found for -lBulletMultiThreaded

Post by TatamiSoftware »

I actually just answered my own question by reading the post

http://bulletphysics.org/Bullet/phpBB3/ ... ode#p15738

I got the Xcode project to build by commenting out the appropriate lines in bullet-2.75/src/CMakeLists.txt before running cmake.

#if (CMAKE_SIZEOF_VOID_P MATCHES "8")
#SUBDIRS( BulletSoftBody BulletCollision BulletDynamics LinearMath )
#else (CMAKE_SIZEOF_VOID_P MATCHES "8")
SUBDIRS( BulletMultiThreaded BulletSoftBody BulletCollision BulletDynamics LinearMath )
#endif (CMAKE_SIZEOF_VOID_P MATCHES "8")

This fixed everything (as far as I can tell).

Thanks,
- D