I'm working on Havok initializing,I copy the codes from the demos,and it crashes at
new hkpWorld():
hkMemoryRouter* memoryRouter = hkMemoryInitUtil::initDefault( hkMallocAllocator::m_defaultMallocAllocator,
hkMemorySystem::FrameInfo( 5000* 1024 ) );
hkResult result=hkBaseSystem::init( memoryRouter, NULL);
if (result==HK_SUCCESS)
{
hkpWorldCinfo info;
info.setBroadPhaseWorldSize(100.0f);
info.setupSolverInfo( hkpWorldCinfo::SOLVER_TYPE_4ITERS_MEDIUM );
hkpWorld *world= new hkpWorld( info );
}
Do I miss something?
Crash when calling new hkpWorld
Per informazioni complete sulle ottimizzazioni del compilatore, consultare l'Avviso sull'ottimizzazione



