User forums > Using Code::Blocks

no compiler program set

(1/4) > >>

hanshuckebein:
I use CB 16.01 on Linux mint 17.
I opened a new project for a console application using gnu gcc.
Attempting to compile the generated main.c I get the message:
-------------- Build file: Debug in Simulator (compiler: GNU GCC Compiler)---------------

Skipping file (no compiler program set): main.c
Done.

How to fix this issue?

BlueHazzard:
Install an compiler

hanshuckebein:

--- Quote from: BlueHazzard on January 03, 2019, 11:24:47 am ---Install an compiler

--- End quote ---

Very wise advice…

But how to do this in CB? (cpp is installed and running on my system.)

oBFusCATed:
What is cpp?

Have you read any of these: http://wiki.codeblocks.org/index.php/Installing_a_supported_compiler ?

BlueHazzard:

--- Quote from: hanshuckebein on January 03, 2019, 02:04:25 pm ---Very wise advice…

--- End quote ---

Well you did not give any information if you have installed any compiler, or if yes, what compiler do you have installed. So my first advise is to install a compiler...
If you have installed a compiler then say so and also give version and installation method...

remember codeblocks IS NOT A COMPILER, codeblocks is an IDE

Navigation

[0] Message Index

[#] Next page

Go to full version