PxPreprocessor.h:331:1: error: size of array ‘PxCompileTimeAssert_Dummy’ is negative

This is with API version 3.2.0. Has anyone else seen this error on any system? I am seeing this on ubuntu 12.10. Including the configure.log if that helps.
Thanks for any ideas,
-nuun

This file contains any messages produced by compilers while
running configure, to aid debugging if configure makes a mistake.

It was created by ARSS_linux configure 1.0, which was
generated by GNU Autoconf 2.69.  Invocation command line was

  $ ./configure 

## --------- ##
## Platform. ##
## --------- ##

hostname = ubuntu
uname -m = i686
uname -r = 3.0.0-28-generic
uname -s = Linux
uname -v = #45-Ubuntu SMP Wed Nov 14 21:40:18 UTC 2012

/usr/bin/uname -p = unknown
/bin/uname -X     = unknown

/bin/arch              = unknown
/usr/bin/arch -k       = unknown
/usr/convex/getsysinfo = unknown
/usr/bin/hostinfo      = unknown
/bin/machine           = unknown
/usr/bin/oslevel       = unknown
/bin/universe          = unknown

Hi,

This compile time error is triggered when your compiler’s packing setup is incompatible with the SDK.
Please try compiling with ‘-malign-double’ (See comment above the breaking line in PxPreprocessor.h)

  • Stefan Duthaler