Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

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
1  
i too facing same problem . please help.. –  FOSS DIVERSER Dec 3 '10 at 17:41
1  
Does it work if you try and compile the source code using command line gcc? –  dv3500ea Dec 3 '10 at 17:43
1  
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
1  
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
show 3 more comments

1 Answer

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
add comment

Your Answer

 
discard

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.