You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am using bullet via vcpkg and that worked well until I tried to use btGhostObject. btGhostObject.h is obviously not part btBulletCollisionCommon.h. Since the canonic way to use bullet via vcpkg is #include <bullet/btBulletCollisionCommon.h>, which means that including #include <bullet/BulletCollision/CollisionDispatch/btGhostObject.h> faills when the compiler encounters #include "BulletCollision/BroadphaseCollision/btOverlappingPairCallback.h".
I know the immediate solution to the problem, just include the "[...]\bullet" path, that is not the point here.
I have seen many code samples and use #include <bullet/btBulletDynamicsCommon.h> and #include <bullet/btBulletCollisionCommon.h>. I seems this has become the de facto standard.
I wanted to get some input on what the "proper" include root should be and how the bullet headers could be made more portable.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
I am using bullet via vcpkg and that worked well until I tried to use
btGhostObject
.btGhostObject.h
is obviously not partbtBulletCollisionCommon.h
. Since the canonic way to use bullet via vcpkg is#include <bullet/btBulletCollisionCommon.h>
, which means that including#include <bullet/BulletCollision/CollisionDispatch/btGhostObject.h>
faills when the compiler encounters#include "BulletCollision/BroadphaseCollision/btOverlappingPairCallback.h"
.I know the immediate solution to the problem, just include the "[...]\bullet" path, that is not the point here.
I have seen many code samples and use
#include <bullet/btBulletDynamicsCommon.h>
and#include <bullet/btBulletCollisionCommon.h>
. I seems this has become the de facto standard.I wanted to get some input on what the "proper" include root should be and how the bullet headers could be made more portable.
Beta Was this translation helpful? Give feedback.
All reactions