ofxbox2d + codeblocks

Hi All,

i’m having a few issues getting ofxbox2d wrapper to work in codeblocks, i downloaded the source files from google code and set up a project using the examples. However every time i compile i get an error saying ‘ofxbox2d.h No such file or directory’

see attached image


I am including the Addon as i do with all other addons, any suggestions



you need to add include paths to find box2d – look for:

project -> build options -> search directories

and add the relative path from the .cbp file to the directories you need to find. also be sure that you do it for both debug and release (all targets).

  • z

Thanks Zach,

all fixed

really appreciate the quick response, i’m an xcode man normally, recently switched to codeblocks for work