Advertisement

Unresolved external symbol _main

Started by November 23, 2002 06:56 AM
6 comments, last by Cestps 21 years, 11 months ago
I''m trying to make a Ddraw game. However, no matter how many libraries I link, i still get the following errors: "LIBCD.lib(crt0.obj) : error LNK2001: unresolved external symbol _main Debug/Main.exe : fatal error LNK1120: 1 unresolved externals" Does anyone know a remedy for this? I''m using MSVC++ 6.0, Enterprise Edition.
Abnormally large and solar energy charged!
go to google
type ''unresolved external symbol _main''
click on first result
read
Advertisement
i had this problem where it said the same except it said winmain_ instead of main_
just delete all project files except the source then create a new projet and add the source. And that should fix it.

http://www.gamedev.net/community/forums/topic.asp?topic_id=124202 - was when i had routhly the same problem

[edited by - com on November 23, 2002 11:31:43 AM]
I''m willing to bet you''re doing a Win32 Console application instead of a Win32 Application project. What I want to know is how you ended up with Enterprise Edition when you''re still so early in the learning process...

-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
quote:
I''m willing to bet you''re doing a Win32 Console application instead of a Win32 Application project. What I want to know is how you ended up with Enterprise Edition when you''re still so early in the learning process...

-Arek the Absolute

Thats what somone said when i had my problem with it but slightly opsit. i was using a console application and i used main but for some reason it said unresolved external symbol _WinMain so i dont belive that it is that
You can get the enterprize edition fairly cheaply now that .net has been released.
Advertisement
quote: Original post by com
Thats what somone said when i had my problem with it but slightly opsit. i was using a console application and i used main but for some reason it said unresolved external symbol _WinMain so i dont belive that it is that

Show us how to re-create this error.
"after many years of singularity, i'm still searching on the event horizon"
I get that error on occasion. Try "rebuild all."
Or what? You'll send the dogs? Or the bees? Or the dogs with bees and when they bark they shoot bees at you?

This topic is closed to new replies.

Advertisement