icaromotta
20-03-2009 17:40:48
Do not achieve to compile the NxOgre project.
It's giving an error so:
Error 1 error C4716: 'NxShapeDesc::operator=' : must return a value nxshapedesc.h 291
icaromotta
26-03-2009 17:20:19
The error is in the line 291 of nshapedesc.h.
NxShapeDesc & operator =( const NxShapeDesc& ){}
spacegaier
26-03-2009 17:34:35
Of which NxOgre version are you talking?
betajaen
26-03-2009 18:30:32
It's PhysX.
Just add "return *this" in the brackets, or something similar.
icaromotta
26-03-2009 20:39:01
icaromotta
26-03-2009 20:40:53
So,
NxShapeDesc & operator =(return *this ){} ?
spacegaier
26-03-2009 21:01:58
1. In the subversion.zip there are several NxOgre versions, but you probably use 1.0.
2. No betajaen means:
NxShapeDesc & operator =( const NxShapeDesc& ){return *this;}
icaromotta
26-03-2009 21:05:03
Thanks,
It compiles.
NxShapeDesc & operator =( const NxShapeDesc& ){return *this;} OK