[DevC++] dll with directx 9.0c support available

A forum to store posts deemed exceptionally wise and useful

Postby noreg » Tue Jan 02, 2007 8:45 am

I'm using the devpak from spintz site and tried it with devcpp and codeblocks (pointing to the devpak from devcpp) using MINGW. It compiles fine but i get a linker error : cannot find -ld3dx8. I tried it with and without the linker options, i tried Ackis tools, i tried different devpaks.

And now Hybrid tells me that he gives up. That takes all my hope to get Dx compiled under mingw. Is there ANYBODY who did get it compiled?

Guess the precompiled dll's have not been done with mingw.
noreg
 
Posts: 158
Joined: Fri Jun 23, 2006 6:01 pm
Location: continental europe

Postby garrittg » Tue Jan 02, 2007 12:58 pm

greetings noreg :) did my MingW/codeblocks build from a couple posts back not work for you?

http://www.gprogs.com/irrlicht.mod/IrrDX_v1_2.zip
garrittg
 
Posts: 117
Joined: Wed Apr 20, 2005 6:17 pm
Location: Iowa, USA

Postby noreg » Tue Jan 02, 2007 4:20 pm

Hi Garret, thanks for your work and the fast answer. It worked out of the box for dx8, so does my own compilation. For dx9 it did probably work, if you added d3dx9_31.dll in the same folder.
Without it, it lacks of support for high level shaders :( Can you tell us, how you did it?
noreg
 
Posts: 158
Joined: Fri Jun 23, 2006 6:01 pm
Location: continental europe

Postby garrittg » Wed Jan 03, 2007 11:37 am

im using codeblocks, although once you convert the .lib to a .a file from the DX9 SDK you should be able to use DevCPP just as easily. for DX9 i used the instructions provided by FrostLord on pg 5 of the posts.

for DX81 there are only two ways i know of to get it working. the first used to be the DevPak for DevCPP which i havent been able to get to work since Irrlicht v1.0. the second is using the Clootie DX81 wrap DLL. to get this to work you will need the header files from the DX81 SDK (google for the DX81 SDK) and the .a/.dll distribution from here:

http://www.gprogs.com/irrlicht.mod/DX_81_a_files.zip

in addition to the DX9 instructions from FrostLord, you will need to:

- add -D_IRR_COMPILE_WITH_DIRECT3D_8_ to your linker settings

- add the INCLUDE folder of the DX81 SDK to your compiler directories or directly copy the files in your INCLUDE folder (as you prefer) and add libd3dx81ab.a to your linker options

NOTE: you will need to distribute D3DX81ab.dll with your application.

i think it is important to note that the conversion of the DX9 lib file that FrostLord describes is not possible with the DX81 SDK for some reason. the REIMP program just wont work on it. for that matter, ive only been able to use REIMP on the newest release (OCT/2006) of the DX9 SDK so something has changed in the DX9 LIB files.

good luck :)
garrittg
 
Posts: 117
Joined: Wed Apr 20, 2005 6:17 pm
Location: Iowa, USA

Postby garrittg » Tue Mar 20, 2007 2:31 am

here is a precompiled DX9/DX8 compatible v1.3 Irrlicht.dll and libIrrlicht.a.

http://www.gprogs.com/irrlicht.mod/IrrDX_v1_3.zip

please see prior post on how it was built (same as the v1.2 i release). this one is a bit different in that it is UPX'd for size. i tested with all demos using all drivers and it seemed to work fine. if you have any problems with it crashing right away please let me know.
garrittg
 
Posts: 117
Joined: Wed Apr 20, 2005 6:17 pm
Location: Iowa, USA

Postby sadjoker » Tue Mar 27, 2007 12:38 pm

thank you dude :)
sadjoker
 
Posts: 1
Joined: Sun Dec 17, 2006 1:07 pm

Postby garrittg » Tue Jul 31, 2007 1:17 am

here is a precompiled DX9/DX8 compatible v1.3.1 Irrlicht.dll and libIrrlicht.a.

http://www.gprogs.com/irrlicht.mod/IrrDX_v1_3_1.zip

please see prior post on how it was built (same as the v1.3 release).
garrittg
 
Posts: 117
Joined: Wed Apr 20, 2005 6:17 pm
Location: Iowa, USA

Postby klikmaster » Tue Aug 07, 2007 11:41 am

Thanks a lot garrittg, really needed this! 8)

Is there a good tutorial for compiling Irrlicht in devc++ because I really ought to know how, and I can't find any decent tuts.
~IRRLICHT ROX MY SOX~
User avatar
klikmaster
 
Posts: 40
Joined: Mon Sep 11, 2006 1:06 pm

Postby garrittg » Sat Dec 01, 2007 4:51 am

here is a precompiled DX9/DX8 compatible v1.4 Irrlicht.dll and libIrrlicht.a. please note this is untested at this point.

http://www.gprogs.com/irrlicht.mod/IrrDX_v1_4.zip
garrittg
 
Posts: 117
Joined: Wed Apr 20, 2005 6:17 pm
Location: Iowa, USA

Postby renegadeandy » Wed May 28, 2008 7:26 pm

god im special :oops:

works now - using DIRECT3D9 a strange star like shape is in the middle of my screen tho! odd!
renegadeandy
 
Posts: 122
Joined: Sun May 25, 2008 11:14 pm
Location: Scotland

Postby spearfire » Thu May 29, 2008 8:44 pm

garrittg wrote:here is a precompiled DX9/DX8 compatible v1.4 Irrlicht.dll and libIrrlicht.a. please note this is untested at this point.

http://www.gprogs.com/irrlicht.mod/IrrDX_v1_4.zip



THANK you very much!!!
it works but there are some graphical issues and some parts of my models has disapeard

i tried to compile it irrlicht 1.4 with direct x 9 support for 3 day's with devc++ but no good at all :(

i hope you or some else can optimize the code

THank you very much it was a great help for me!!! :D :D :D :D :D
spearfire
 
Posts: 11
Joined: Sat Apr 12, 2008 10:26 am

Postby JP » Fri May 30, 2008 10:15 am

It's probably a DX based error, not an error with the DLL, there's often differences in the way DX and OGL render things so you can't expect to switch between them and not see differences.

Post in the beginners forum with your problems and someone might be able to help :)
Image Image Image
User avatar
JP
 
Posts: 4526
Joined: Tue Sep 13, 2005 2:56 pm
Location: UK

Postby xsinick » Sun Jun 01, 2008 5:01 am

oops Not so . Your dll for 1.31 was perfect but this dx one for 1.4 has errors in the writing of alphas or zwriting or something cause modes look messed up.

you should fix this soon or your 1.4 efforts may go to waste .

good job bro.
xsinick
 
Posts: 18
Joined: Fri Aug 10, 2007 12:05 am

Postby garrittg » Fri Jun 06, 2008 1:04 am

here is a precompiled DX9/DX8 compatible v1.4.1 Irrlicht.dll and libIrrlicht.a. this was compiled using the newest CodeBlocks and MingW 5.1.3. the DLL ended up a bit bigger than normal, but i made sure NDEBUG was set so i guess this is the new size. it is UPXd.

http://www.gprogs.com/irrlicht.mod/IrrDX_v1_4_1.zip
garrittg
 
Posts: 117
Joined: Wed Apr 20, 2005 6:17 pm
Location: Iowa, USA

Postby torleif » Wed Jul 09, 2008 10:05 am

fantastic work! :D
torleif
 
Posts: 188
Joined: Mon Jun 30, 2008 4:53 am

PreviousNext

Return to FAQs, Tutorials, Howtos, and external tool lists

Who is online

Users browsing this forum: No registered users and 0 guests