load bmp

F

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
 
D

David White

FL said:
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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,781
Messages
2,569,615
Members
45,297
Latest member
EngineerD

Latest Threads

Top