Thread: Code::Blocks: Direcx - How can i setup the directx?

  1. #1
    Registered User
    Join Date
    Aug 2013
    Posts
    434

    Code::Blocks: Direcx - How can i setup the directx?

    how can i activate and use the Directx on Code::Blocks?
    do i need install some libraries or something?

  2. #2
    Registered User
    Join Date
    May 2009
    Posts
    3,864
    Step1: Learn the name and version of the Compiler you are using.
    Step2: Figure out if the compiler supports DirectX

    Note: Code::Blocks is an IDE; it is not a compiler.

    Tim S.
    "...a computer is a stupid machine with the ability to do incredibly smart things, while computer programmers are smart people with the ability to do incredibly stupid things. They are,in short, a perfect match.." Bill Bryson

  3. #3
    Banned
    Join Date
    Aug 2017
    Posts
    861
    yea, You got a have your libs first then if their are any options that are required for special linking you have to add that to codeblocks in the place they have the directives to compile using the compiler, installed separately ( batteries not included ) and your video card needs to support the same version DirectX. so yes, there is a little bit to it. good luck and have fun.

    PS I do think the OS also has to have support for it as well if I remember correctly.

  4. #4
    Registered User
    Join Date
    Aug 2013
    Posts
    434
    my code block it's 16.01 version.
    i use windows 7.
    so what i need to do for start?

  5. #5
    Registered User
    Join Date
    May 2009
    Posts
    3,864
    Quote Originally Posted by joaquim View Post
    my code block it's 16.01 version.
    i use windows 7.
    so what i need to do for start?
    Quote Originally Posted by stahta01 View Post
    Step1: Learn the name and version of the Compiler you are using.
    Step2: Figure out if the compiler supports DirectX

    Note: Code::Blocks is an IDE; it is not a compiler.

    Tim S.
    Tim S.
    "...a computer is a stupid machine with the ability to do incredibly smart things, while computer programmers are smart people with the ability to do incredibly stupid things. They are,in short, a perfect match.." Bill Bryson

  6. #6
    Registered User
    Join Date
    May 2010
    Posts
    4,539
    Also posted here.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Code Blocks showing error in code! Don't know what's it.
    By kdushyant297 in forum C Programming
    Replies: 2
    Last Post: 09-08-2017, 09:59 AM
  2. Some help using Code::blocks !
    By Saurav Kalita in forum C Programming
    Replies: 1
    Last Post: 06-17-2012, 11:05 PM
  3. Code::Blocks
    By bijan311 in forum C++ Programming
    Replies: 2
    Last Post: 01-26-2010, 05:36 PM
  4. dev-C++ or code::blocks?
    By Labmouse in forum C++ Programming
    Replies: 8
    Last Post: 09-18-2007, 12:06 PM
  5. DirectX Setup Help!
    By Tommaso in forum Game Programming
    Replies: 5
    Last Post: 11-24-2002, 10:19 PM

Tags for this Thread