c++ – Visual studio 2022 components that install media foundation lib files
I have a DLL program with the following heading codes for Visual Studio 2022 professional edition.
#include
#include
#include
#include
#include
#pragma comment(lib, "mf.lib")
#pragma comment(lib, "mfapi.lib")
#pragma comment(lib, "mfidl.lib")
#pragma comment(lib, "mfplat.lib")
The problems I am getting is “LNK1104: cannot open file ‘mfapi.lib'” link errors. mf___.lib files are not installed in my VS. How can I install Windows Media Foundation lib files for VS 2022? Which components should I install to get those lib files? Include files are already in the paths. Only lib files are missing.
First I tried with community edition with “Build ALL”. Then profession edition. I checked lib directories. mf__.lib files are missing in lib folders.
Read more here: Source link
