- Visual Studio Code
- CMake
- C++ Compiler
- GCC (Linux, Windows) or Clang (Mac)
- C++ Debugger
- GDB (Linux, Windows) or lldb (Mac)
- Boost > 1.55
CMake, C++ Compiler and C++ Debugger need to be in PATH
- open Command Palette
Ctrl+Shift+P
and runCMake: Configure
/build
should be created (contains build system)
- open Command Palette
Ctrl+Shift+P
and runCMake: Build
- open Command Palette
Ctrl+Shift+P
and runCMake: Run without Debugging
- With Debugger: open Command Palette
Ctrl+Shift+P
and runCMake: Debug
- source files of stl not found:
- add a sourceFileMap entry to
launch.json
files
- add a sourceFileMap entry to
- no compiler kit found:
- open Command Palette
Ctrl+Shift+P
and run theCMake: Edit User-Local CMake Kits
command - specify your correct compiler path in
cmake-tools-kits.json
file
- open Command Palette
- Boost system error: bind: Address already in use:
- Kill application running on port 8080:
kill \$(lsof -t -i:8080)
- Kill application running on port 8080: