yesterday I opened up Code::Blocks after a month or so of not using it, and I was messing around, writing some test code in C++. I compiled some programs correctly, then all of a sudden I got an error that I can't seem to solve:
-------------- Build: Debug in asdfsdfsdgf (compiler: GNU GCC Compiler)---------------
mingw32-g++.exe -Wall -fexceptions -g -c C:\Users\aharman\Documents\CPP\asdfsdfsdgf\main.cpp -o obj\Debug\main.o Execution of 'mingw32-g++.exe -Wall -fexceptions -g -c C:\Users\aharman\Documents\CPP\asdfsdfsdgf\main.cpp -o obj\Debug\main.o' in 'C:\Users\aharman\Documents\CPP\asdfsdfsdgf' failed.
Here is my code:
#include <iostream>
using namespace std;
int main()
{
cout << "Hello world!" << endl;
return 0;
}
I don't recall making any changes to anything related to Code::Blocks, so I don't know why it suddenly stopped working. I've been doing hours of research, and I just can't find the solution. Creating a thread is always a last resort for me, when I have given up trying to find an answer because it seems hopeless. Does anybody know what's going on here? Thanks in advance.