![]() The solution for Ubuntu 16.04 is to first install it via apt and then run your script. For example, some people report compiling ffmpeg from source complains about gnutls. If another library fails, try the same technique and then run your script again to see if it works. x265) from source: apt install -y libx265-dev Run these commands as needed prior to running your custom script to compile ffmpeg and your dependent libraries (e.g. If you run into the Package Config error described in this thread, try installing the default (repository based) libraries first, and then install your custom version with your ffmpeg build script. This solution may work for other variants of Ubuntu as well. Why does pkg-config still not find the x265 libraries when i try to compile?Īfter much trial and error, I believe I have found a solution and the root cause under Ubuntu 16.04. $ echo $PKG_CONFIG_PATHĬ:\MYSYS\local\x86_64-w64-mingw32\lib\pkgconfigĪnd when i look for the libraries x265 is there: $ pkg-config -list-allĪnd here the debug log: $ pkg-config -debug My config paths seem to be all set correct. ![]() However when i -enable-libx265 in ffmpeg i get the following error: ERROR: x265 not found using pkg-configĪnd this from the config.log: require_pkg_config libx265 x265 x265.h x265_api_getĬheck_pkg_config libx265 x265 x265.h x265_api_get I am using the latest full MinGW build from xhmikosr found at: įFMEPG without x265 compiles without problems and compiling x265 standalone works without problems too. I'm trying to compile FFMPEG with x265 on Win10.
0 Comments
Leave a Reply. |