Prabobly some link errors..
<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
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
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement