I am working to add PhysX support to a plugin for Unreal Engine 4.17. When I add the PhysX headers I need (namely PxConvexMeshDesc.h). I get the following compiler errors in PxMath.h and PxWindowsIntrinsic.h.
PxWindowsIntrinsics.h(63): error C2062: type ‘float’ unexpected
PxWindowsIntrinsics.h(63): error C2059: syntax error: ‘constant’
PxWindowsIntrinsics.h(63): error C2059: syntax error: ‘)’
PxWindowsIntrinsics.h(64): error C2143: syntax error: missing ‘;’ before ‘{’
PxWindowsIntrinsics.h(64): error C2447: ‘{’: missing function header (old-style formal list?)
PxMath.h(320): error C2589: ‘(’: illegal token on right side of ‘::’
PxMath.h(320): error C2059: syntax error: ‘::’
ERROR : UBT error : Failed to produce item: C:\Users\Dragonfire\Documents\Unreal Projects\LRMVehicle\Plugins\BMVehicle\Binaries\Win64\UE4Editor-BMVehicle.pdb
Any ideas on what I am doing wrong to include the headers?