I downloaded and extracted ofxBullet v2.0 from GitHub and put the folder into the addons folder.
Then I created an app with the ofxBullet addon, and added
#include "ofxBullet.h" to testApp.h, then tried to build the project.
I’m using oF v0.8.0, Code::Blocks 10.05 on Ubuntu 12.04.
Sure enough, I’ve got one error in
../../../addons/ofxBullet/libs/bullet2.8.1/include/BulletMultiThreaded/GpuSoftBodySolvers/DX11/btSoftBodySolverBuffer_DX11.h, line 19, fatal error: windows.h: No such file or directory.
There’s this piece of code in that header file:
// DX11 support
It seems that the error belongs to the Bullet Physics source, which tried to include a bunch of windows sources.
What should I do to get it running in Ubuntu? Is it possible to get a linux version of Bullet and manually linking it with ofxBullet? (not sure if there’s a linux version, and even if there is, I don’t really know how to link it with ofxBullet)