Advertisement

Prabobly some link errors..

Started by September 09, 2004 08:55 AM
1 comment, last by Izarf 20 years, 2 months ago
<source>--------------------Configuration: OpenGL - Win32 Debug-------------------- Linking... LIBCD.lib(crt0.obj) : error LNK2001: unresolved external symbol _main Debug/OpenGL.exe : fatal error LNK1120: 1 unresolved externals Error executing link.exe. OpenGL.exe - 2 error(s), 0 warning(s) </source> Ant one who knows how to get to the solution of this problem? Would be very glad if some one helped me with this one :)
When you created your project in Visual Studio you had the choice of a windows application or a console application. And you chose wrong :-)

Either create your project again and this time select windows application, or go into your existing projects properties, find:

Configuration Properties -> Linker -> System -> SubSystem

And change it to Windows (/SUBSYSTM:WINDOWS).

Alan
"There will come a time when you believe everything is finished. That will be the beginning." -Louis L'Amour
Advertisement
oh.. now I remember!! How stupid of me!
Thanks for your help!

This topic is closed to new replies.

Advertisement