Please show us your project setup, screenshots, etc. What you've given us is not sufficient to diagnose anything. As far as we know you just opened a .cpp file and tried to compile it which won't work. If you're running a command line manually then provide us that command line. The more information you provide us the far quicker we can help.