Help me! can't run a simple windows program!
I am a newbie for Windows programming in C++, I am reading "Tricks of the Windows- Game Programming Gurus"(great book), by Amdre'' LaMothe. I try to run a simple windows program that only creates a blank window, but keep getting a error of "LIBCD.lib(crt0.obj) : error LNK2001: unresolved external symbol _main" , I really don''t know what to do !
I am using Visual C++ introductory Edition.
Please! Help me!
You must have a link error. Go to Projects then settings then click on the links tab. On the one line that has all of the lib files add the ones that andre lamothe says to in the book. If your doing a ddraw application add ddraw.lib to that line.
Visit http://members.xoom.com/ivanickgames
It looks like you made a "Win32 console application" project. You need to make a "Win32 Application" project instead. That should fix you up.
~deadlinegrunt
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement