Whats up with the linker?

Started by
1 comment, last by arkmaster 21 years, 2 months ago
Hey, I''m compiling my project in VC++ and get this error: LIBC.lib(crt0.obj) : error LNK2001: unresolved external symbol _main BTW: I dont think I have ATL_MIN_CRT in the preprocessor settings - in case anyone was going to suggest that.
Advertisement
Stupid question. Do you have a main() function or is it called WinMain()?
Odds are you''re not using the right kind of project. That is to say, either you''re making a windows program in a Console Application project, or (as seems to be the case here) you''re trying to make a lib in a project that''s set for Console Application, or something like that. Try creating a new project, and make sure you have it set for what you want to make.

-Arek the Absolute
-Arek the Absolute"The full quartet is pirates, ninjas, zombies, and robots. Create a game which involves all four, and you risk being blinded by the sheer level of coolness involved." - Superpig

This topic is closed to new replies.

Advertisement