[cs13001] Question on the lab

Mikhail Nesterenko mikhail at cs.kent.edu
Sat Oct 13 14:52:13 EDT 2012


Yes, it looks like this error happens when you define your project as
Win32 rather than console. You can change your project properties in:

 Project -> Properties -> Configuration Properties -> Linker -> System
 	 and change SubSystem to Console.

Thanks,
--
Mikhail

> I had received this error as well on the lab and realized it was because I
> created a win32 GUI project over a console project in VS. I believe the
> error is in reference to missing GUI libraries from what I've read.
> 
> On Sun, Oct 7, 2012 at 5:29 PM, Mikhail Nesterenko <mikhail at cs.kent.edu>wrote:
> 
> >
> > > I am also getting two errors, and it says it cannot specify the code
> > error. The errors state
> > > Error LNK 2019: unresolved external symbol _main referenced in function
> > ___tmainCRTstartup
> >
> > This means that the linker could not find the function main(). Would
> > it be possible that you misspelled it or forgot to define it?


More information about the cs13001 mailing list