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)


Thank you,

- Doug

--
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