Whenever I run any of my programs, I always receive "The system file cannot be specified"

I built a mod for Half-Life 2, and in de-bugging I recieved this:

"The project is out of date. Would you like to build it?"

To which I reply "yes", naturally. Then I receive "There were some build errors. Would you like to continue and run the last successful build?"

Regardless of whether I say "yes" or "no", I still receive "The system file cannot be specified".

So I then I built a quick "Hello World" program, but to no avail. Unfortunately, all I got was the same error. For those of you interested, this is the code I used:

// This is a simple program with the single function of displaying the text //"Hello world" in the output.

#include <iostream>
using namespace std;

int main()

cout << "Hello world!";
return 0;

I hope you can help me fix this problem.
You give no indication of what IDE/compiler you're using.

If you can't compile that simple Hello Word program, you have a problem with your IDE/compiler installation.

I googled "The system file cannot be specified" and didn't get any hits on that exact error message but did get lots of hits on "The specified file cannot be found", which usually indicates the executable file was not built.
Topic archived. No new replies allowed.