Help again - basic win32 app
Hi again everyone. I''m having major troubles with understanding file relationships in C++, and I''ve come across another what''s probably, really simple problem.
Basically I''m making that first window, but having difficulties. I can get it to compile and what not, but when I try to link it, it says:
LIBCD.lib(crt0.obj) : error LNK2001: unresolved external symbol _main
Debug/WinTut.exe : fatal error LNK1120: 1 unresolved externals
Can someone just translate what that is to English please? That way I might have a chance of sussing it out before I start actually listing all of my code in this forum.
Thanks in advance.
that means that you have tried to create a console application instead of a win32 application
start MSVC over from scratch and and when you create a new project...make sure it is a win32 project
"Now go away or I shall taunt you a second time"
- Monty Python and the Holy Grail
start MSVC over from scratch and and when you create a new project...make sure it is a win32 project
"Now go away or I shall taunt you a second time"
- Monty Python and the Holy Grail
unresolved external symbol main
means
I can''t find a symbol called main in your program
meaning the linker is looking for something called main but can''t find it because it isn''t in your program.
main is needed for console apps, so you''ve selected the wrong type of project. You need to select a windows type application.
means
I can''t find a symbol called main in your program
meaning the linker is looking for something called main but can''t find it because it isn''t in your program.
main is needed for console apps, so you''ve selected the wrong type of project. You need to select a windows type application.
Gee Brain, what we gonna do tonight?
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement
Recommended Tutorials
Advertisement