2

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

8
  • 1
    i too facing same problem . please help.. Dec 3, 2010 at 17:41
  • 1
    Does it work if you try and compile the source code using command line gcc?
    – dv3500ea
    Dec 3, 2010 at 17:43
  • 1
    i honestly do not understand what you have said.. Dec 3, 2010 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 ? Dec 3, 2010 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, 2010 at 20:50

1 Answer 1

2

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

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .