question

kavehrahimi-5744 avatar image
0 Votes"
kavehrahimi-5744 asked MinxinYu-MSFT commented

LNK2001 error

Hi , When I debug my project I receive LNK2001 error the file which I receive it , is MSVCRTD.lib and the text of error is :'unresolved external symbol main'.
How can I resolve my problem.
please help
Thanks

c++
· 2
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

Did you read the documentation at linker-tools-error-lnk2001 which provides a detailed discussion of the error and possible causes?


0 Votes 0 ·

I am afraid it is difficult to find out the reason based on the description. Please provide a sample that can reproduce the error.

0 Votes 0 ·

0 Answers