- Open Command Prompt.
- Run
g++ --version
. - If the output contains g++ version number then GCC should be set up properly to run from command line and you can continue.
- open MSYS2 MINGW32
- install boost by using the command
pacman -S mingw-w64-x86_64-boost
- Add arguement
-lws2_32
args
array in vscode in task.json. - Add arguement
"C:\\msys64\\usr\\include"
inincludePath
array in c_cpp_properties.json file.
args in task.json should look like this.