Irrlicht 1.4 DirectX with Code::Blocks

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
DarkDepths
Posts: 126
Joined: Sun Apr 02, 2006 1:21 am
Location: Canada

Irrlicht 1.4 DirectX with Code::Blocks

Post by DarkDepths »

Hello all. I was wondering if anyone has compiled the DLL so that users of code::blocks may use directX. If so, could you please share the compiled DLL as I cannot do it myself (I have very slow dial-up and the directX SDK is far too large for me to download). Thank-you!
Virion
Competition winner
Posts: 2149
Joined: Mon Dec 18, 2006 5:04 am

Post by Virion »

I was able to help you but now I can't because my w1nd0w$ was crashed due to malwares/virus/spywares attacks. (I don't know exactly which one) :lol:

Anyways if you really need it you might have to wait a few days for me to install back all the things and compile it for you.
My company: https://kloena.com
My profile: https://zhieng.com
My co-working space: https://deskspace.info
My game engine: https://kemena3d.com
hybrid
Admin
Posts: 14143
Joined: Wed Apr 19, 2006 9:20 pm
Location: Oldenburg(Oldb), Germany
Contact:

Post by hybrid »

greenya has a version in his signature, and there's also some thread in the FAQ forum where links are given.
RobbyRob
Posts: 21
Joined: Fri Mar 02, 2007 4:30 pm
Location: Germany

irrlicht with code.. blocks

Post by RobbyRob »

Hi,

I would recommend an easier way, when you have a look into the irrlicht sdk file you will find "bin". Inside at win32-VisualStudio you have a precompiled irrlicht.dll which is suitable for code::blocks:
You just have to start the irrlicht icon in code:: blocks, delete the code in the cpp file , paste your own code, and link in build options the include file (sdk) and also the lib files from win32-VisualStudio in directories.
Don´t forget to put the irrlicht file into your work folder,
then everything will work perfectly, so forget all the stuff of precompiling your own dll; when a new version comes out (irrlicht 1.5 etc) then just do the same procedure as explained before.
Hope it will run on your PC,

Robert
hybrid
Admin
Posts: 14143
Joined: Wed Apr 19, 2006 9:20 pm
Location: Oldenburg(Oldb), Germany
Contact:

Post by hybrid »

I guess people here ask about using code blocks with mingw, not with MSVC. And due to different name mangling, the .lib file does not work with mingw (AFAIK).
Halifax
Posts: 1424
Joined: Sun Apr 29, 2007 10:40 pm
Location: $9D95

Post by Halifax »

hybrid wrote:I guess people here ask about using code blocks with mingw, not with MSVC. And due to different name mangling, the .lib file does not work with mingw (AFAIK).
I am actually pretty sure you can use .lib files with MinGW. The only problems occur sometimes when it comes to headers. I used to use the DirectX 9.0 SDK with Dev-Cpp, but I began to get such crazy problems with the header files that I just moved over to MSVC 9.0
TheQuestion = 2B || !2B
Post Reply