vscode로 gcc 컴파일러를 사용해서 c++ 을 하고 있는데..
어느순간부터 cmake 확장에서 제공하는 gdb 디버그가 안됐다...
경로에 가보니 실제로 gdb.exe가 없기도 했고..
이래와 같은 문제가 계속 발생했다..
https://github.com/microsoft/vscode-cmake-tools/issues/965
Can't debug in Visual Studio Code · Issue #965 · microsoft/vscode-cmake-tools
Brief Issue Summary Can't make the Visual Studio Code debugger work. Expected: Run CMake Configuration The result: [cmake] Configuring done [cmake] CMake Deprecation Warning: [cmake] The 'c...
github.com
vscode의 settings.json 파일도 수정해보고 따로 gdb 바이너리만 교체해보고 했는데도 쉽지 않아서..
이럴때는 다 밀어버리고 새로 GCC를 가져오는게 좋을것 같다.
근데 문제는 지금부터다.
난 최신 버전의 Windows GCC를 원하는데.. Mingw gcc 가져오는걸 보면 전부 6.x 의 구버전 GCC이다...
그래서 임시방편으로 아래의 사이트에서 필요한 바이너리를 가져올 수 있다.
WinLibs - GCC+MinGW-w64 compiler for Windows
WinLibs standalone build of GCC and MinGW-w64 for Windows Jump to: Download | How to use from Windows Command Prompt | How to use from Code::Blocks | Philosophy What is it? In short: it's a free C and C++ compiler for Microsoft Windows. GCC (GNU Compile
winlibs.com
'빨간색 에러들' 카테고리의 다른 글
[C++] ERROR: Deleted function unique_ptr (0) | 2022.04.24 |
---|---|
[Xcode] Code signing is required for product type 'Application' in SDK (0) | 2022.04.16 |
[Vscode] visual studio connect Host SSH connection Error (0) | 2022.03.26 |
[Window] cmake 32bit 64bit 컴파일 (0) | 2022.03.03 |
visual studio invalid multibyte character sequence (0) | 2022.02.15 |