Advertisement

Help me

Started by November 29, 2001 11:59 AM
2 comments, last by Songoqq 23 years ago
Hi. I have got a little problem. When i compile program there is comeing error(see below). Could anyone tell me what should I do? Linking... LIBCD.lib(crt0.obj) : error LNK2001: unresolved external symbol _main Debug/ARENA.exe : fatal error LNK1120: 1 unresolved externals Error executing link.exe.
Compiles, won't build
A Compiling Error - Please Help

For future refrence, that little 'Search' icon in the upper-right corner of your screen does wonders. I found those 2 links by searching for 'unresolved external symbol _main'.

"So crucify the ego, before it's far too late. To leave behind this place so negative and blind and cynical, and you will come to find that we are all one mind. Capable of all that's imagined and all conceivable."
- Tool
------------------------------


Edited by - wayfarerx on November 29, 2001 1:06:29 PM
"There is no reason good should not triumph at least as often as evil. The triumph of anything is a matter of organization. If there are such things as angels, I hope that they're organized along the lines of the mafia." -Kurt Vonnegut
Advertisement
The compiler is searching for main() function. I suppose you have used WinMain and by mistake created a console application while it should have been Win32 application.

Hello from my world
hehe, this was also my problem when i was just starting to use VC okey, if you tried cut and paste and then tried to compile your program, VC would ask you if you would like to create a default workspace, if you answered yes here, it would be a console application in which if you''re trying to make win32 apps, it won''t work, that error will come out coz VC is looking for your program other than this is you picked the wrong project
http://www.dualforcesolutions.comProfessional website designs and development, customized business systems, etc.,

This topic is closed to new replies.

Advertisement