PhysX 3.2 complie error using CHECKED libs

I’m having problems compiling PhysX 3.2 in debug mode using the recommended CHECKED versions of the library. I’m using vs2010 Express.

Here’s the error message

PhysX3ExtensionsCHECKED.lib(ExtDefaultErrorCallback.obj) : error LNK2038: mismatch detected for ‘_ITERATOR_DEBUG_LEVEL’: value ‘0’ doesn’t match value ‘2’ in iphysicsTest.obj

I googled for a solution and discovered you can set the _ITERATOR_DEBUG_LEVEL using the Preprocessor
[url]visual studio 2010 - How to set _ITERATOR_DEBUG_LEVEL in VS2010? - Stack Overflow but if I set it to 0 that just generates a bunch more mismatch errors.

Anybody know how to get around this problem?

Bird

Just moved to 3.2.2 from 3.2 and Im getting this too. Im guessing when they built “PhysX3ExtensionsCHECKED.lib” they set _ITERATOR_DEBUG_LEVEL to 0, which now doesnt match the default value of 2 for debug builds. If I set it to 0 then my other debug libs value of 2 doesnt match the 0 in my physx build… and around and around we go.

When you debug your solution change it from debug to release. That should help. ;) It did for me.