Physics Simulation Forum

 

All times are UTC




Post new topic Reply to topic  [ 2 posts ] 
Author Message
 Post subject: ld: library not found for -lBulletMultiThreaded
PostPosted: Fri Dec 04, 2009 8:20 pm 
Offline

Joined: Fri Dec 04, 2009 8:09 pm
Posts: 10
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


Top
 Profile  
 
 Post subject: Re: ld: library not found for -lBulletMultiThreaded
PostPosted: Fri Dec 04, 2009 9:13 pm 
Offline

Joined: Fri Dec 04, 2009 8:09 pm
Posts: 10
I actually just answered my own question by reading the post

viewtopic.php?f=9&t=4238&p=15738&hilit=xcode#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


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 2 posts ] 

All times are UTC


Who is online

Users browsing this forum: Google [Bot], MSN [Bot] and 3 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group