Box2d Linux => Box2d/Box2D.h: No such file or directory|

Hi guys,

i try to run box2d on linux codeblocks
i copy the ofxBox2d in the addons folder.
then i use the project generator.
and without any code written
i get

../src/ofxBox2dUtils.h|3|fatal error: Box2d/Box2D.h: No such file or directory|

if i try to run the exemples in the addon folder directly i get

./../../libs/openFrameworks/graphics/ofCairoRenderer.h|4|fatal error: cairo-features.h: No such file or directory|

or

../src/ofxBox2dUtils.h|3|fatal error: Box2d/Box2D.h: No such file or directory|

again

Any help would be nice thank you

its just a typo miss, in ofxBox2dBaseShape.h and ofxBox2dUtils.h change “Box2d/Box2D.h” to “Box2D/Box2D.h” (note D in uppercase)

1 Like

lol,
so simple,
works now
I had same issue with ofxOpenCv btw ofxOpencv -> ofxOpenCv.
thanks a lot

its because linux is case sensitive while windows is not.

Alright
I didn’t knew, Good to know
Thanks a lot :smile: