Developer forums (C::B DEVELOPMENT STRICTLY!) > Development

Using DirectX with Code::Blocks

(1/4) > >>

antonien:
Hi everybody

I made a search on the forum but couldn't find a definite answer to my question.
May I use DirectX with Code::Blocks as it is (i.e with MinGW as compiler) or do I have to change for another compiler (some Microsoft stuff) ?
If I have to, is there a comprehensive tutorial which explains how to do it ?
I am not very familiar with installation (actually I am panicked when I have to do this kind of stuff). Do I have to uninstall Code::Blocks to do it ?
Is there a difference of behaviour between a program compiled with MinGW and the same program compiled with another compiler ?

Thanks for the answer if any.

Best Regards.
antonien

MortenMacFly:

--- Quote from: antonien on January 25, 2011, 09:20:25 pm ---May I use DirectX with Code::Blocks as it is (i.e with MinGW as compiler) or do I have to change for another compiler (some Microsoft stuff) ?

--- End quote ---
The Direct/X SDK works perfectly with MinGW. All you need to do is the usual setup. First install the SDK itself, then use e.g. the Direct/X wizard of C::B to get yourself an example project stub and go ahead.

antonien:
Thanks a lot for your quick answer. I read that I had to use some utility to convert the .lib files and that was enough for me to be upset.
I'll try the Direct/X wizard.
I use also wxWidgets (and I like it !). I guess I'll have to do some stuff to combine both : there is no wizard to make it for me...

Thanks again, I feel more comfortable.
Regards

MortenMacFly:

--- Quote from: antonien on January 25, 2011, 10:14:39 pm ---Thanks a lot for your quick answer. I read that I had to use some utility to convert the .lib files and that was enough for me to be upset.

--- End quote ---
There is no need for any conversion. MinGW can handle the windows library files (*.lib) just fine!

BTW: No, we don't have a wizard for each and every combination (;-)). However, there is plenty code around at "the Google" which combines Direct/X with wxWidgets as a starter...

stahta01:

--- Quote from: MortenMacFly on January 26, 2011, 07:51:17 am ---There is no need for any conversion. MinGW can handle the windows library files (*.lib) just fine!

--- End quote ---

When did this happen?
I know MinGW can handle C DLLs.

The old link I used to post for MinGW DirectX Library
http://mamedev.org/tools/previous-20070810.html

The new link
http://mamedev.org/tools/

Tim S.

Navigation

[0] Message Index

[#] Next page

Go to full version