User forums > Using Code::Blocks
Setting up DirectX with CodeBlocks
Extrakun:
Hi all,
I am new to CodeBlocks and would like to enquiry how to use DirectX with CodeBlocks. I already have installed the DirectX 9.0 (October) SDK and was using Visual Studo .Net.
Thanks in advance!
sethjackson:
--- Quote from: Extrakun on May 29, 2006, 07:29:12 am ---Hi all,
I am new to CodeBlocks and would like to enquiry how to use DirectX with CodeBlocks. I already have installed the DirectX 9.0 (October) SDK and was using Visual Studo .Net.
Thanks in advance!
--- End quote ---
Search the forum with "DirectX". :D
There is a DirectX template that comes with Code::Blocks that would be the easiest way.....
Maybe some of these will help you.
http://forums.codeblocks.org/index.php?topic=750.0
http://forums.codeblocks.org/index.php?topic=1373.0
http://forums.codeblocks.org/index.php?topic=914.0
Oh BTW why don't you use OpenGL (I DO NOT want to start a flamewar just asking)?
Extrakun:
Project requirement, which I can't change...
Thanks for the links, I will take a look!
sethjackson:
--- Quote from: Extrakun on May 29, 2006, 04:11:02 pm ---Project requirement, which I can't change...
Thanks for the links, I will take a look!
--- End quote ---
Sure no problem.
If you do not have a nightly build grab one from here.
http://forums.codeblocks.org/index.php?board=20.0
Vampyre_Dark:
There is nothing special about setting up directx in codeblocks, it's just a normal library.
Add the include and lib directories to your path setup, and then include the appropriate files as they are needed. Type all the lib names in the linker config for your project just like you would any other library. Very easy.
Seth, "DirectX vs OpenGL" does not compute. Only "Direct3D vs OpenGL". Lots of us use OpenGL for graphics, and DirectX for the rest.
Navigation
[0] Message Index
[#] Next page
Go to full version