<!DOCTYPE html><html><head><meta http-equiv="Content-Type" content="text/html; charset=utf-8" /></head><body><div data-html-editor-font-wrapper="true" style="font-family: arial, sans-serif; font-size: 13px;"> <p><br>Hello,<br><br>I am currently trying to package OpenCV 4.3.0+dfsg-1 from this source: <a href="https://salsa.debian.org/science-team/opencv/-/tree/debian/4.3.0+dfsg-1">https://salsa.debian.org/science-team/opencv/-/tree/debian/4.3.0+dfsg-1</a> with the default cmake parameters in debian/rules except for the following: <br> -DPROTOBUF_UPDATE_FILES=OFF<br> -DPROTOBUF_UPDATE_FILES=OFF<br><br>I am trying to disable protobuf since OpenCV 4.3.0 requires protobuf 3.5.x and the Ubuntu bionic default version is 3.0.0, which was causing errors during the build. Enabling -DBUILD_PROTOBUF=ON fails as well, with error "<sys/videoio.h> no such file". The cmake build completes successfully, but dh_install fails with the following message:</p> <p>dh_install<br>dh_install: Cannot find (any matches for) "usr/include/opencv4/opencv2/dnn.hpp" (tried in ., debian/tmp)<br><br>dh_install: libopencv-dnn-dev missing files: usr/include/opencv4/opencv2/dnn.hpp<br>dh_install: Cannot find (any matches for) "usr/include/opencv4/opencv2/dnn/*" (tried in ., debian/tmp)<br><br>dh_install: libopencv-dnn-dev missing files: usr/include/opencv4/opencv2/dnn/*<br>dh_install: Cannot find (any matches for) "usr/lib/*/libopencv_dnn.a" (tried in ., debian/tmp)<br><br>dh_install: libopencv-dnn-dev missing files: usr/lib/*/libopencv_dnn.a<br>dh_install: Cannot find (any matches for) "usr/lib/*/libopencv_dnn.so" (tried in ., debian/tmp)<br><br>dh_install: libopencv-dnn-dev missing files: usr/lib/*/libopencv_dnn.so<br>dh_install: Cannot find (any matches for) "usr/lib/*/libopencv_dnn.so.*" (tried in ., debian/tmp)<br><br>dh_install: libopencv-dnn4.3 missing files: usr/lib/*/libopencv_dnn.so.*<br>dh_install: Cannot find (any matches for) "usr/include/opencv4/opencv2/text/*" (tried in ., debian/tmp)<br><br>dh_install: libopencv-contrib-dev missing files: usr/include/opencv4/opencv2/text/*<br>dh_install: Cannot find (any matches for) "usr/include/opencv4/opencv2/text.hpp" (tried in ., debian/tmp)<br><br>dh_install: libopencv-contrib-dev missing files: usr/include/opencv4/opencv2/text.hpp<br>dh_install: Cannot find (any matches for) "usr/lib/*/libopencv_text.a" (tried in ., debian/tmp)<br><br>dh_install: libopencv-contrib-dev missing files: usr/lib/*/libopencv_text.a<br>dh_install: Cannot find (any matches for) "usr/lib/*/libopencv_text.so" (tried in ., debian/tmp)<br><br>dh_install: libopencv-contrib-dev missing files: usr/lib/*/libopencv_text.so<br>dh_install: Cannot find (any matches for) "usr/include/opencv4/opencv2/core_detect.hpp" (tried in ., debian/tmp)<br><br>dh_install: libopencv-contrib-dev missing files: usr/include/opencv4/opencv2/core_detect.hpp<br>dh_install: Cannot find (any matches for) "usr/lib/*/libopencv_dnn_objdetect.so" (tried in ., debian/tmp)<br><br>dh_install: libopencv-contrib-dev missing files: usr/lib/*/libopencv_dnn_objdetect.so<br>dh_install: Cannot find (any matches for) "usr/lib/*/libopencv_dnn_objdetect.a" (tried in ., debian/tmp)<br><br>dh_install: libopencv-contrib-dev missing files: usr/lib/*/libopencv_dnn_objdetect.a<br>dh_install: Cannot find (any matches for) "usr/include/opencv4/opencv2/dnn_superres.hpp" (tried in ., debian/tmp)<br><br>dh_install: libopencv-contrib-dev missing files: usr/include/opencv4/opencv2/dnn_superres.hpp<br>dh_install: Cannot find (any matches for) "usr/lib/*/libopencv_dnn_superres.a" (tried in ., debian/tmp)<br><br>dh_install: libopencv-contrib-dev missing files: usr/lib/*/libopencv_dnn_superres.a<br>dh_install: Cannot find (any matches for) "usr/lib/*/libopencv_dnn_superres.so" (tried in ., debian/tmp)<br><br>dh_install: libopencv-contrib-dev missing files: usr/lib/*/libopencv_dnn_superres.so<br>dh_install: Cannot find (any matches for) "usr/lib/*/libopencv_text.so.*" (tried in ., debian/tmp)<br><br>dh_install: libopencv-contrib4.3 missing files: usr/lib/*/libopencv_text.so.*<br>dh_install: Cannot find (any matches for) "usr/lib/*/libopencv_dnn_objdetect.so.*" (tried in ., debian/tmp)<br><br>dh_install: libopencv-contrib4.3 missing files: usr/lib/*/libopencv_dnn_objdetect.so.*<br>dh_install: Cannot find (any matches for) "usr/lib/*/libopencv_dnn_superres.so.*" (tried in ., debian/tmp)<br><br>dh_install: libopencv-contrib4.3 missing files: usr/lib/*/libopencv_dnn_superres.so.*<br>dh_install: missing files, aborting<br><br> </p> <p>I am building on Ubuntu 18.04.5 with the command "debuild -b -us -uc", debhelper version 12.1.1ubuntu1~ubuntu18.04.1. <br><br>How should I resolve these missing files?<br><br>Thanks,<br>Anup Bagali<br><br>Lead Student Systems Administrator <br>TJHSST Computer Systems Lab</p> <p><br><br><signature></signature></p> </div></body></html>