There is something seriously wrong with my C++ compiler today

Feb 25, 2019 at 1:20pm
I have just installed codeblocks 17.2 and
I get the above message on the build log.
and then nothing happens.

Any help would be appreciated.

1
2
3
4
5
6
7
8
  #include<iostream>
using namespace std;

int main()
{
    cout << " I love this";
}
Feb 25, 2019 at 1:31pm
You said "get the above message", but where is above message?
Feb 25, 2019 at 1:32pm
this is what I am now getting:

1
2
3
4
5
6
7
8
9

Checking for existence: C:\Martin\Ivolethis.exe

mingw32-g++.exe   -c C:\Martin\Ivolethis.cpp -o C:\Martin\Ivolethis.o
mingw32-g++.exe  -o C:\Martin\Ivolethis.exe C:\Martin\Ivolethis.o   
Process terminated with status 0 (0 minute(s), 9 second(s))
0 error(s), 0 warning(s) (0 minute(s), 9 second(s))
 
Checking for existence: C:\Martin\Ivolethis.exe
Executing: '"C:\CodeBlock\CodeBlocks/cb_console_runner.exe" "C:\Martin\Ivolethis.exe"' (in 'C:\Martin')
Feb 25, 2019 at 1:40pm
Well, the cb_console_runner should show up as a pop-up... not sure what the issue there is.

If it's not working for some reason, just open a command-line prompt and go to where your Ivolethis.exe is, and run it "manually" from there.

C:\CodeBlock is not the default location that Code Blocks is installed in, you must've done something special with your installation. This is probably causing issues with the IDE.

PS: Debugging on CodeBlocks is sometimes buggy for me, it's happened before where the console runner doesn't close after debugging is done, and the only way to kill it is to restart my computer....

You can also just try manually compiling g++ Ivolethis.cpp -Wall -o Ivolethis
Last edited on Feb 25, 2019 at 1:45pm
Topic archived. No new replies allowed.