Box2D Forums

It is currently Wed May 22, 2013 1:34 pm

All times are UTC - 8 hours [ DST ]




Post new topic Reply to topic  [ 3 posts ] 
Author Message
PostPosted: Tue May 08, 2012 1:18 am 
Offline

Joined: Thu Apr 01, 2010 1:42 pm
Posts: 72
Hi there !

I wanted to try out the new motor joint so I wanted to see the testbed example but I can't get to build it with the latest repository of box2D.

I tried with Cmake but when trying to cmake either Box2D or Testbed I get
Quote:
CMake Error at Box2D/CMakeLists.txt:196 (install):
install TARGETS given no LIBRARY DESTINATION for shared library target
"Box2D_shared".


I wanted then to build it thanks to Xcode since a xcodeproj file is given.
It says me build succeeded but then I checked for testbed built file but there is no such file on my computer… I wonder why.

Do you have any idea ?

Thanks !


Last edited by Sheeft on Tue May 08, 2012 1:26 pm, edited 1 time in total.

Top
 Profile  
 
PostPosted: Tue May 08, 2012 12:08 pm 
Offline

Joined: Tue Jun 24, 2008 8:25 pm
Posts: 1517
Location: Tokyo
About the cmake problem, you can comment those lines out in the CMakeLists.txt file.
About the Xcode problem, check that you are not building the HelloWorld example instead.


Top
 Profile  
 
PostPosted: Tue May 08, 2012 1:20 pm 
Offline

Joined: Thu Apr 01, 2010 1:42 pm
Posts: 72
Well for XCode, I'm using the Box2D/Build/xcode4/Box2D.xcodeproj file…
I checked the output after compiling and it seems it built only the Box2D target but I can see there are 4 targets, including Testbed… I have to find out how to build the other targets…

Edit : I got it !

It's fine now. Thanks !


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

All times are UTC - 8 hours [ DST ]


Who is online

Users browsing this forum: No registered users and 1 guest


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:
Powered by phpBB® Forum Software © phpBB Group