Re: Bug#922589: FTBFS against opencv 4.0.1 (exp

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view

Re: Bug#922589: FTBFS against opencv 4.0.1 (exp

Andreas Tille-6
Hi Alex,

On Sat, Mar 28, 2020 at 11:30:04AM +0000, Alex Dewar wrote:
> I've stuck in a PR to the upstream OpenCFU repository, which should fix
> this issue:
> Let me know if this works (or not) for you.

Thanks a lot for your port in OpenCFU to latest OpenCV.  Its probably
very valuable.  I've applied the patch in Salsa[1].
Unfortunately I'm still struck with the configure step:

checking for pkg-config... /usr/bin/pkg-config
checking pkg-config is at least version 0.9.0... yes
checking for OPENCV... no
configure: error: OpenCV not found. Have you installed the library (devel version)
        tail -v -n \+0 config.log

Regarding the hint of Samuel Thibault:  Yes there is

# cat ./usr/lib/x86_64-linux-gnu/pkgconfig/opencv4.pc
# Package Information for pkg-config


Name: OpenCV
Description: Open Source Computer Vision Library
Version: 4.2.0
Libs: -L${exec_prefix}/lib/x86_64-linux-gnu -lopencv_stitching -lopencv_aruco -lopencv_bgsegm -lopencv_bioinspired -lopencv_ccalib -lopencv_dnn_objdetect -lopencv_dnn_superres -lopencv_dpm -lopencv_highgui -lopencv_face -lopencv_freetype -lopencv_fuzzy -lopencv_hdf -lopencv_hfs -lopencv_img_hash -lopencv_line_descriptor -lopencv_quality -lopencv_reg -lopencv_rgbd -lopencv_saliency -lopencv_shape -lopencv_stereo -lopencv_structured_light -lopencv_phase_unwrapping -lopencv_superres -lopencv_optflow -lopencv_surface_matching -lopencv_tracking -lopencv_datasets -lopencv_text -lopencv_dnn -lopencv_plot -lopencv_ml -lopencv_videostab -lopencv_videoio -lopencv_viz -lopencv_ximgproc -lopencv_video -lopencv_xobjdetect -lopencv_objdetect -lopencv_calib3d -lopencv_imgcodecs -lopencv_features2d -lopencv_flann -lopencv_xphoto -lopencv_photo -lopencv_imgproc -lopencv_core
Libs.private: -ldl -lm -lpthread -lrt
Cflags: -I${includedir_old} -I${includedir_new}

in my pbuilder chroot - but this somehow does not help :-(

Kind regards