Compilation errors using VS2022 regarding headers #215
-
Hi, I have downloaded I have issues when attempting to compile with missing headers:
when including My current source looks like this currently: #pragma once
#include <physx/PxScene.h>
class PhysicsEngineAllocator : public physx::PxAllocatorCallback
{
// Inherited via PxAllocatorCallback
void* allocate(size_t size, const char* typeName, const char* filename, int line) override; //call to std::malloc
void deallocate(void* ptr) override; //call to std::free
}; Any help is appreciated, thanks. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 3 replies
-
Hello @NicusorN5, |
Beta Was this translation helpful? Give feedback.
Ok, although we don't officially maintain or support any vcpkg package, we did try to reproduce this, it seems that the issue is related to: microsoft/vcpkg#8071 (comment)
So in a nutshell, using:
#include "geometry/PxCustomGeometry.h"
instead of#include <geometry/PxCustomGeometry.h>
should fix the issue.If it doesn't, I'm afraid that we can't really help with these issues. We can't support anything which is community driven and not provided by this repo.
Thanks