compilation error
can someone explain what this compilation error means exactly?
or maybe suggestions on how to fix it, if you have had it happen before?
--------------------Configuration: game - Win32 Debug--------------------
Linking...
LIBCD.lib(crt0.obj) : error LNK2001: unresolved external symbol _main
Debug/game.exe : fatal error LNK1120: 1 unresolved externals
Error executing link.exe.
game.exe - 2 error(s), 0 warning(s)
thanks
June 12, 2002 02:28 PM
You need a main() function. It looks like you are trying to write a Win32 App but started a Win32 Console App instead. A Win32 Console App has to have a main where as a Win32 App looks for WinMain.
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement