Code::Blocks Forums

User forums => Help => Topic started by: adeptJR on October 11, 2016, 06:48:14 pm

Title: Missing Compiler!
Post by: adeptJR on October 11, 2016, 06:48:14 pm
I install codeblocks with the FULL setting(Meaning EVERYTHING) and it goes through successfully. I then boot it up and it tells me there's no Compiler, despite me telling it to install one. What's going on and how do I fix this?
Title: Re: Missing Compiler!
Post by: stahta01 on October 11, 2016, 07:13:35 pm
What did you install! Please give the command or the exe filename?

Tim S.
Title: Re: Missing Compiler!
Post by: adeptJR on October 12, 2016, 12:59:28 am
I used the following installer:
codeblocks-16.01mingw-setup.exe

i can't compile anything. It keeps telling me that it can't find some gnu gcc compiler for lm8. Despite me telling it to use a different compiler. Also, isn't a compiler included with the mingw setup? Why isn't it finding and using that? All I'm trying to get it to do is make it print a line of text on screen. It just refuses to compile!!

edit: 2 minutes later it complains about gnu gcc compiler for lm32. What the hell does it think its doing?!?
Title: Re: Missing Compiler!
Post by: stahta01 on October 12, 2016, 03:29:23 am
Post the build log! Because you appear to be using the wrong compiler; but, seeing what it says will confirm that.
http://wiki.codeblocks.org/index.php/FAQ-Compiling_%28errors%29#Q:_How_do_I_troubleshoot_a_compiler_problem.3F (http://wiki.codeblocks.org/index.php/FAQ-Compiling_%28errors%29#Q:_How_do_I_troubleshoot_a_compiler_problem.3F)

Instead of using "GNU GCC Compiler for LM32" try using "GNU GCC Compiler" as your project Compiler.

Tim S.

Title: Re: Missing Compiler!
Post by: adeptJR on October 12, 2016, 09:53:01 pm
I have. It still gave me that damn 'Compiler doesn't exist' garbage.

Furthermore, I've officially abandoned Codeblocks as I don't have time for the nonsense its spewing out. I've already downloaded and installed DevC++ and it's working far better. Could you check the mingw setup and make it a bit more forceful in installing and establishing compilers to ensure that such infuriations don't occur further.
Title: Re: Missing Compiler!
Post by: stahta01 on October 13, 2016, 12:43:14 am
I have. It still gave me that damn 'Compiler doesn't exist' garbage.

Furthermore, I've officially abandoned Codeblocks as I don't have time for the nonsense its spewing out. I've already downloaded and installed DevC++ and it's working far better. Could you check the mingw setup and make it a bit more forceful in installing and establishing compilers to ensure that such infuriations don't occur further.

We can NOT fix user errors remotely, you picked a Compiler that is NOT on your PC!

Tim S.
Title: Re: Missing Compiler!
Post by: stahta01 on October 13, 2016, 12:44:40 am
Anyone good at doing Wiki pages, I think we need a wiki page on how to change the Compiler being used in a CB project?

Tim S.
Title: Re: Missing Compiler!
Post by: DLH4444 on October 16, 2016, 03:49:05 am
Evening all,

I am having the same problem adeptJR had.

My current system is Windows 10 - 64 Bit and I downloaded the "codeblocks-16.01.setup.exe" from Sourceforge.net.  The note below the "Windows XP/Vista/7/8.x/10" files state that this setup program includes Code::Blocks with all plugins.

1 - Does the Code::Blocks setup contain just the IDE (i.e. no compilers) and that the compilers must be downloaded separately?

2 - I am currently using Dev-C++ 5.1 IDE with TDM-GCC compiler version 4.9.2 64-bit compiler - Does the version and bit size have to match (i.e Code::Blocks say that the plugin is for TDM-GCC 4.9.2 32-bit compiler but the IDE fails to see my TDM-GCC 4.9.2 64-bit compiler)?

Also, I have read the Code::Blocks wiki which says to go to the settings -> Compiler and Debugger (current version of Code::Blocks has compiler and Debuggers on separate items) and when selecting the Compiler from the list, TDM-GCC is not one of the listed compilers.  Do I need to download another plugin or is there a compatible entry that I can use?

Thank you in advance
Delvin
Title: Re: Missing Compiler!
Post by: oBFusCATed on October 16, 2016, 01:23:39 pm
TDM-GCC is just a build of the GCC compiler. So you should just setup the GCC compiler to use your TDM compiler. Set the paths and executable names correctly and most probably the compiler will work just fine in C::B.
Title: Re: Missing Compiler!
Post by: DLH4444 on October 17, 2016, 02:11:00 am
oBFuscated,

Thank you for the reply. I went back into the Code::Blocks Configuration (Settings) for the compiler and pressed the reset button and Code::Blocks found my TDM Compiler and it appears that everything is working fine now.

Thanks again for your Help
Delvin