The template file for CMakeLists.txt in the scaffolding tool was
changed on March this year, prior to the release of Kurento 7.0.0,
to now look like this:
set(OPENCV_REQUIRED <5.0.0)
See:
https://github.com/Kurento/kurento/commit/6d0e77032e0f3efe206225c51e319da07f31937a
So, if your CMakeLists.txt says "^3.2.0" or anything
different than "
<5.0.0"
, it probably means that you are using
an older version. That's OK if you want to target Kurento v6.x for
any reason. But if you thought you'd be targeting Kurento v7, then
mind that there is something wrong in your setup.
Most users get caught by this because the "
apt-get"
tool is a bit stupid and won't uninstall all dependencies that got
installed with "
apt-get install
kurento-media-server-dev". So they later try to install a
newer version of Kurento, resulting in a mixture of newer and older
packages.
This baffling issue with what is a basic system tool, led users to a
broken Kurento installation so often that we had to add a specific
doc section about it, have a look just in case:
https://doc-kurento.readthedocs.io/en/latest/user/installation.html#local-upgrade
Regards,
--
Juan Navarro
Software Development Engineer
Kurento & OpenVidu WebRTC platforms | https://openvidu.io/