Archived

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

VC++ Compile Error

This topic is 6279 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

I get this weird compile error sometimes when I try to compile some things I''ve written up. It just all of a sudden becomes a problem sometimes...here it is: LIBCD.lib(crt0.obj) : error LNK2001: unresolved external symbol _main Debug/Lesson9.exe : fatal error LNK1120: 1 unresolved externals Error executing link.exe. Dunno whats up.

Share this post


Link to post
Share on other sites
The project type you are in is probably the wrong one. If your making a windows app, use Win32 Application and if its a console app then use Win32 Console Application. You probably just clicked the wrong one by accident.

Snyper

Share this post


Link to post
Share on other sites