why isn't direct 9 and 8 working?

If you are a new Irrlicht Engine user, and have a newbie-question, this is the forum for you. You may also post general programming questions here.
Post Reply
a_haouchar
Posts: 97
Joined: Sat Oct 14, 2006 10:51 am
Location: Australia,melbourne

why isn't direct 9 and 8 working?

Post by a_haouchar »

im launching quake3map example and press A and or B and they exit!why
sober
Posts: 21
Joined: Tue Nov 29, 2005 9:23 am

Post by sober »

you should provide a errormsg.
your question is like: "I bought a car, turn the key and the engine doesn't start". Noone can give you an answer without knowing details.
Lee Zhi Eng
Posts: 34
Joined: Tue Aug 22, 2006 2:48 pm
Location: Malaysia

Post by Lee Zhi Eng »

strange... mine also doesnt work
opengl no problem but directx (both 8 and 9)... yea same with a_haouchar
JP
Posts: 4526
Joined: Tue Sep 13, 2005 2:56 pm
Location: UK
Contact:

Post by JP »

Run the .exe from the command prompt and it will leave the console window up after it exits with any error messages. Possibly you're using an irrlicht .dll which hasn't had DX compiled into it?
Image Image Image
sober
Posts: 21
Joined: Tue Nov 29, 2005 9:23 am

Post by sober »

When you compile Irrlicht and don't have the DX-SDK available, you don't have DirectX support, right?
Perhaps that is the problem.
Lee Zhi Eng
Posts: 34
Joined: Tue Aug 22, 2006 2:48 pm
Location: Malaysia

Post by Lee Zhi Eng »

i have directx 9.0c and my graphic card support that...
i think probably... the dll's problem?

this is a fast printscreen i made before the application closed up.

Image
dx8 and dx9 both not working.

u think... i need to recompile irrlicht.dll for this?
n00b
Posts: 58
Joined: Tue Sep 05, 2006 3:00 pm
Location: Earth
Contact:

Post by n00b »

yes you need to recompile the dll with direct3d enabled.
search in the forums for instructions on how to do this.
JP
Posts: 4526
Joined: Tue Sep 13, 2005 2:56 pm
Location: UK
Contact:

Post by JP »

Download this: http://www.gprogs.com/gg.Irrlicht/IrrDX_v1_1.zip

And place the 3 .dlls into the folder with your .exe and it'll work :)
Image Image Image
a_haouchar
Posts: 97
Joined: Sat Oct 14, 2006 10:51 am
Location: Australia,melbourne

Post by a_haouchar »

THANKS ALOT MAN:)
Post Reply