I've always tried to promote MSVC toolkit in the community since it's the pro compiler made available for free; but you might as well get codeblocks to work with other compilers! I'm sure Cmoibenlepro will like this one !

Things you'll need:
latest version of codeblocks:
http://www.codeblocks.org/
MSVC toolkit:
http://www.microsoft.com/downloads/deta ... laylang=en
MS plattform SDK: use the 2003 version; the 2005 gives problems, link here:
http://www.microsoft.com/msdownload/pla ... k-full.htm
Or grab this file with the "Include" and "lib" folders only:
http://www.danielpatton.com/afecelis/fi ... oftSDK.zip
MS DX sdk: huge download. Try to get just the "Include" and "Lib" folders. They're all you need.
edited: grab the zipped version I got here:
http://www.danielpatton.com/afecelis/files/DXSDK.zip
It's an old 2004 version so it still has the dx8 stuff that latest sdks report errors on.
ok, now on to the screenshots:
01. Launch codeblocks, go to project, import, ms visual c++ project:
http://www.danielpatton.com/afecelis/co ... oard01.jpg
02. Look for the dsp project in Irrlicht's "source" folder; remember to uncompress the zip with the source! once you find it, select it and hit open. It will ask which compiler you want to use (I used MSVC toolkit 2003) and if you want to build in debug or release mode; make your pick! Wait a bit while it loads all of Irrlicht's files!
http://www.danielpatton.com/afecelis/co ... oard02.jpg
03. Select your imported project (Irrlicht), right click on it and go to "build options"
http://www.danielpatton.com/afecelis/co ... oard03.jpg
04. Select "Irrlicht -Win32release" (in my case I chose to build the dll in release mode), verify on the right you're using the proper compiler (in my case the MSVC toolkit 2003), and on the first palette (compiler options) verify everything is set up as in my screenshot:
http://www.danielpatton.com/afecelis/co ... oard04.jpg
EDITED: new codeblocks versions will have the options in 3 separate palettes.
05. Select the second palette (linker options) and add in the libraries that show up in my screenshot; one by one:
http://www.danielpatton.com/afecelis/co ... oard05.jpg
EDITED-IMPORTANT-libci.lib error
exclude libci.lib in the "other linker options" menu.
http://www.danielpatton.com/afecelis/co ... _error.jpg
06. go on to the third palette (directories), in the compiler options, add the necesary include folders, in the same order as in my screenshot:note: it will ask if you want to keep the folder as relative path, answer "no" to this option to make the path absolute:
NOTE: SINCE IRRLICHT 0.10 YOU MUST ALSO INCLUDE THE ZLIB FOLDER
http://www.danielpatton.com/afecelis/co ... oard06.jpg
07. Do the same in the linker palette, add the necesary lib folders, as in my screenshot (again, answer "no" to relative paths); once done, hit close, go to file and save your project as "irrlicht" in the source folder:
NOTE: SINCE IRRLICHT 0.10 YOU MUST CHECK THE NEW NAME OF THE VISUALSTUDIO LIB FOLDER
http://www.danielpatton.com/afecelis/co ... oard07.jpg
08. Right click on your "Irrlicht" project and select "compile", you may also use the sortcut ctrl-f9 or hit the 12th icon from left to right, the one that looks like a dented wheel.
http://www.danielpatton.com/afecelis/co ... oard08.jpg
09. Rejoice! 0 errors, 0 warnings. Go to your release folder and pick up your dll.
http://www.danielpatton.com/afecelis/co ... oard09.jpg
10. the dll, ready to be used:
http://www.danielpatton.com/afecelis/co ... oard10.jpg
easy huh? Benoit, be happy!

to make things even cooler, Cmoibenlepro made a template for Irrlicht projects, grab it here, and unzip it into your "templates" folder in your codeblocks installation:
http://www.danielpatton.com/afecelis/co ... plates.zip
so now it's even easier; all in one, an optimized dll and the chance to make projects!!!!
now I must uninstall my good ol' Relo, who fought all those coding battles, arm by arm, next to me, in the solitude of the night..blah blah blah...blah blah
ENJOY, IRRLICHTERS!
