Jump to content
  • Advertisement

Archived

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

Nullio

Linker Error

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

  
Linking...
LIBCD.lib(crt0.obj) : error LNK2001: unresolved external symbol _main
Debug/NullEngine.exe : fatal error LNK1120: 1 unresolved externals
Error executing link.exe.
  
what does that mean?????, is there a list of linker errors and what they mean?

Share this post


Link to post
Share on other sites
Advertisement
No.
It most likely wants a main() because your project is a Win32 Console App, instead of a ''normal'' Win32 app.

Share this post


Link to post
Share on other sites
Ok then, where in a project settings is the ability to tell the compiler it is a win32 application and not a console application??


(I''m using Micro$oft visual c++)

Share this post


Link to post
Share on other sites
quote:
Original post by Martee
No.
It most likely wants a main() because your project is a Win32 Console App, instead of a ''normal'' Win32 app.



You know, main() is normal for C++, WinMain() isn''t.
When you choose to create a Win32 app, my guess is that VC++ links to a main() function that basically calls 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.

Participate in the game development conversation and more when you create an account on GameDev.net!

Sign me up!