Fix error 'C:/msys64/mingw64........collect2.exe: error: ld returned 1 exit status' in VS Code

preview_player
Показать описание
C:/M/mingw-w64-crt-git/src/mingw-w64/mingw-w64-crt/crt/crt0_c.c:18: undefined reference to `WinMain'
Рекомендации по теме
Комментарии
Автор

This was such a simple mistake, yet I really thankful to you for helping me. Thank you very much <3

shreyasc
Автор

Really thankful for posting this issue..

abins
Автор

If the above mentioned process in the video doesn't help you, then may be you saved your program in onedrive as in that case it shows the same problem. Try saving the file in another drive of your computer

RAHULSHARMA-dhje
Автор

Please subscribe to our channel & Comment the topic on which you people want the next video🎥.

thegenuinementor
Автор

I've trying to search Google all this time for help. Thank you very much

mkhan
Автор

it didin't work for me, but after adding int main() to my file it was ok

sympatyklego
Автор

Thank you, your videois very helpfil for me

mredits