Id returned 1 exit status
A linker error. Most often the old program is still running and its .exe is locked, so close the console window and compile again. If the log says undefined reference, a function is called but never defined, or main is missing.

