Physics Simulation Forum

 

All times are UTC




Post new topic Reply to topic  [ 8 posts ] 
Author Message
PostPosted: Tue Apr 05, 2011 3:08 pm 
Offline

Joined: Tue Apr 05, 2011 3:05 pm
Posts: 5
Hello,

I have followed this tutorial: http://bulletphysics.org/mediawiki-1.5. ... om_scratch but I cannot compile my Hello World project. I get this error: "error: BulletDynamics/btBulletDynamicsCommon.h: No such file or directory". Framworks are in /Library/Frameworks and I have added them to Xcode project. Please help!

Thanks!


Last edited by Matic on Sat Apr 09, 2011 8:33 am, edited 1 time in total.

Top
 Profile  
 
PostPosted: Wed Apr 06, 2011 8:11 am 
Offline

Joined: Tue Apr 05, 2011 3:05 pm
Posts: 5
I have successfuly included Frameworks in my project but I get following error: Lexical or Preprocessor Issue 'cstdlib' file not found? What can I do?


Thanks!


Top
 Profile  
 
PostPosted: Sat Apr 09, 2011 7:50 am 
Offline

Joined: Tue Apr 05, 2011 3:05 pm
Posts: 5
so nobody is usinge Bullety Physics with iOS SDK 4.3? I really need some guidance. Thanks in advance for help!


Top
 Profile  
 
PostPosted: Sat Apr 09, 2011 8:32 am 
Offline

Joined: Tue Apr 05, 2011 3:05 pm
Posts: 5
These are compilation errors. Any ideas?


Attachments:
Screen shot 2011-04-09 at 10.31.09 AM.png
Screen shot 2011-04-09 at 10.31.09 AM.png [ 75.69 KiB | Viewed 1480 times ]
Top
 Profile  
 
PostPosted: Sat Apr 09, 2011 2:32 pm 
Offline

Joined: Tue Apr 05, 2011 3:05 pm
Posts: 5
For all that have problems with Bullet Physics and Objective-C - change your Objective-C file to Objective-C++ and you can include Bullet Physics into OC file.

I need to compile Bullet Physics into Frameworks for iOS. What do I have to change in CMAKE file for iOS (ARM) compilation?


Top
 Profile  
 
PostPosted: Mon Apr 11, 2011 1:48 pm 
Offline

Joined: Wed Jan 26, 2011 11:11 pm
Posts: 3
Matic wrote:
I need to compile Bullet Physics into Frameworks for iOS. What do I have to change in CMAKE file for iOS (ARM) compilation?


Haven't tried to create a framwork, but you can easily create a static library for iOS by changing some minor stuff in the "Extras/AllBulletDemosOSX"-project and creating a new static library build target. I haven't managed to do the same with cmake.


Top
 Profile  
 
PostPosted: Thu Jun 14, 2012 6:10 am 
Offline

Joined: Thu Jun 14, 2012 6:04 am
Posts: 2
There is a tutorial with step by step instructions for integrating Bullet Physics with iOS 5.x and Apple's GLKit framework and OpenGL ES 2.0 http://www.informit.com/articles/article.aspx?p=1914612

The example code downloadable with the tutorial will get you started quickly and produces an interesting simulation.


Top
 Profile  
 
PostPosted: Fri Jun 29, 2012 1:34 am 
Offline
Site Admin
User avatar

Joined: Sun Jun 26, 2005 6:43 pm
Posts: 3746
Location: California, USA
@ AffluentNerd Thanks for the tutorial link!

The latest SVN trunk should compile out-of-the-box for iOS when using premake. In a nutshell you can run the following commands to generate Xcode files with iOS support:

cd build
./premake_osx --ios xcode4

Apple contributed some unit tests and optimizations, which are included.
Thanks,
Erwin


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

All times are UTC


Who is online

Users browsing this forum: Bing [Bot] and 0 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® Forum Software © phpBB Group