I did post about this on the NVIDIA form but never got word back. When I would include the header and library - a intellisense error shows up:
This operator is not allowed as a constant expression.
Okay, so I looked at where the issue was gerenerating from PxPreprocessing.h line:
#if !defined(PX_APPLE) PX_COMPILE_TIME_ASSERT(PX_OFFSET_OF(PxPackValidation,a) == 8); #endif
So I looked at the PX_COMPILE_TIME_ASSERT macro defination.
#define PX_COMPILE_TIME_ASSERT(exp) typedef char PxCompileTimeAssert_Dummy[(exp) ? 1 : -1]
I couldn't figure it out why I couldn't just include some headers and libraries from PhysX - so I commented out the PX_COMPILE_TIME_ASSERT since I'm not using Apple only Windows.
In the future though - how would I be able to over come this issue without having to comment out? Are there some preprocessing definations I'm missing to include inside my project?