Code::Blocks Forums

User forums => Using Code::Blocks => Topic started by: wooowbea on October 10, 2012, 09:54:49 pm

Title: Compiling Problem
Post by: wooowbea on October 10, 2012, 09:54:49 pm
Hello, i am a newbie :D i`ve used Mingw some years and now i have to use c::b.
So, i looked on the forum to resolve the problem, but the thing with the "Full command line" won`t work :[ . When i try to compile something it just says : "Debug" uses an invalid compiler [YOUR ANSWER IS ALREADY THERE. SEARCH THE FORUMS!]. Probably the toolchain path within the compiler options is not setup correctly?! Skipping...
Nothing to be do"
I tryed to use other compilers, i think none of them are installed... i tryed to install gnu gcc compiler, but it didn`t work.. What do you think i can do ? (and i have windows 7.)
Title: Re: Compiling Problem
Post by: Jenna on October 10, 2012, 10:24:34 pm
Go to "Setup -> Compiler [and debugger (depends on the version of C::B)] -> Global compiler settings -> GCC (or something like that) -> Tooƶchain settings".
First try autodetect to find the path the compiler is installed in.
If that does not work, chose the installation directory manual. Use the base folder (the one taht contains the bin-subdirectory, not the bin subdirectory itself !!).
Make sure the names of the executables are correct (they migvht vary between MinGW versions, with and without -dw2, -sjlj or mingw32- etc).