Question CodeBlocks doesn't build properly

Jun 27, 2019
3
0
10
Every time I press 'Run', it says my project (Hello World, in case you were wondering) hasn't built yet. When I click build it, it says
-------------- Build: Debug in test3 (compiler: GNU GCC Compiler)---------------

Linking stage skipped (build target has no object files to link)
Nothing to be done (all items are up-to-date).

Then says, again, I haven't built it yet, and repeats infinitely until I press 'No', and then it goes into a windows command file thing, saying
Process returned 4258096 (0x40F930) execution time : 0.012 s
Press any key to continue.
then when I press a key, Codeblocks says this:
Process terminated with status 4258096 (1 minute(s), 0 second(s))

My code is as following:
#include <iostream>
using namespace std;
int main()
{
cout << "Hello, world!" << endl;
return 0;
}