I’m using QT with ubuntu. I have downloaded PhysX 3.2.2 and no problems with the included makes.
I’m getting lots of errors when compiling.
I have added this includepaths and lib paths to my project:
INCLUDEPATH+=/home/user/PhysX/Include
INCLUDEPATH+=/home/user/PhysX/Include/characterkinematic
INCLUDEPATH+=/home/user/PhysX/Include/cloth
INCLUDEPATH+=/home/user/PhysX/Include/common
INCLUDEPATH+=/home/user/PhysX/Include/cooking
INCLUDEPATH+=/home/user/PhysX/Include/extensions
INCLUDEPATH+=/home/user/PhysX/Include/foundation
INCLUDEPATH+=/home/user/PhysX/Include/foundation/linux
INCLUDEPATH+=/home/user/PhysX/Include/geometry
INCLUDEPATH+=/home/user/PhysX/Include/particles
INCLUDEPATH+=/home/user/PhysX/Include/physxprofilesdk
INCLUDEPATH+=/home/user/PhysX/Include/physxvisualdebuggersdk
INCLUDEPATH+=/home/user/PhysX/Include/pvd
INCLUDEPATH+=/home/user/PhysX/Include/pxtask
INCLUDEPATH+=/home/user/PhysX/Include/RepX
INCLUDEPATH+=/home/user/PhysX/Include/RepXUpgrader
INCLUDEPATH+=/home/user/PhysX/Include/vehicle
LIBS+=/home/user/PhysX/Lib/linux32
Errors like:
/home/user/grafics2/…/PhysX/Include/foundation/PxPreprocessor.h:315: error: #error Exactly one of NDEBUG and _DEBUG needs to be defined by preprocessor
/home/user/grafics2/…/PhysX/Include/foundation/PxPreprocessor.h:337: error: size of array ‘PxCompileTimeAssert_Dummy’ is negative
What else shoud I do? Thanks!