2014/02/20

Install Bullet for iOS

I gave up to install OpenCV for iOS the other day… I was probably able to build some libraries with homebrew, but failed to use them in Xcode. I wanted to make opencv2.framework as official page says, but failed.

Next I tried to install Bullet, famous 3D physics engine.

Bullet Physics Tutorial: Getting Started | Ray Wenderlich
↑I did along this tutorial, but the terminal showed next error message :

xcode-select: error: tool 'xcodebuild' requires Xcode, but active developer directory '/Library/Developer/CommandLineTools' is a command line tools instance

Well, fail again?
But I found one post about this message and tried :
$sudo xcode-select -switch /Applications/Xcode.app/Contents/Developer

Then I tried to build again and saw that 'BUILD SUCCEEDED’ message.
build succeeded message
↑GREAT!
Now Bullet works in my iPhone as the tutorial said.
Develop | Comments(0) | Trackback(0)
Comment

管理者のみに表示