Advertisement

compilation error

Started by June 12, 2002 02:24 PM
1 comment, last by pandabear114 22 years, 3 months ago
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
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.
Advertisement
doh

that was it, hehe

thanks

This topic is closed to new replies.

Advertisement