I hope this is the rebuild log.
-------------- Clean: Debug in soc (compiler: GNU GCC Compiler)---------------
Cleaned "soc - Debug"
-------------- Build: Debug in soc (compiler: GNU GCC Compiler)---------------
g++.exe -o bin\Debug\soc.exe obj\Debug\main.o
g++.exe: error: obj\Debug\main.o: No such file or directory
g++.exe: fatal error: no input files
compilation terminated.
Process terminated with status 1 (0 minute(s), 0 second(s))
2 error(s), 0 warning(s) (0 minute(s), 0 second(s))
Works here:
-------------- Clean: Debug in soc (compiler: GNU GCC Compiler)---------------
Cleaned "soc - Debug"
-------------- Build: Debug in soc (compiler: GNU GCC Compiler)---------------
g++.exe -Wall -fexceptions -g -c C:\Users\Miguel\Desktop\soc\main.cpp -o obj\Debug\main.o
g++.exe -o bin\Debug\soc.exe obj\Debug\main.o
Output file is bin\Debug\soc.exe with size 63.75 KB
Process terminated with status 0 (0 minute(s), 1 second(s))
0 error(s), 0 warning(s) (0 minute(s), 1 second(s))
The only thing I can think of is a bad compiler configuration, go to Settings -> Compiler -> Toolchain executables -> C++ compiler and check it is g++.exe