Ogre3D conflict with PhysX when PhysX using GPU

Anything and everything that's related to OGRE or the wider graphics field that doesn't fit into the other forums.
Post Reply
User avatar
Posts: 21
Joined: Sat Aug 04, 2018 7:46 am
x 3

Ogre3D conflict with PhysX when PhysX using GPU

Post by Geotyper » Fri Aug 23, 2019 10:28 am

in new project try to use PhysX GPU acceleration (Ubuntu 18, CUDA 10.1).
all parts of program work well.
PhysX(cpu) with Ogre
PhysX(gpu) without Ogre
But when use PhysX(gpu) with Ogre have the next error:

This is from terminal window:
"terminate called after throwing an instance of 'Ogre::RuntimeAssertionException'
what(): RuntimeAssertionException: There can be only one singleton in Singleton at /home/geotyper/CPP/ogre-1.12.0/OgreMain/include/OgreSingleton.h (line 76)"

It comes from void ApplicationContextBase::initApp()
case Exception::ERR_RT_ASSERTION_FAILED: throw RuntimeAssertionException(number, desc, src, file, line);

debugger stop at line , mIsBlendWeightsGpuRedundant(true)

Some ideas what to do to avoid error?
0 x

Post Reply