microsoft/FFmpegInterop

Project does not build

pps83 opened this issue · 2 comments

pps83 commented

out of the box checkout + modules update + build simply does not work and fails with these errors:

source\mediasampleprovider.h(24): fatal error C1083: Cannot open include file: 'libavformat/avformat.h': No such file or directory (compiling source file ..\..\Source\H264SampleProvider.cpp)

or:

sampleswin10\mediaplayercpp\pch.cpp : fatal error C1192: #using failed on 'C:\work\FFmpegInterop\Debug\FFmpegInterop\FFmpegInterop.winmd'
2>                 'The system cannot find the file specified.'

Hi @pps83

Did you build FFmpeg first as described in the README? You will need to setup your environment as described in Building FFmpeg for WinRT by installing MSys and the other requirements of the projects and then calling BuildFFmpeg.bat with the platforms that you want to build.

Once you have FFmpeg build correctly, FFmpegInterop should find the headers and build properly.

Hi @khouzam,

Does one have to build FFmpeg? Is there another way to include prebuilt binary versions of the DLLs?

Thank you.