Jump to content
  • Advertisement

Archived

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

shock33

Linking Question...(or I'm very stupid - depends on the answer)...

This topic is 6670 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

Hi, I''m currently just starting to go through the tutorials on this website, my problem is that while lessons 1,2,3 and 4 compile and run fine under Visual C++ (version 6) when I try to execute lesson 5 I get the following error message: Linking... LIBCD.lib(crt0.obj) : error LNK2001: unresolved external symbol _main Debug/Lesson5.exe : fatal error LNK1120: 1 unresolved externals Error executing link.exe. Lesson5.exe - 2 error(s), 0 warning(s) Can anyone help? thanks...(and hoping its not an incredibly obvious thing that is going to make me look very, very, very stupid) Ben...

Share this post


Link to post
Share on other sites
Advertisement
When you make a new project you must select "win32 application"!

The error means that you''ve chosen a "win32 console application".

Share this post


Link to post
Share on other sites

Hmmm...I thought I did (although having said that I probably didn''t), however I''m not at my computer at the moment so I''ll check that out when I go back in an hour or so, thanks.....


Ben..

Share this post


Link to post
Share on other sites

  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

We are the game development community.

Whether you are an indie, hobbyist, AAA developer, or just trying to learn, GameDev.net is the place for you to learn, share, and connect with the games industry. Learn more About Us or sign up!

Sign me up!