I use MinGW and Msys I recently installed PhysX and I’m having trouble getting anything to compile. I included the <PxPhysicsAPI.h> and using namespace physx. I get hundreds of errors in multiple .h files and a ‘physx’ is not a namespace-name. My command to run is as follows:
g++ test.cpp -o test PhysX3_x64.lib PhysX3Common_x64.lib PhysX3Extensions.lib glut32.lib -lopengl32 -lglu32
When I installed PhysX I let all the files merge with MinGW’s already existing files. I don’t know where I went wrong. The only thing I can think of is that there might be a linking error somewhere. Any help would be greatly appreciated.