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

A forum to store posts deemed exceptionally wise and useful
Guest

someone ;]

Post by Guest »

could u plz post the source code?? xD
hybrid

Post by hybrid »

Doo :roll:
The source code is part of the Irrlicht distro, just unzip the source.zip file. This is a binary dll for those who don't want to downdload the directX SDK. No changes to the sources whatsoever.
Guest

Post by Guest »

I meant the source code after the modifications.. Because I have a few problems with directx in "default" irrlicht compilations.. But this modified one works good xD
FrostLord
Posts: 4
Joined: Mon Apr 11, 2005 5:04 pm

Post by FrostLord »

For the New Irrlicht 1.0 SDK the directives

-D_IRR_COMPILE_WITH_DIRECTX_8_=1
-D_IRR_COMPILE_WITH_DIRECTX_9_=1


HAVE BEEN CHANGED TO:

-D_IRR_COMPILE_WITH_DIRECT3D_8_=1
-D_IRR_COMPILE_WITH_DIRECT3D_9_=1

Beware :wink:
garrittg
Posts: 117
Joined: Wed Apr 20, 2005 6:17 pm
Location: Iowa, USA
Contact:

Irrlicht v1.0 DX MingW

Post by garrittg »

afecelis
Admin
Posts: 3075
Joined: Sun Feb 22, 2004 10:44 pm
Location: Colombia
Contact:

Post by afecelis »

Thanks for the updated files Garrittg! :D gonna try them out now.
jirr
Posts: 36
Joined: Sat Feb 19, 2005 8:05 am

Re: Irrlicht v1.0 DX MingW

Post by jirr »

Big Thanks! You made my day!
jirr
Posts: 36
Joined: Sat Feb 19, 2005 8:05 am

Re: Irrlicht v1.0 DX MingW

Post by jirr »

jirr wrote:
Big Thanks! You made my day!
Sadly it is crashing when using DirectX 8. Any hints?
garrittg
Posts: 117
Joined: Wed Apr 20, 2005 6:17 pm
Location: Iowa, USA
Contact:

Post by garrittg »

not sure why it would be crashing :( works fine for me and ive had no other reports of DX8 crashing. do you know what line its crashing on?

EDIT: i have finally been able to replicate but unfortunately do not know why. everything should be the same as far as the provided DLLs and .a files go. i diff'd the source vs 0.14 and didnt see anything obvious that would be the culprit. im looking into alternate methods now.
garrittg
Posts: 117
Joined: Wed Apr 20, 2005 6:17 pm
Location: Iowa, USA
Contact:

Post by garrittg »

FYI, i have changed methodologies on the building of the DLL and .a files. there is a new IrrDX_v1_0.zip so please redownload using the link above. you can safely remove the D3DX81ab.dll and D3DX92ab.dll files from your system (unless you have older Irrlicht.dll files running them).
garrittg
Posts: 117
Joined: Wed Apr 20, 2005 6:17 pm
Location: Iowa, USA
Contact:

v1.1 compatible lib is available

Post by garrittg »

untested. please lmk if you have issues.

http://www.gprogs.com/gg.Irrlicht/IrrDX_v1_1.zip
lucasmendes
Posts: 1
Joined: Wed Sep 06, 2006 1:42 pm
Location: Brazil
Contact:

Post by lucasmendes »

I got some problems trying IrrDX 1.1 on Win2k, compilling under Dev-C++:

--
Please select the driver you want for this example:
(a) Direct3D 9.0c
(b) Direct3D 8.1
(c) OpenGL 1.5
(d) Software Renderer
(e) Apfelbaum Software Renderer
(f) NullDevice
(otherKey) exit

b
Irrlicht Engine version 1.1
Microsoft Windows 2000 Professional Service Pack 4 (Build 2195)
Using renderer: Direct3D 8.1
S3 Graphics SuperSavage/IXC Toshiba S3SSav.dll 5.13.1.1215
--

So a new window has been opened, saying:"02.Quake3Map.exe has generated errors and will be closed by Windows. You need to restart your program."

The original DLL for Visual C++ works fine for DirectX 8.1; only Dev-C++'s DLL (IrrDX 1.1) got this problem..

Any suggest ?
rbm
Posts: 3
Joined: Sun Sep 10, 2006 4:59 pm

Re: v1.1 compatible lib is available

Post by rbm »

garrittg wrote:untested. please lmk if you have issues.

http://www.gprogs.com/gg.Irrlicht/IrrDX_v1_1.zip
First, thanks for this. But for me, example 02 crashes after choosing DX81.

Here's exactly what I did. I loaded example 02 in Devcpp. I rebuilt all using the .a you provided, put your 3 dlls in the same directory as my 02 executable.

Since my exe crashes, I rebuilt a debug version and stepped through it. The Insight+GDB debugger tells me that I have a sigsegv fault in d3d8!ValidateVertexShader whatever that is.
hybrid
Admin
Posts: 14143
Joined: Wed Apr 19, 2006 9:20 pm
Location: Oldenburg(Oldb), Germany
Contact:

Post by hybrid »

I haven't used DirectX8 ow for several incarnations of the SVN version (so compiled on my own) due to crashes in all examples with D3D8. Maybe the directx-devpak is incompatible to the latest dlls?
rbm
Posts: 3
Joined: Sun Sep 10, 2006 4:59 pm

Post by rbm »

hybrid wrote:Maybe the directx-devpak is incompatible to the latest dlls?
Another post described how to build a devpak by converting all the SDK's .lib files to .a

Problem is that the DX9c sdk comes in about 10 versions each with it's own d3dx9_xx.dll.

When you compile the Visual Studio 32 version of Irrlicht, which dx sdk are you using?
Post Reply