Jump to content
  • Advertisement

Archived

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

Owie

Windows linker error

This topic is 6096 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 am using Visual C++ 5. and I get the errors: IBCD.lib(crt0.obj) : error LNK2001: unresolved external symbol _main Debug/Windows Main.exe : fatal error LNK1120: 1 unresolved externals Is this part of my code or is it my project settings? thnx

Share this post


Link to post
Share on other sites
Advertisement
Guest Anonymous Poster
Make sure you create a win32 application and not a console app.

Share this post


Link to post
Share on other sites
missing main ??

either main(int,char**)

or

WinMain(HINSTANCE,HINSTANCE,LPSTR,int)

depends on the project type and lib settings .

{ Stating the obvious never helped any situation !! }

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!