Hi.
1) UnZip the Source of irrlicht 0.4.2.
2) Open with DevCpp the file called Irrlicht.dev
3) In Project Options select the tab folder or something like this (i have this in spanish).
4) There are 3 SubTabs. Here there are some configuration of the developer and it dont work for own PC, so we need change this.
In "Library folder", First remove the 2 entries clicking in "remove", and clic in "..." at right of the EditBox, find the source folder and on it there are 3 other folders, select jpeglib and press OK.
We will see the path in the EditBox, now press Add.
Repeat the step with the folder zlib.
5) Now in the SubTab "Include Folders", remove the solitary entry and repeat the last step with the folder "Include".
6) Now select the Tab "Parameters" and in "link" remove all inside this and copy this:
--no-export-all-symbols --add-stdcall-alias -lgdi32 -lglu32 -lopengl32
../../lib/DevCpp/libjpeg.a
../../lib/DevCpp/libz.a
../../lib/DevCpp/libd3dx8d.a
Download the file IRR_DX8.zip (275 KB) from here.
Unzip this in the Irrlicht Folder.
7) Accept this changes.
Open the file IrrCompileConfig.h
9) comment the lines 23 to 25
10) Add after this :
#if defined(_WIN32)
#define _IRR_COMPILE_WITH_DIRECTX_8_
#endif
11) Open The file dxfile.h and in the end of it remove the symbol
12) Save all changes and try to compile.
13) If all is OK, copy the new Irrlicht.dll in the source folder to your Application folder, and in Irrlicht/bin/DevCpp/ you will find d3dx8d.dll, copy this too to your Application folder.
Now try to compile your application in irr::video::EDT_DIRECTX8.
thanks to all.[/url]