我在 Ubuntu 18.04 上构建 OpenCV 4.1 作为 deb 包。建库成功后。我打电话make package
并收到以下错误:
CPack: Create package
CMake Error at /usr/share/cmake-3.10/Modules/CPackDeb.cmake:622 (message):
CPackDeb: file utility is not available. CPACK_DEBIAN_PACKAGE_SHLIBDEPS
and CPACK_DEBIAN_PACKAGE_GENERATE_SHLIBS options are not available.
Call Stack (most recent call first):
/usr/share/cmake-3.10/Modules/CPackDeb.cmake:1119 (cpack_deb_prepare_package_vars)
有人对如何解决它有任何想法吗?