MS Visual C++ Link Error
I'm trying to create an opengl program but I'm having some problems. Any help I can get from anyone would be great.
I wrote the program intitially with Salford but it turns out this is a rubbish compiler which does not allow you to run executables unless you have this compiler installed so instead I have got hold of a copy of Microsoft (shudder) visual C++. But alas my program will not run. I keep getting the following error
LIBCD.lib(crt0.obj) : error LNK2001: unresolved external symbol _main
Debug/gal4.exe : fatal error LNK1120: 1 unresolved externals
Error executing link.exe.
Stumped I tried compiling code I downloaded from tutorials on the net and found that every one generated the same error. Hence I guess I have the setup wrong somewhere. Does anyone use MSVC++ and have they had similar problems.
Any help would be greatly appreciated
Create a new Win32 Application instead of a Win32 Console App.
Thank you so much XSquared. I've been trying to get this program working for weeks now and you've solved my problems in a single line of text.
My sincerest thanks