Box2D Forums

It is currently Wed May 22, 2013 4:07 pm

All times are UTC - 8 hours [ DST ]




Post new topic Reply to topic  [ 3 posts ] 
Author Message
PostPosted: Tue Jan 10, 2012 5:36 pm 
Offline

Joined: Tue Jan 10, 2012 5:22 pm
Posts: 2
This is my first time setting Box2D and I went through the usual procedure for setting any library that I've gotten down really well by now. The thing is for some reason my compiler is saying it can't find b2Settings.h.

I've looked in the directory the files are in and it is there but I'm clueless as to why it can't find it. :?:


Top
 Profile  
 
PostPosted: Wed Jan 11, 2012 4:23 am 
Offline

Joined: Tue Jun 24, 2008 8:25 pm
Posts: 1517
Location: Tokyo
Where are you telling it to look, and what is the include you are using?
Box2D stuff is supposed to be included like:
#include <Box2D/Box2D.h>
which means you need to set the include path to the folder which contains the 'Box2D' folder, not the folder which contains Box2D.h itself.


Top
 Profile  
 
PostPosted: Wed Jan 11, 2012 7:42 am 
Offline

Joined: Tue Jan 10, 2012 5:22 pm
Posts: 2
That last line of yours could be the problem. :oops:

I'm so used to going to the folder that has the main include file(s) so I went one folder too far. :oops:

Didn't know that either and never saw it mentioned anywhere or did and just didn't notice.

Thanks for the help I'll go and see if that is the problem. :)


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