Archived

This topic is now archived and is closed to further replies.

foreveryung

what the error message mean?

Recommended Posts

foreveryung    122
Linking... LIBCD.lib(crt0.obj) : error LNK2001: unresolved external symbol _main Debug/map.exe : fatal error LNK1120: 1 unresolved externals Error executing link.exe. These are the error mesage when I compile the example of the tutorial Lesson 6.what the error message mean?

Share this post


Link to post
Share on other sites
TerranFury    142
You''re compiling it as a console application; you need to compile it as a Windows one. Since you''re using VC++, go to Project->Settings->Link and change the text "subsystem:console" to "subsystem:windows" and it should work.

Share this post


Link to post
Share on other sites