By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
446,159 Members | 913 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 446,159 IT Pros & Developers. It's quick & easy.

load bmp

P: n/a
FL
Hi,

I download the BMP loader from Cplusplus and tried to compile the
loadbmp.cpp. But was prompt :

Linking...
LIBCD.lib(crt0.obj) : error LNK2001: unresolved external symbol _main
Debug/loadbmp.exe : fatal error LNK1120: 1 unresolved externals
Error executing link.exe.
loadbmp.exe - 2 error(s), 0 warning(s)

Is there any setting I need to setin the MSVC?

Thanks and looking forward to your reply.

regards,

fl
Jul 22 '05 #1
Share this Question
Share on Google+
1 Reply


P: n/a
"FL" <fu*****@yahoo.com.sg> wrote in message
news:b1**************************@posting.google.c om...
Hi,

I download the BMP loader from Cplusplus and tried to compile the
loadbmp.cpp. But was prompt :

Linking...
LIBCD.lib(crt0.obj) : error LNK2001: unresolved external symbol _main
Debug/loadbmp.exe : fatal error LNK1120: 1 unresolved externals
Error executing link.exe.
loadbmp.exe - 2 error(s), 0 warning(s)

Is there any setting I need to setin the MSVC?


Your program needs a main() function.

DW

Jul 22 '05 #2

This discussion thread is closed

Replies have been disabled for this discussion.