Page 1 of 1
Hello from a IRR nOOb, with some question's
Posted: Tue Jan 27, 2004 7:43 pm
by Zigma
Hi
I'm new to this Engine, look's interesting...
Some of the tutorials say it requers 0.4.1 ?
I dl'ed 0.4.0 SDK and the 0.4.2
I copyed 0.4.2 over 0.4.0 sdk, stupid? or?
compiled the movement example after some fix:
Code: Select all
device = createDevice(video::DT_DIRECTX8, core::dimension2d<s32>(640, 480),
16, false, false, &receiver);
Code: Select all
device = createDevice(video::EDT_DIRECTX8, core::dimension2d<s32>(640, 480),
16, false, false, &receiver);
Had to add an "E" to "DT_DIRECTX8"
compill's just fine, but the application crash?
So what version is it best to use/install?
I use Visual C++ .net 2003
Posted: Tue Jan 27, 2004 7:55 pm
by deps
About that "crash"*:
If you compiled with the 0.4.2 headers and libs, make sure you also have the 0.4.2 dll somewhere in your path (c:\windows\system32 is a good place) or in the same directory as the exe you compiled.
*How does it crash? Can you post what it says?
Posted: Tue Jan 27, 2004 9:05 pm
by Zigma
deps wrote:About that "crash"*:
If you compiled with the 0.4.2 headers and libs, make sure you also have the 0.4.2 dll somewhere in your path (c:\windows\system32 is a good place) or in the same directory as the exe you compiled.
*How does it crash? Can you post what it says?
Hi
My Irrlicht should be a clean 0.4.2 know
, still same problems.
It brake's at this code:
Code: Select all
if (device->getSceneManager()->getActiveCamera())
return device->getSceneManager()->getActiveCamera()->OnEvent(event);
return false;
and "spitt out" this debug info
?
Code: Select all
'Movement.exe': Loaded 'C:\Development\irrlicht\bin\VisualStudio\Movement.exe', Symbols loaded.
'Movement.exe': Loaded 'C:\WINDOWS\system32\ntdll.dll', No symbols loaded.
'Movement.exe': Loaded 'C:\WINDOWS\system32\kernel32.dll', No symbols loaded.
'Movement.exe': Loaded 'C:\Development\irrlicht\bin\VisualStudio\Irrlicht.dll', No symbols loaded.
'Movement.exe': Loaded 'C:\WINDOWS\system32\user32.dll', No symbols loaded.
'Movement.exe': Loaded 'C:\WINDOWS\system32\gdi32.dll', No symbols loaded.
'Movement.exe': Loaded 'C:\WINDOWS\system32\advapi32.dll', No symbols loaded.
'Movement.exe': Loaded 'C:\WINDOWS\system32\rpcrt4.dll', No symbols loaded.
'Movement.exe': Loaded 'C:\WINDOWS\system32\opengl32.dll', No symbols loaded.
'Movement.exe': Loaded 'C:\WINDOWS\system32\msvcrt.dll', No symbols loaded.
'Movement.exe': Loaded 'C:\WINDOWS\system32\glu32.dll', No symbols loaded.
'Movement.exe': Loaded 'C:\WINDOWS\system32\ddraw.dll', No symbols loaded.
'Movement.exe': Loaded 'C:\WINDOWS\system32\dciman32.dll', No symbols loaded.
'Movement.exe': Loaded 'C:\WINDOWS\system32\version.dll', No symbols loaded.
'Movement.exe': Loaded 'C:\WINDOWS\system32\shlwapi.dll', No symbols loaded.
The thread 'Win32 Thread' (0x520) has exited with code 0 (0x0).
Unhandled exception at 0x00401675 in Movement.exe: 0xC0000005: Access violation reading location 0x00000000.
The program '[952] Movement.exe: Native' has exited with code 0 (0x0).
Any clue? I don't
Posted: Mon Feb 09, 2004 1:44 am
by fretnoize
I don't know if you figured out this yet or not, but I just was doing the tutorial and came across the same problem. Here is how I solved it.
Code: Select all
if (device)
{
if (device->getSceneManager()->getActiveCamera())
{
return device->getSceneManager()->getActiveCamera()->OnEvent(event);
}
}
return false;
Posted: Mon Feb 09, 2004 2:30 am
by Robomaniac
In 0.4.1 and 0.4.2, you don't need that, just delete or comment it out, and it should run fine.
Posted: Mon Feb 09, 2004 4:11 am
by fretnoize
doh! thanks