Thread: Code Blocks compiling problem

  1. #1
    Registered User
    Join Date
    Jul 2010
    Posts
    2

    Code Blocks compiling problem

    I don't really know where to put this, but because it isn't directly relevant to C++ i thought this seemed like the correct place to ask.

    I am following the tutorial on the main site, but right in the beginning I hit a snag. I have code::blocks setup completely fine, everything successful, but when i create the Hello World application and try to run it by hitting F9 it doesn't run. I get a brief build log which goes away quickly and nothing, i hit F9 again and still doesn't run but with no build log. I have reinstalled code::blocks twice and i can't get it to work, i have the compiler set to the GNU GCC compiler.

    Anyone know how to fix this? I get the same problem when working with Java in Eclipse, i can't run my build or check for errors or anything. I really want to get a head start on C++ before i go to class for it so it will be a bit easier to learn (game engine development major) but this is really annoying me. The only compiler that works on this computer is QBASIC...which is really sad. Any suggestions?

  2. #2
    and the hat of int overfl Salem's Avatar
    Join Date
    Aug 2001
    Location
    The edge of the known universe
    Posts
    39,656
    If you dance barefoot on the broken glass of undefined behaviour, you've got to expect the occasional cut.
    If at first you don't succeed, try writing your phone number on the exam paper.

  3. #3
    Registered User
    Join Date
    Jul 2010
    Posts
    2
    That was my problem thank you very much, i found the programs .exe file and kept clicking it until i could see that hello world was in fact showing up, a little pain in the butt, but i think i can work with this. Thank you very much.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Problems with compiling code in cygwin
    By firyace in forum C++ Programming
    Replies: 4
    Last Post: 06-01-2007, 08:16 AM
  2. code problem
    By maritos in forum C Programming
    Replies: 1
    Last Post: 11-27-2005, 05:22 PM
  3. Problem compiling GMP code
    By Bruno Couto in forum C Programming
    Replies: 2
    Last Post: 10-08-2005, 04:37 PM
  4. problem with selection code
    By DavidP in forum Game Programming
    Replies: 1
    Last Post: 06-14-2004, 01:05 PM
  5. Problem : Threads WILL NOT DIE!!
    By hanhao in forum C++ Programming
    Replies: 2
    Last Post: 04-16-2004, 01:37 PM