Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- * Executing task: C/C++: cl.exe build active file
- Starting build...
- cmd /c chcp 65001>nul && cl.exe /Zi /EHsc /nologo /FeF:\Data\P.Storage\Operations\Current\waiting\vscode_test\test1\test1_1.exe F:\Data\P.Storage\Operations\Current\waiting\vscode_test\test1\test1_1.cpp
- test1_1.cpp
- test1_1.obj : error LNK2019: unresolved external symbol __imp__GetMessageW@16 referenced in function _wWinMain@16
- test1_1.obj : error LNK2019: unresolved external symbol __imp__TranslateMessage@4 referenced in function _wWinMain@16
- test1_1.obj : error LNK2019: unresolved external symbol __imp__DispatchMessageW@4 referenced in function _wWinMain@16
- test1_1.obj : error LNK2019: unresolved external symbol __imp__DefWindowProcW@16 referenced in function "long __stdcall WindowProc(struct HWND__ *,unsigned int,unsigned int,long)" (?WindowProc@@YGJPAUHWND__@@IIJ@Z)
- test1_1.obj : error LNK2019: unresolved external symbol __imp__PostQuitMessage@4 referenced in function "long __stdcall WindowProc(struct HWND__ *,unsigned int,unsigned int,long)" (?WindowProc@@YGJPAUHWND__@@IIJ@Z)
- test1_1.obj : error LNK2019: unresolved external symbol __imp__RegisterClassW@4 referenced in function _wWinMain@16
- test1_1.obj : error LNK2019: unresolved external symbol __imp__CreateWindowExW@48 referenced in function _wWinMain@16
- test1_1.obj : error LNK2019: unresolved external symbol __imp__ShowWindow@8 referenced in function _wWinMain@16
- test1_1.obj : error LNK2019: unresolved external symbol __imp__BeginPaint@8 referenced in function "long __stdcall WindowProc(struct HWND__ *,unsigned int,unsigned int,long)" (?WindowProc@@YGJPAUHWND__@@IIJ@Z)
- test1_1.obj : error LNK2019: unresolved external symbol __imp__EndPaint@8 referenced in function "long __stdcall WindowProc(struct HWND__ *,unsigned int,unsigned int,long)" (?WindowProc@@YGJPAUHWND__@@IIJ@Z)
- test1_1.obj : error LNK2019: unresolved external symbol __imp__FillRect@12 referenced in function "long __stdcall WindowProc(struct HWND__ *,unsigned int,unsigned int,long)" (?WindowProc@@YGJPAUHWND__@@IIJ@Z)
- F:\Data\P.Storage\Operations\Current\waiting\vscode_test\test1\test1_1.exe : fatal error LNK1120: 11 unresolved externals
- Build finished with error(s).
- * The terminal process terminated with exit code: -1.
- * Terminal will be reused by tasks, press any key to close it.
- * Executing task: C/C++: g++.exe build active file
- Starting build...
- cmd /c chcp 65001>nul && C:\msys64\ucrt64\bin\g++.exe -fdiagnostics-color=always -g F:\Data\P.Storage\Operations\Current\waiting\vscode_test\test1\test1_1.cpp -o F:\Data\P.Storage\Operations\Current\waiting\vscode_test\test1\test1_1.exe
- C:/msys64/ucrt64/bin/../lib/gcc/x86_64-w64-mingw32/13.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: C:/msys64/ucrt64/bin/../lib/gcc/x86_64-w64-mingw32/13.2.0/../../../../lib/libmingw32.a(lib64_libmingw32_a-crtexewin.o): in function `main':
- C:/M/B/src/mingw-w64/mingw-w64-crt/crt/crtexewin.c:67:(.text.startup+0xbd): undefined reference to `WinMain'
- collect2.exe: error: ld returned 1 exit status
- Build finished with error(s).
- * The terminal process terminated with exit code: -1.
- * Terminal will be reused by tasks, press any key to close it.
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement