Creating a project from scratch

From Physics Simulation Wiki

Revision as of 22:07, 3 November 2008 by Erwincoumans (Talk | contribs)
(diff) ← Older revision | Current revision (diff) | Newer revision → (diff)
Jump to: navigation, search

Creating a project from scratch using Visual Studio

Creating a project from scratch using XCode

Assume we downloaded bullet-2.x.tgz and unzipped it into a folder /Users/name/develop, we will have for example: /Users/name/develop/bullet-2.72

  • Create a new C++ console application, using XCode:

File:Newxcodeproject.jpg

  • put it in next to bullet-2.x, in the develop folder:

File:Developfolder.jpg

  • Open the main.cpp file and add #include "btBulletDynamicsCommon.h":

File:Addcommoninclude.jpg

  • Edit the project settings

File:Editxcodeprojectsettings.jpg

  • Add the bullet-2.x/src folder:

File:Addbulletsrcinclude.jpg File:Addbulletsrcinclude.jpg

  • Now build the project:

File:Buildxcode.jpg From here, continue to the HelloWorld tutorial.

Personal tools