|
-
Oct 7th, 2001, 12:49 PM
#8
Member
Hi L0phtpDK
Extract from a FAQ:
I get following errors when compiling the Win32 demos : 'libcd.lib(crt0.obj) : error LNK2001: unresolved external symbol _main' 'Debug/main.exe : fatal error LNK1120: 1 unresolved externals'.
This error occurs in VC when you're trying to compile a Win32 project as a console application. The compiler then searches for the function 'main', which causes the error. To fix this, copy your files into a directory, open a Win32 project and add the files to the project. Everything should compile fine. If you're compiling from the command prompt you should add '-mwindows'.
HTH
hmm
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|