Failed building wheel for dlib [How to Solve]

 

Archlinux executes the following instructions

$ sudo pacman -S cmake

Ubuntu executes the following instructions

$ sudo apt-get install cmake

CentOS or CentOS based execution

$ sudo yum install cmake

Windows

Install cmake

Download the installation package from the official website: https://cmake.org/download

Install boost

Download from the official website: http://www.boost.org

Execute bootstrap.bat

Execute B2 install

B2 compiler library file (before you cmake download 64 bit here to write 64, if it is 32-bit, change the previous 64 to 32)

b2 -a --with-python address-model=64 toolset=msvc runtime-link=static

Set variables

set BOOST_ROOT=D:\Tools\boost
set BOOST_LIBRARYDIR=D:\Tools\boost\stage\lib

Similar Posts: