Ok let me be more detail full.
I have installed every thing (dark gdk to quick ODE).
And the demo provided with the quickODE works. But after a few seconds , it crashes and the break window appears.
Heres the demo code:
#include "DarkGDK.h"
#include "QuickODE.h"
// main entry point
void DarkGDK( void )
{
// setup
dbSyncOn();
dbSyncRate( 60 );
dbSetWindowTitle( "QuickODE Sample" );
dbAutoCamOff();
dbBackdropOn();
// physics setup
qoBase Physics;
Physics.Init();
Physics.SetGravity( 0, -0.9f, 0 );
// ground
int Ground = 10;
dbMakeObjectBox( Ground, 100, 2, 100 );
dbMoveObjectDown( Ground, 20 );
Physics.CreateStaticBox( Ground );
// camera
dbPositionCamera( 0, 0, -80 );
// object count
int ObjectCount = 0;
// our main loop
while ( LoopGDK ( ) )
{
// input
dbControlCameraUsingArrowKeys( 0, 0.4f, 1.0f );
// spawn cube
if ( dbSpaceKey() )
{
ObjectCount++;
int CubeObject = 1000 + ObjectCount;
dbMakeObjectCube( CubeObject, 2 );
qoBody * Cube = Physics.CreateBodyBox( CubeObject );
Cube->SetRotation( qoVector( dbRND( 359 ), dbRND( 359 ), 0 ) );
Cube->SetPosition( qoVector( 20 - dbRND( 40 ), 0, 20 - dbRND( 40 ) ) );
Cube->SetLinearVelocity(qoVector(0,3,2));
}
// text
dbSetCursor( 0, 0 );
dbPrint( "FPS:" );
dbPrint( (float)dbScreenFPS() );
dbPrint( "Object Count:" );
dbPrint( (float)ObjectCount );
// update physics
Physics.Update();
// update the screen
dbSync();
}
// stop physics
Physics.Cleanup();
// return back to windows
return;
}
I changed nothing in it except the linear force thing.
Here are the errors when i compile the game and run it for a few seconds ,the errors are:
'ode physics.exe': Loaded 'C:\Documents and Settings\Arif the elite\My Documents\ode physics\ode physics\Release\ode physics.exe', Binary was not built with debug information.
'ode physics.exe': Loaded 'C:\WINDOWS\system32\ntdll.dll'
'ode physics.exe': Loaded 'C:\WINDOWS\system32\kernel32.dll'
'ode physics.exe': Loaded 'C:\WINDOWS\system32\winmm.dll'
'ode physics.exe': Loaded 'C:\WINDOWS\system32\advapi32.dll'
'ode physics.exe': Loaded 'C:\WINDOWS\system32\rpcrt4.dll'
'ode physics.exe': Loaded 'C:\WINDOWS\system32\secur32.dll'
'ode physics.exe': Loaded 'C:\WINDOWS\system32\gdi32.dll'
'ode physics.exe': Loaded 'C:\WINDOWS\system32\user32.dll'
'ode physics.exe': Loaded 'C:\WINDOWS\system32\d3dx9_35.dll'
'ode physics.exe': Loaded 'C:\WINDOWS\system32\msvcrt.dll'
'ode physics.exe': Loaded 'C:\WINDOWS\system32\d3d9.dll'
'ode physics.exe': Loaded 'C:\WINDOWS\system32\d3d8thk.dll'
'ode physics.exe': Loaded 'C:\WINDOWS\system32\version.dll'
'ode physics.exe': Loaded 'C:\WINDOWS\system32\dinput8.dll'
'ode physics.exe': Loaded 'C:\WINDOWS\system32\dsound.dll'
'ode physics.exe': Loaded 'C:\WINDOWS\system32\ole32.dll'
'ode physics.exe': Loaded 'C:\WINDOWS\system32\msacm32.dll'
'ode physics.exe': Loaded 'C:\WINDOWS\system32\imm32.dll'
'ode physics.exe': Loaded 'C:\WINDOWS\system32\lpk.dll'
'ode physics.exe': Loaded 'C:\WINDOWS\system32\usp10.dll'
'ode physics.exe': Loaded 'C:\WINDOWS\system32\uxtheme.dll'
'ode physics.exe': Loaded 'C:\Program Files\RocketDock\RocketDock.dll', Binary was not built with debug information.
'ode physics.exe': Loaded 'C:\WINDOWS\system32\psapi.dll'
'ode physics.exe': Loaded 'C:\WINDOWS\system32\MSCTF.dll'
'ode physics.exe': Loaded 'C:\Program Files\Alwil Software\Avast4\AhJsctNs.dll'
'ode physics.exe': Loaded 'C:\Program Files\Windows7\VisualTaskTips\VttHooks.dll', Binary was not built with debug information.
'ode physics.exe': Loaded 'C:\WINDOWS\system32\MSCTFIME.IME'
'ode physics.exe': Loaded 'C:\WINDOWS\system32\hid.dll'
'ode physics.exe': Loaded 'C:\WINDOWS\system32\setupapi.dll'
'ode physics.exe': Loaded 'C:\WINDOWS\system32\wintrust.dll'
'ode physics.exe': Loaded 'C:\WINDOWS\system32\crypt32.dll'
'ode physics.exe': Loaded 'C:\WINDOWS\system32\msasn1.dll'
'ode physics.exe': Loaded 'C:\WINDOWS\system32\imagehlp.dll'
'ode physics.exe': Loaded 'C:\WINDOWS\system32\ntmarta.dll'
'ode physics.exe': Loaded 'C:\WINDOWS\system32\samlib.dll'
'ode physics.exe': Loaded 'C:\WINDOWS\system32\wldap32.dll'
'ode physics.exe': Loaded 'C:\WINDOWS\USB Vibration\7906\EZFRD32.dll', Binary was not built with debug information.
'ode physics.exe': Loaded 'C:\WINDOWS\system32\dinput.dll'
'ode physics.exe': Loaded 'C:\WINDOWS\system32\wdmaud.drv'
'ode physics.exe': Unloaded 'C:\WINDOWS\system32\wdmaud.drv'
'ode physics.exe': Loaded 'C:\WINDOWS\system32\wdmaud.drv'
'ode physics.exe': Loaded 'C:\WINDOWS\system32\msacm32.drv'
'ode physics.exe': Loaded 'C:\WINDOWS\system32\midimap.dll'
'ode physics.exe': Loaded 'C:\WINDOWS\system32\ksuser.dll'
'ode physics.exe': Loaded 'C:\WINDOWS\system32\mslbui.dll'
'ode physics.exe': Loaded 'C:\Program Files\Internet Download Manager\idmmkb.dll'
First-chance exception at 0x00438b27 in ode physics.exe: 0xC00000FD: Stack overflow.
Unhandled exception at 0x00438b27 in ode physics.exe: 0xC00000FD: Stack overflow.
First-chance exception at 0x00438b27 in ode physics.exe: 0xC0000005: Access violation reading location 0x00030000.
Unhandled exception at 0x00438b27 in ode physics.exe: 0xC0000005: Access violation reading location 0x00030000.
First-chance exception at 0x00438b27 in ode physics.exe: 0xC0000005: Access violation reading location 0x00030000.
Unhandled exception at 0x00438b27 in ode physics.exe: 0xC0000005: Access violation reading location 0x00030000.
First-chance exception at 0x00438b27 in ode physics.exe: 0xC0000005: Access violation reading location 0x00030000.
Unhandled exception at 0x00438b27 in ode physics.exe: 0xC0000005: Access violation reading location 0x00030000.
First-chance exception at 0x00438b27 in ode physics.exe: 0xC0000005: Access violation reading location 0x00030000.
Unhandled exception at 0x00438b27 in ode physics.exe: 0xC0000005: Access violation reading location 0x00030000.
First-chance exception at 0x00438b27 in ode physics.exe: 0xC0000005: Access violation reading location 0x00030000.
Unhandled exception at 0x00438b27 in ode physics.exe: 0xC0000005: Access violation reading location 0x00030000.
First-chance exception at 0x00438b27 in ode physics.exe: 0xC0000005: Access violation reading location 0x00030000.
Unhandled exception at 0x00438b27 in ode physics.exe: 0xC0000005: Access violation reading location 0x00030000.
First-chance exception at 0x00438b27 in ode physics.exe: 0xC0000005: Access violation reading location 0x00030000.
Unhandled exception at 0x00438b27 in ode physics.exe: 0xC0000005: Access violation reading location 0x00030000.
First-chance exception at 0x00438b27 in ode physics.exe: 0xC0000005: Access violation reading location 0x00030000.
Unhandled exception at 0x00438b27 in ode physics.exe: 0xC0000005: Access violation reading location 0x00030000.
First-chance exception at 0x00438b27 in ode physics.exe: 0xC0000005: Access violation reading location 0x00030000.
Unhandled exception at 0x00438b27 in ode physics.exe: 0xC0000005: Access violation reading location 0x00030000.
The program '[2040] ode physics.exe: Native' has exited with code 0 (0x0).
Now the errors come in after a few seconds. But before that , i make about 150 objects and gradually my FPS lowers down to 15 FPS.
Then it freezes and presents the error message box from the Visual studio 2008 and those errors appear one by one. I have copied everything in my compile window to the code box above.
I hope this is detail full.
Your signature has been erased by a mod