On 28.01.2014 18:33, Peter Armbrüster wrote:
Dear Boost.python, C++ and Py++ Experts,

this is my first post in your excellent Forum.

I have chosen as the wrapper software the boost.python/Py++ Packageto
write a physx 3.x Wrapper, because I think it is the best.

Many many thanks to David Abrahams and Roman Yakovenko for the great Tools.

The wrapping of old versions physx 2.x had made no problems.

And now I come across a  very big problem at the 3.x Versions.

All wrappings of classes works very well.

The problem only exists in the PhysX free functions, which are
responsible for the initialization of PhysX.

I try to explain with a reduced Example.

The initialization of PhysX starts with create of foundation :

*0 static*PxFoundation*mFoundation=NULL;

*1 static*PxDefaultErrorCallbackgDefaultErrorCallback;
*2 static*PxDefaultAllocatorgDefaultAllocatorCallback;
3
mFoundation=PxCreateFoundation(PX_PHYSICS_VERSION,gDefaultAllocatorCallback,gDefaultErrorCallback);4
*4 if*(!mFoundation)

5   fatalError("PxCreateFoundation failed!");

The wrapped python program generate a runtime error at line
3:RuntimeError: Access violation - no RTTI data!

Just wild guess: add compiler option to enable RTTI

HTH
Niki
_______________________________________________
Cplusplus-sig mailing list
Cplusplus-sig@python.org
https://mail.python.org/mailman/listinfo/cplusplus-sig

Reply via email to