Ask Ubuntu is a question and answer site for Ubuntu users and developers. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I am currently using code blocks 10.05 as a C++ compiler but I am facing a problem during building of source code (compiling) .

It displays an error that - debug program uses a wrong compiler, skipping...

I am using a GNU compiler from console application menu . Please help to rectify problem

share|improve this question
i too facing same problem . please help.. – FOSS DIVERSER Dec 3 '10 at 17:41
Does it work if you try and compile the source code using command line gcc? – dv3500ea Dec 3 '10 at 17:43
i honestly do not understand what you have said.. – FOSS DIVERSER Dec 3 '10 at 17:45
I have tried the default "Hello World" from a new C++ console project and it builds and runs fine, could you please provide a screenshot of the error ? What templare are you using ? – João Pinto Dec 3 '10 at 20:36
I mean does it work if you run: gcc hello.c -o hello or g++ hello.cpp -o hello from a terminal? You need to replace hello.c/hello.cpp with your source file. – dv3500ea Dec 3 '10 at 20:50

Open the Settings->Compiler and debugger settings window from the menu, then change the selected compiler from the drop-down menu.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.