Package Details: dlib 19.7-1

Git Clone URL: https://aur.archlinux.org/dlib.git (read-only)
Package Base: dlib
Description: Dlib is a general purpose cross-platform C++ library designed using contract programming and modern C++ techniques.
Upstream URL: http://www.dlib.net/
Keywords: dlib
Licenses: Boost Software License
Submitter: pingplug
Maintainer: pingplug
Last Packager: pingplug
Votes: 19
Popularity: 1.446782
First Submitted: 2015-08-19 09:02
Last Updated: 2017-10-26 08:57

Dependencies (10)

Required by (0)

Sources (1)

Pinned Comments

pingplug commented on 2017-02-11 02:49

dlib put the code in its header, and has tons of macros to check errors *while compiling*. So it is not recommend to "pre-build" the library, especially with debug flags.

See initial commit of mingw-w64-dlib if you want a "pre-build" library.

Latest Comments

rib commented on 2017-11-22 01:48

I ended up creating an alternative 'libdlib' package that installs headers, a libdlib.so library + 'dlib-1' pkg-config file: https://aur.archlinux.org/packages/libdlib

rib commented on 2017-11-22 00:37

Although dlib is possible to use without compiling a libdlib.so it seems awkward to make a package which doesn't install the pkg-config files so projects can't discover this style of dlib packaging.

Although I understand the idea of encouraging the use of dlib without needing a shared library; personally I'd still prefer a package that would install a library, headers and pkg-config file, more consistent with other packages, and other distros (at least Ubuntu - I didn't check any others).

For the case where dlib is used without a pre-built library the upstream documentation suggests compiling dlib/all/source.cpp which isn't installed via cmake (which is why this package installs them directly I suppose) but with that inconsistency then it seems unlikely much software will be written to expect that /usr/include/dlib/all/source.cpp exists if they want to be easily buildable across a range of distros.

yxchng commented on 2017-09-06 06:31

Why package a library without .so files? How should I use this package?

pingplug commented on 2017-02-11 02:49

dlib put the code in its header, and has tons of macros to check errors *while compiling*. So it is not recommend to "pre-build" the library, especially with debug flags.

See initial commit of mingw-w64-dlib if you want a "pre-build" library.

joker512 commented on 2017-02-09 15:55

Why don't you build .a and .so files in this package?