title: Compiling Box2D in Xcode, build directory issues
body: <p>I'm a bit stuck here, basically I'm trying to compile Box2D as a static cocos library. I started by creating a static library project in xcode4 and dragged in the source files (in the correct folder hierarchy) into the project. When I compile though I get a whole load of errors in regards to the header files not being found.</p>
  
  <p>So all these header files being looked for in b2GearJoint.cpp are not found:</p>
  
  <pre><code>#include &lt;Box2D/Dynamics/Joints/b2GearJoint.h&gt;
  #include &lt;Box2D/Dynamics/Joints/b2RevoluteJoint.h&gt;
  #include &lt;Box2D/Dynamics/Joints/b2PrismaticJoint.h&gt;
  #include &lt;Box2D/Dynamics/b2Body.h&gt;
  #include &lt;Box2D/Dynamics/b2TimeStep.h&gt;
  </code></pre>
  
  <p>I figured this should be straight forward enough to fix, I just need to include the root box2d folder in the pre-included directories so it knows where to look. So I added the project root directory to the search path header section but i still get the same errors.</p>
  
  <p>This may actually have a straightforward solution but I'm new to xcode 4 (usually a visual studio user)...</p>