Configuring eclipse to use Microsoft Visual C++ Toolchain? [message #888229] |
Sun, 17 June 2012 22:10 |
TopHatMonkey Messages: 3 Registered: May 2012 |
Junior Member |
|
|
After trying and failing to get MinGW to run I've decided to move on and try to use the Microsoft Visual C++ Toolchain. I have the Mincrosoft SDK 7.1 installed. When I use the toolchain it automatically includes C:/Program Files/Microsoft SDKs/Windows/v7.1/Include, C:/Program Files/Microsoft SDKs/Windows\v7.1/Include/gl and C:/Program Files/Microsoft Visual Studio 10.0/VC/Include. I created a simple Hello World! program to test it but I get the error LNK1561: entry point must be defined. As well as symbol cout could not be resolved and symbol endl could not be resolved.
I assume it isn't configured right, anybody know what to do?
Here's my code, although i'm pretty sure it isn't wrong.
#include <iostream>;
using namespace std;
void main(){
cout << "Hello World!" << endl;
}
|
|
|
Powered by
FUDForum. Page generated in 0.03194 seconds