NxOgre 1.0 and PhysX 2.8.1

xabila

08-12-2008 13:48:32

Hi
I was wondering if the 2.8.1 version of physx is supported by NxOgre.
I have compiled it on Visual Express .
The static_debug and static_release are allright
But on release (without static)
i 'v got these problem :

e:\nvidia physx sdk\v2.8.1\sdks\physics\include\nxshapedesc.h(291) : error C4716: 'NxShapeDesc::operator=' : must return a value

May i use instead the 2.8.0?

Toby

09-12-2008 10:37:31

No I use 2.8.1. But I compil with visual express 2008.

xabila

09-12-2008 10:47:45

the release version?
the release_static ok but not the release for me

evilputty

16-12-2008 18:58:26

change
NxShapeDesc& operator=( const NxShapeDesc& ) {};

to
NxShapeDesc& operator=( const NxShapeDesc& ) {return (*this);};

apparently it's a bug in MSVC it should compile with no errors