This operator is not allowed in a constant expression - PxPreprocessor.h

I’m using Visual Studio 2013 and PhysX SDK 3.3. I’ve included the PxPhysXApi.h and the libraries. When I compile everything it throws this that error and prevents it from compiling successfully. Is there any way around it? I included in the preprocessor of VS PX_WINDOWS but really nothing. It gets stuck inside where:


does anyone else have this similar issue?

So, what I did was I went ahead and commented the resulting conflict out. Recompiled it and it’s fine now. I just want to make sure this is legal and won’t affect the license of using Physx?

Well I’m a donkey’s arse - all I needed to do was use:

#define PX_APPLE 0

Well, it’s all a learning curve! :D