Jump to content
  • Advertisement

Archived

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

Noods

error LNK2001: unresolved external symbol _main

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

Getting back into programming, and I have forgotten how to fix this linker problem. If I recall, you had to add 2 .lib files to your project. Can anyone give me a hand with this problem?

Share this post


Link to post
Share on other sites
Advertisement
Don''t you think this has something to do with the lack of a main function?
Perhaps you forgot to add the file with the Main function defined to the project!

Share this post


Link to post
Share on other sites
quote:
Original post by Noods
Getting back into programming, and I have forgotten how to fix this linker problem. If I recall, you had to add 2 .lib files to your project. Can anyone give me a hand with this problem?
I don''t think it involves adding libraries though... I used to get this when I would make a console project instead of a Win32 app, and vice versa (Main vs. WinMain)

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!