Basic tools
To start C++ developing for Windows I’d recommend using MSYS toolchain.
- Install it via installer.
- Run “MSYS2 MSYS” console and get needed packages for Mingw-w64:
pacman -S --needed base-devel mingw-w64-ucrt-x86_64-toolchain
- Add “%MSYS_PATH%\ucrt64\bin” to PATH variable.
Check toolchain installation
gcc --version
g++ --version
gdb --version
ffmpeg installation
- Get sources
git clone https://github.com/FFmpeg/FFmpeg
- Run “MSYS MINGW64” console.
- Configure and build:
./configure --disable-ffplay --disable-ffprobe --disable-ffmpeg --enable-static make make install