I’m trying to install physx in visual studio 2022. I’ve installed it using vcpkg, using these commands:
vcpkg integrate install, vcpkg install physx. And I tried to include “#include <PxPhysicsAPI.h>” in visual studio but it gives me this error:
Cannot open source file “geometry/PxCustomGeometry” in file: PxCustomGeometryExt.h.
And 2 more errors with cannot open source file. I am failing to understand why this happening. My include directories are D:vcpkgmicrosoft-vcpkg-a34c873installedx64-windowsincludephysx;
And my additional dependancies are glfw3.lib;opengl32.lib;
I tried to reinstall physx but it still gave me the same error.