[bullet3] Missing includepath
@PhoebeHui is already working on this.
Since Feb 20, 2020.
- Dominant language
- CMake
- Stars
- 27.5k
- Forks
- 7.7k
- Avg merge
- 2d 19h
- Merged PRs (30d)
- 321
Description
bullet3 include files are placed in <vcpkg includes>/bullet/ directory and <vcpkg includes> directory is added to the project include paths in Visual Studio project.
Bullet provides a btBulletCollisionCommon.h header with common includes in the <vcpkg includes>/bullet/ directory and this works fine. Unfortunately some bullet headers are not included in that aggregate and have #include statements that assume that bullet includes are in the root of the include path without that bullet/ prefix, which results in compilation error when trying to include these headers.
Example include that causes problem:
#include <bullet/BulletCollision/CollisionDispatch/btGhostObject.h>
This header has include statements like #include "BulletCollision/BroadphaseCollision/btOverlappingPairCallback.h" which won't work because bullet/ is missing in front of it.
Can portfile specify to add that <vcpkg includes>/bullet/ to the VS project's includepath?
The other options I see is either make vcpkg install bullet headers at the top include path without that bullet/ prefix (which would be somewhat messy) or add that include path manually in the VS project, but that would kinda defeat the purpose of vcpkg, which is supposed to manage these paths.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Assessment
This issue has not been assessed yet.