-
Notifications
You must be signed in to change notification settings - Fork 6.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[physx] Include error when compiling #40522
Comments
This is not a bug, you just need to #include <PxPhysicsAPI.h>.
|
Sorry but "To Reproduce" do #include <PxPhysicsAPI.h> and cause that issue. |
@TokyoSU, Because of the configuration relationship between cmake project and MSbuild mode, when you reference header files in cmake project mode, you can only reference the " |
Many packages put headers into subdirs of
If the package expects to be used with |
This is an automated message. Per our repo policy, stale issues get closed if there has been no activity in the past 28 days. The issue will be automatically closed in 14 days. If you wish to keep this issue open, please add a new comment. |
I've encountered the same issue. This header then includes PxExtensionsAPI.h Which then includes PxCustomGeometryExt.h Which then has 2 include statements that fail
It seems the issue has been reported on the physx repo: NVIDIA-Omniverse/PhysX#285 I'm not sure if this is something vcpkg can solve but as is this package cannot be used with msbuild unless you |
Describe the bug
When trying to compile a VS2022 project, it throw an error saying include is missing, after some investication, it seem like physx don't include physx/ at the start of the these include: #include "foundation/something.h" so to fix, i need to have a full path to include/physx added in "c/c++ additionals include directory".
that's not the optimal way since it need the username in the path.
Environment
To Reproduce
Steps to reproduce the behavior:
Expected behavior
Compiling without adding a full include path to physx.
vcpkg should include a path to include\physx.
Failure logs
None.
Additional context
None.
The text was updated successfully, but these errors were encountered: