Package Details: dlib-free 1.1-1

Git Clone URL: https://aur.archlinux.org/dlib-free.git (read-only, click to copy)
Package Base: dlib-free
Description: C++ library with several utilities. No support for non-free features
Upstream URL: https://github.com/dorian3d/DLib
Licenses: custom
Conflicts: dlib-nonfree
Submitter: nooblercoobler
Maintainer: nooblercoobler
Last Packager: nooblercoobler
Votes: 1
Popularity: 0.003112
First Submitted: 2018-03-20 18:36
Last Updated: 2018-03-20 18:36

Latest Comments

acxz commented on 2019-10-26 05:24

Posted the error upstream (https://github.com/dorian3d/DLib/issues/21). The following PR (https://github.com/dorian3d/DLib/pull/16) should fix it once it gets merges. In the meantime, is it possible for you to patch the PR changes to this package?

acxz commented on 2019-10-26 03:56

Hey @nooblercoobler, I wanted to report the following error, which is causing the build to fail for me:

==> Making package: dlib-free 1.1-1 (Fri 25 Oct 2019 11:54:35 PM EDT)
==> Checking runtime dependencies...
==> Checking buildtime dependencies...
==> Retrieving sources...
  -> Found v1.1-free.tar.gz
==> Validating source files with md5sums...
    v1.1-free.tar.gz ... Passed
==> Removing existing $srcdir/ directory...
==> Extracting sources...
  -> Extracting v1.1-free.tar.gz with bsdtar
==> Sources are ready.
==> WARNING: PACKAGER should have the format 'Example Name <email@address.invalid>'
==> Making package: dlib-free 1.1-1 (Fri 25 Oct 2019 11:54:37 PM EDT)
==> Checking runtime dependencies...
==> Checking buildtime dependencies...
==> WARNING: Using existing $srcdir/ tree
==> Starting build()...
-- The C compiler identification is GNU 9.2.0
-- The CXX compiler identification is GNU 9.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 OpenCV: /usr (found version "4.1.2") 
-- Configuring done
-- Generating done
-- Build files have been written to: /home/acxz/.cache/yay/dlib-free/src/DLib-1.1-free/build
Scanning dependencies of target DLib
[  3%] Building CXX object CMakeFiles/DLib.dir/src/DVision/BRIEF.cpp.o
/home/acxz/.cache/yay/dlib-free/src/DLib-1.1-free/src/DVision/BRIEF.cpp: In member function ‘void DVision::BRIEF::compute(const cv::Mat&, const std::vector<cv::KeyPoint>&, std::vector<boost::dynamic_bitset<> >&, bool) const’:
/home/acxz/.cache/yay/dlib-free/src/DLib-1.1-free/src/DVision/BRIEF.cpp:55:32: error: ‘CV_RGB2GRAY’ was not declared in this scope
   55 |       cv::cvtColor(image, aux, CV_RGB2GRAY);
      |                                ^~~~~~~~~~~
make[2]: *** [CMakeFiles/DLib.dir/build.make:63: CMakeFiles/DLib.dir/src/DVision/BRIEF.cpp.o] Error 1
make[1]: *** [CMakeFiles/Makefile2:76: CMakeFiles/DLib.dir/all] Error 2
make: *** [Makefile:130: all] Error 2
==> ERROR: A failure occurred in build().
    Aborting...
Error making: dlib-free