hello world help
hello world help
I tried the hello world tut linked in the sticky, and it compiles fine. but when i try to run it, the screen just flashes.
setting the path to /bin won't do it cause there are multiple directories inside the bin folder which is where the dll is housed and I may be incorrect on this but when setting /bin in the path the include folder are not included in the path so if you compiled with msvc and you want to set the path then you need to set the path to /bin/VisualStudio and if you are compiling with DevCpp then you need to set the path to /bin/DevCpp
If you are using Linux I'm not sure how that works since its been a while in using linux but for windows those are the settings to use.
If you are using Linux I'm not sure how that works since its been a while in using linux but for windows those are the settings to use.
hello world
I've got another problem with the hello world example (it's the same with other examples): I can compile the program and also run it, but only when i choose opengl or software the second window stays. when i choose any direct3d it shortly appears and then the program shuts down. I'm using Dev-cpp 4.9.9.0 and i'm sure i have installed direct3d 9.0 with Half-life 2. My OS is Windows XP Sp2. Any idea why direct3d doesn't work?
I just found out that the window crashes after that line:
IrrlichtDevice *device =
createDevice(driverType, core::dimension2d<s32>(640, 480));
There are four lines output before the crash, but i can't read them that fast.
The first line is something starting with Irrlicht, the second could be microsoft windows xp sp2 or something like that, the third begins with directx, i think, and the last one is: "error: could not load built-in font" but i'm not sure.
I hope this helps you to help me...
I now also installed the DirectX 9 SDK and included it's include folder and it's libraries, but this doesn't help.
thanks for your time, I hope you can solve my problem (-:
IrrlichtDevice *device =
createDevice(driverType, core::dimension2d<s32>(640, 480));
There are four lines output before the crash, but i can't read them that fast.
The first line is something starting with Irrlicht, the second could be microsoft windows xp sp2 or something like that, the third begins with directx, i think, and the last one is: "error: could not load built-in font" but i'm not sure.
I hope this helps you to help me...
I now also installed the DirectX 9 SDK and included it's include folder and it's libraries, but this doesn't help.
thanks for your time, I hope you can solve my problem (-:
try:
or directx8, try them both
Code: Select all
createDevice(video::EDT_DIRECTX9, core::dimension2d<s32>(640, 480),16, false, false, false,0);
Are you using the original compiled dll and .a files that comes with the download of irrlicht? If so the engine needs to be recompiled with directx enabled. You can follow these instruction though if you don't have the directx9 devpak not sure where you can get it any more.
http://irrlicht.sourceforge.net/phpBB2/ ... php?t=5813
http://irrlicht.sourceforge.net/phpBB2/ ... php?t=5813