Thread: need help, using/setting up codeblocks

  1. #1
    Registered User
    Join Date
    Apr 2009
    Posts
    1

    need help, using/setting up codeblocks

    Hey, I'm very new to programing and such and starting on C++ due to a friends advice. Anyway, I just started the tutorial on it and downloaded codeblocks. After i downloaded it and tried to test what was already in there all it said was
    "test - debug" uses an invlaid complier. skipping...
    nothing to be done.
    I searched over the net and tried other solutions but none have worked. If anyone could help me with this i would appreciate it. Also i applogize if this post is in the wrong section, I looked through the rest and this seemed to be the best fit. Thanks.

  2. #2
    Registered User
    Join Date
    Dec 2006
    Location
    Canada
    Posts
    3,229
    Did you download and install the version with a compiler (MinGW GCC)?

    You can install GCC separately yourself, but it's probably easier to just download the version that comes with it.

  3. #3
    بابلی ریکا Masterx's Avatar
    Join Date
    Nov 2007
    Location
    Somewhere nearby,Who Cares?
    Posts
    497
    Quote Originally Posted by cyberfish View Post
    Did you download and install the version with a compiler (MinGW GCC)?

    You can install GCC separately yourself, but it's probably easier to just download the version that comes with it.
    yep , the problem is that he didn't install any compiler before! or lets say doesn't have any compilers installed! or at least didn't configure codeBlocks to use the installed compiler(s) .

    ok to fix your problem the fastest way download

    codeblocks-8.02mingw-setup.exe 28 Feb 2008 19.3 MB Sourceforge or BerliOS

    and install it , ( better uninstall the previous installment first)
    Highlight Your Codes
    The Boost C++ Libraries (online Reference)

    "...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


  4. #4
    Registered User
    Join Date
    Apr 2009
    Location
    Canada
    Posts
    6
    What I recomend is following Masterx's advice, but make sure when you go into code::blocks, click settings, Toolchain executables, then click the Auto-Detect button, and then ok. After that, code::blocks should work fine.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. library issues in CodeBlocks
    By everlearnin in forum C++ Programming
    Replies: 0
    Last Post: 06-02-2009, 08:44 PM
  2. Codeblocks crashes linux?
    By Shakti in forum Tech Board
    Replies: 1
    Last Post: 03-25-2009, 07:26 AM
  3. Code::Blocks doesn't like my enums and typedefs
    By muehl in forum C++ Programming
    Replies: 19
    Last Post: 02-12-2009, 10:48 AM
  4. Replies: 1
    Last Post: 01-11-2008, 09:34 AM