Include c/cpp third party libraries in Vscode(windows) Msys2-Gcc

preview_player
Показать описание
install c/cpp third party libraries using msys2 and include them in vs code .
This works if compiler is gcc only. In this video fmt library is installed and used in cpp program.
set c_cpp intellisenseEngine setting to "Tag Parser" for best intellisense.
Note: I already install msys2 so skipping that step.
2.Add bin folder of msys64\mingw64\bin (if you install 64bit version) to system variables path. Bin folder contains library dlls .
5.The library files are then store include folder(header files), bin folder(dlls), lib folder( .a files)
chapter:
00:10 install msys2
01:00 add msys2 path to system variables
01:35 fmt library installation
03:03 test fmt in vscode
Рекомендации по теме
Комментарии
Автор

this video is what I'm looking for for a month, you are HERO man thanks a lot

adamfit
Автор

Dude! You just saved me a ton of time!
Not only that, but I used this method to install other c++ libraries.

*THANK YOU VERY MUCH!*

humanrightsadvocate
Автор

what should we do to previous compiler that we are using mingw

mianmvlogs
Автор

THANK YOU SO MUCH. You have no idea how much this video helped. It saved me Thank you Thank you Thank you. I have no idea what I'm doing, but you helped me. Again thank you. Stay amazing.

Axel-yjuq
Автор

I downloaded the fmt library put it into my project folder and the include works fine but when I compile it says fatal error fmt/core.h no such file or directory even though the files are present.
I use lfmt so that isnt the problem i have not been able to find the solution for it i am not using the gcc fmt folder i downloaded the latest from github.

awabkhan
Автор

follow this video but found error:
undefined reference to `fmt::v8::vprint(fmt::v8::basic_string_view<char>,
please suggest...

ksirirux