On 2/27/19 5:26 PM, Bruce Dubbs via blfs-dev wrote:
On 2/27/19 3:21 PM, Douglas R. Reno via blfs-dev wrote:
Hi guys,

It seems that frei0r-plugins will not use OpenCV as declared in the book:

Making frei0r-plugins-1.6.1
Wed 27 Feb 2019 03:15:09 PM CST
mkdir: created directory 'build'
-- The C compiler identification is GNU 8.2.0
-- The CXX compiler identification is GNU 8.2.0
-- Check for working C compiler: /usr/bin/cc
-- Check for working C compiler: /usr/bin/cc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Detecting C compile features
-- Detecting C compile features - done
-- Check for working CXX compiler: /usr/bin/c++
-- Check for working CXX compiler: /usr/bin/c++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Found PkgConfig: /usr/bin/pkg-config (found version "0.29.2")
-- Checking for module 'opencv'
--   No package 'opencv' found
-- WARNING: OpenCV was not found. Please specify OpenCV directory using OpenCV_DIR env. variable
-- Found Freetype: /usr/lib/libfreetype.so (found version "2.9.1")
-- Checking for module 'cairo'
--   Found cairo, version 1.16.0
-- Found Cairo
-- Checking for module 'gavl'
--   Found gavl, version 1.4.0
-- Found Doxygen: /usr/bin/doxygen (found version "1.8.15") found components:  doxygen missing components:  dot
-- Configuring done
-- Generating done
CMake Warning:
   Manually-specified variables were not used by the project:

     OPENCV_DIR


It seems that OPENCV_DIR will not work if defined as OpenCV_DIR, leading me to believe that the version that we have in the book right now is incompatible. In addition, the OPENCV_DIR declaration that we have for IPPICV in the same page won't work anymore either as the variable is obsolete.

I propose the following:

- move OpenCV to Optional

- Remove the -DOPENCV_DIR= option in the CMake line (and the explanation)

Looing at configure, frei0r seems to be looking for opencv.pc which is not installed.

But we are using cmake, which is doing 'find_package (OpenCV)'

checking some more...

frei0r code seema to be looking for

#include <opencv/cv.h>
#include <opencv/highgui.h>

But I only have

/usr/include/opencv4/opencv2/

My conclusion is that opencv-4.0.1 is not compatible with frei0r-plugins-1.6.1.  We should remove (comment) opencv in freior.

The only thing left that references opencv is ffmpeg and gst10-plugins-bad.

My logs show they did not use opencv, but that was because I didn't build opencv until after those packages.

  -- Bruce



Done at r21262
--
http://lists.linuxfromscratch.org/listinfo/blfs-dev
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page

Reply via email to