Open Simon1511 opened 2 years ago
Going completely on a whim here (can't even remember why I'm following this repo, probably because it's interesting) If I'm wrong, you can just wait for Almamu.
Boring details:
The problem seems to be CMake, not ffmpeg.
Apparently, this project's ffmpeg CMake module is the only one using the non-DEFAULT_MSG
FindPackageHandleStandardArgs
command signature and using the alternative REQUIRED_VARS
/HANDLE_COMPONENTS
signature instead.
This normally isn't a problem... unless you have an older version of CMake (specifically lower than 3.18), in which case REQUIRED_VARS
is always required even if HANDLE_COMPONENTS
is provided, which is the case here.
More information here: https://cmake.org/cmake/help/latest/module/FindPackageHandleStandardArgs.html
Solution Try to use CMake 3.18 or higher Although, Almamu can probably make it more compatible for older versions. I don't know anything about CMake, I'm just some dude that read the CMake docs for like 5 minutes.
Going completely on a whim here (can't even remember why I'm following this repo, probably because it's interesting) If I'm wrong, you can just wait for Almamu.
Boring details: The problem seems to be CMake, not ffmpeg. Apparently, this project's ffmpeg CMake module is the only one using the non-
DEFAULT_MSG
FindPackageHandleStandardArgs
command signature and using the alternativeREQUIRED_VARS
/HANDLE_COMPONENTS
signature instead.This normally isn't a problem... unless you have an older version of CMake (specifically lower than 3.18), in which case
REQUIRED_VARS
is always required even ifHANDLE_COMPONENTS
is provided, which is the case here.More information here: https://cmake.org/cmake/help/latest/module/FindPackageHandleStandardArgs.html
Solution Try to use CMake 3.18 or higher Although, Almamu can probably make it more compatible for older versions. I don't know anything about CMake, I'm just some dude that read the CMake docs for like 5 minutes.
Thank you very much, this fixed my issue!
Seems like the default repos on Ubuntu 20.04 only provide cmake 3.18. Adding the cmake ppa manually and installing cmake from there gave me the latest version.
I was not aware of this issue actually! Didn't get to read it before it got closed! I'm re-openning this to properly address it.
Hi, this issue is still happening with latest source and I am unable to update my cmake to a higher version.
Did you add path to ~/.bashrc
? I meet the same problem and this does help
Hi, I was trying to compile this, but
cmake ..
throws following error:However, the latest version of ffmpeg is installed:
I've alredy tried to re-install ffmpeg, and also tried to compile it from source (which installs ffmpeg just fine, but doesn't fix the error).
OS is Ubuntu 20.04.
Thanks in advance!