Bullet SoftBody.h errors with GLee.h

shomy2k11
Posts: 24
Joined: Thu Sep 08, 2011 1:59 am

Bullet SoftBody.h errors with GLee.h

Post by shomy2k11 »

Folks i've found an unusual error when using the bullet library with the "OpenGL Easy Extension" (GLee) library. It appears that something in GLee interferes with the btSoftBody.h on line 79 the "enum eFeature {" line. I'll assume that something is wrong with bullet as the problem does not happen with any other includes but btSoftBody.h".

The solution i found was to include the bullet headers before the inclusion of Glee.h like so.


#include "BulletSoftBody/btSoftBody.h"
#include "GLee.h"

Hope it helps anyone and I certainly hope the issue gets resolved soon.