Answer the question
In order to leave comments, you need to log in
LINK2019 and LINK1120 how to solve?
I can not build the project, it constantly gives errors. How to fix?
Answer the question
In order to leave comments, you need to log in
Judging by the message, it wants _main instead of main. I suspect that the wrong application type is selected in the project - anything but console, and changing the application type to console will fix everything.
Either adding __cdecl: void __cdecl main()
.
And, yes, +1 to int main
instead of void main
( Roman ).
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question