User forums > Using Code::Blocks
no compiler program set
hanshuckebein:
--- Quote from: oBFusCATed on January 03, 2019, 02:16:23 pm ---What is cpp?
Have you read any of these: http://wiki.codeblocks.org/index.php/Installing_a_supported_compiler ?
--- End quote ---
Sorry, gcc - as I write in my first posting: I opened a new project for a console application using gnu gcc.
hanshuckebein:
--- Quote from: BlueHazzard on January 03, 2019, 02:29:24 pm ---
--- 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
--- End quote ---
Read my initial postingā¦
$ gcc --version
gcc (Ubuntu 4.8.4-2ubuntu1~14.04.4) 4.8.4
Copyright (C) 2013 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
hanshuckebein:
No idea, how ti fix this issue?
stahta01:
http://wiki.codeblocks.org/index.php/Installing_a_supported_compiler#Compiler-neutral_setup_steps
The above is a hyperlink! Please try to follow the directions linked.
Tim S.
hanshuckebein:
Thanks a lot, Tim.
The issue was, that CB doesn't autotetect gcc on my linux mint correctly.
Using which to find aout the path to gcc:
$ which gcc
/usr/bin/gcc
so the path to gcc is usr/bin/ - as expected - but CB autodetection says /usr, which can't work.
Seems to be a bug in CB for linux.
Navigation
[0] Message Index
[#] Next page
[*] Previous page
Go to full version