ffmpeginteropx / FFmpegInteropX

FFmpeg decoding library for Windows 10 UWP and WinUI 3 Apps
Apache License 2.0
212 stars 53 forks source link

openssl error standard-cpp-migration branch #271

Closed venki-thiyag closed 2 years ago

venki-thiyag commented 2 years ago

Trying to build standard-cpp-migration branch on my Windows 10 system, observing the following error:

ERROR: openssl not found

I have added the following flags:

--enable-version3 --enable-nonfree

inside FFmpegConfig.sh, because of the following error:

OpenSSL <3.0.0 is incompatible with the gpl

Any ideas on how to proceed on this?

Build setup:

lukasf commented 2 years ago

May I ask why you are trying to build FFmpeg yourself? You can just use the NuGet package, no need to build FFmpeg manually. The standard-cpp-migration only affects the FFmpegInteropX library, not the FFmpeg build. You can build the library by opening the solution in VisualStudio, it will download the latest FFmpeg NuGet package.

If you really want to manually build FFmpeg:

We use openssl 3.0, so there is no need for -nonfree parameter. If it complains that openssl is not found, you need to find out why openssl was not correctly built. Of course, the build script is supposed to error out if openssl build fails, but who knows what has happened. Also try to use -ClearBuildFolders parameter with Build-FFmpeg.ps1 to enforce completely new build.

lukasf commented 2 years ago

Closing this. Feel free to re-open if there are any questions.