• Advertisement

Archived

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

Simple Vc++ compile problem

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

Well i broke down and got vc++6 Im just triing to compile and build but i get the following error What does that mean? thnx a ton -Skow --------------------Configuration: simple3d - Win32 Debug-------------------- Compiling... simple3d.cpp Linking... LIBCD.lib(crt0.obj) : error LNK2001: unresolved external symbol _main Debug/simple3d.exe : fatal error LNK1120: 1 unresolved externals Error executing link.exe. simple3d.exe - 2 error(s), 0 warning(s)

Share this post


Link to post
Share on other sites
Advertisement
win32 apps are supposed to have WinMain, not main. for traditional c++ programs choose to create a console app instead.

Share this post


Link to post
Share on other sites
It means you should have read the manual first. Since you didn't however, I'll point you to Visual C++ from the For Beginners forum.

[Edit: Be sure to read the second page; that's where the most complete answers are.]

[ GDNet Start Here | GDNet Search Tool | GDNet FAQ | MS RTFM [MSDN] | SGI STL Docs | Google! ]
Thanks to Kylotan for the idea!


[edited by - Oluseyi on March 20, 2002 3:16:41 AM]

Share this post


Link to post
Share on other sites
Thnx invective...I had clicked on console acidently.

Share this post


Link to post
Share on other sites

  • Advertisement