Advertisement

A Compiling Error - Please Help

Started by November 16, 2000 08:23 PM
0 comments, last by mechanical baby 24 years, 2 months ago
I''ve just started reading "Tricks of the Windows Game Programming Gururs". When I try to compile just the standard windows shell. Normal windows init stuff and what not. I get this error. "-------------------Configuration: chap - Win32 Debug-------------------- Linking... LIBCD.lib(crt0.obj) : error LNK2001: unresolved external symbol _main Debug/chap.exe : fatal error LNK1120: 1 unresolved externals Error executing link.exe." This is under Visual C++ 6.0 Could someone please help me with this.
When you create a new project, you need to specify a win32 application, not a console application. It''s looking for the main() function when you have a WinMain() instead.

This topic is closed to new replies.

Advertisement