title: Can't install dlib, stuck at 98% forever
body: <p>Tried several times. Windows 10, i7, Python2.7</p>
  
  <pre><code>&gt; running install running bdist_egg running build Detected Python
  &gt; architecture: 32bit Detected platform: win32 Removing build directory
  &gt; E:\Google
  &gt; Drive\Program\Python\BossComing-dev\BossComing-dev\dlib-19.4.0\dlib-19.4.0\./tools/python/build
  &gt; Configuring cmake ...
  &gt; -- Building for: NMake Makefiles
  &gt; -- The C compiler identification is MSVC 19.10.25019.0
  &gt; -- The CXX compiler identification is MSVC 19.10.25019.0
  &gt; -- Check for working C compiler: C:/Program Files (x86)/Microsoft Visual
  &gt; Studio/2017/Community/VC/Tools/MSVC/14.10.25017/bin/HostX86/x86/cl.exe
  &gt; -- Check for working C compiler: C:/Program Files (x86)/Microsoft Visual
  &gt; Studio/2017/Community/VC/Tools/MSVC/14.10.25017/bin/HostX86/x86/cl.exe
  &gt; -- works
  &gt; -- Detecting C compiler ABI info
  &gt; -- Detecting C compiler ABI info - done
  &gt; -- Check for working CXX compiler: C:/Program Files (x86)/Microsoft Visual
  &gt; Studio/2017/Community/VC/Tools/MSVC/14.10.25017/bin/HostX86/x86/cl.exe
  &gt; -- Check for working CXX compiler: C:/Program Files (x86)/Microsoft Visual
  &gt; Studio/2017/Community/VC/Tools/MSVC/14.10.25017/bin/HostX86/x86/cl.exe
  &gt; -- works
  &gt; -- Detecting CXX compiler ABI info
  &gt; -- Detecting CXX compiler ABI info - done
  &gt; -- Detecting CXX compile features
  &gt; -- Detecting CXX compile features - done CMake Warning at E:/Program Files/Python27/Lib/site-packages/cmake/data/share/cmake-3.7/Modules/FindBoost.cmake:744
  &gt; (message):   Imported targets not available for Boost version 106300
  &gt; Call Stack (most recent call first):   E:/Program
  &gt; Files/Python27/Lib/site-packages/cmake/data/share/cmake-3.7/Modules/FindBoost.cmake:848
  &gt; (_Boost_COMPONENT_DEPENDENCIES)   E:/Program
  &gt; Files/Python27/Lib/site-packages/cmake/data/share/cmake-3.7/Modules/FindBoost.cmake:1435
  &gt; (_Boost_MISSING_DEPENDENCIES)   E:/Google
  &gt; Drive/Program/Python/BossComing-dev/BossComing-dev/dlib-19.4.0/dlib-19.4.0/dlib/cmake_utils/add_python_module:74
  &gt; (FIND_PACKAGE)   CMakeLists.txt:6 (include)
  &gt; -- Boost version: 1.63.0
  &gt; -- Found the following Boost libraries:
  &gt; --   python
  &gt; -- Found PythonLibs: E:/Program Files/Python27/libs/python27.lib (found suitable version "2.7.11", minimum required is "2.6")
  &gt; -- USING BOOST_LIBS: optimized;E:/Google Drive/Program/Python/BossComing-dev/BossComing-dev/boost_1_63_0/boost_1_63_0/stage/lib/libboost_python-vc140-mt-s-1_63.lib;debug;E:/Google
  &gt; Drive/Program/Python/BossComing-dev/BossComing-dev/boost_1_63_0/boost_1_63_0/stage/lib/libboost_python-vc140-mt-sgd-1_63.lib
  &gt; -- USING PYTHON_LIBS: E:/Program Files/Python27/libs/python27.lib
  &gt; -- C++11 activated.
  &gt; -- Looking for sys/types.h
  &gt; -- Looking for sys/types.h - found
  &gt; -- Looking for stdint.h
  &gt; -- Looking for stdint.h - found
  &gt; -- Looking for stddef.h
  &gt; -- Looking for stddef.h - found
  &gt; -- Check size of void*
  &gt; -- Check size of void* - done
  &gt; -- Enabling SSE4 instructions
  &gt; -- Searching for BLAS and LAPACK CMake Warning (dev) at E:/Program Files/Python27/Lib/site-packages/cmake/data/share/cmake-3.7/Modules/FindCUDA.cmake:490
  &gt; (if):   Policy CMP0054 is not set: Only interpret if() arguments as
  &gt; variables or   keywords when unquoted.  Run "cmake --help-policy
  &gt; CMP0054" for policy   details.  Use the cmake_policy command to set
  &gt; the policy and suppress this   warning.   Quoted variables like "MSVC"
  &gt; will no longer be dereferenced when the policy   is set to NEW.  Since
  &gt; the policy is not set the OLD behavior will be used. Call Stack (most
  &gt; recent call first):   E:/Google
  &gt; Drive/Program/Python/BossComing-dev/BossComing-dev/dlib-19.4.0/dlib-19.4.0/dlib/CMakeLists.txt:501
  &gt; (find_package) This warning is for project developers.  Use -Wno-dev
  &gt; to suppress it. CUDA_TOOLKIT_ROOT_DIR not found or specified
  &gt; -- Could NOT find CUDA (missing:  CUDA_TOOLKIT_ROOT_DIR CUDA_NVCC_EXECUTABLE CUDA_INCLUDE_DIRS CUDA_CUDART_LIBRARY) (Required
  &gt; is at least version "7.5")
  &gt; -- *** cuDNN V5.0 OR GREATER NOT FOUND.  DLIB WILL NOT USE CUDA. ***
  &gt; -- *** If you have cuDNN then set CMAKE_PREFIX_PATH to include cuDNN's folder.
  &gt; -- Configuring done
  &gt; -- Generating done
  &gt; -- Build files have been written to: E:/Google Drive/Program/Python/BossComing-dev/BossComing-dev/dlib-19.4.0/dlib-19.4.0/tools/python/build
  &gt; Build using cmake ... Scanning dependencies of target dlib [  0%]
  &gt; Building CXX object
  &gt; dlib_build/CMakeFiles/dlib.dir/base64/base64_kernel_1.cpp.obj
  &gt; base64_kernel_1.cpp [  1%] Building CXX object
  &gt; dlib_build/CMakeFiles/dlib.dir/bigint/bigint_kernel_1.cpp.obj
  &gt; bigint_kernel_1.cpp [  2%] Building CXX object
  &gt; dlib_build/CMakeFiles/dlib.dir/bigint/bigint_kernel_2.cpp.obj
  &gt; bigint_kernel_2.cpp [  2%] Building CXX object
  &gt; dlib_build/CMakeFiles/dlib.dir/bit_stream/bit_stream_kernel_1.cpp.obj
  &gt; bit_stream_kernel_1.cpp [  3%] Building CXX object
  &gt; dlib_build/CMakeFiles/dlib.dir/entropy_decoder/entropy_decoder_kernel_1.cpp.obj
  &gt; entropy_decoder_kernel_1.cpp [  4%] Building CXX object
  &gt; dlib_build/CMakeFiles/dlib.dir/entropy_decoder/entropy_decoder_kernel_2.cpp.obj
  &gt; entropy_decoder_kernel_2.cpp [  4%] Building CXX object
  &gt; dlib_build/CMakeFiles/dlib.dir/entropy_encoder/entropy_encoder_kernel_1.cpp.obj
  &gt; entropy_encoder_kernel_1.cpp [  5%] Building CXX object
  &gt; dlib_build/CMakeFiles/dlib.dir/entropy_encoder/entropy_encoder_kernel_2.cpp.obj
  &gt; entropy_encoder_kernel_2.cpp [  6%] Building CXX object
  &gt; dlib_build/CMakeFiles/dlib.dir/md5/md5_kernel_1.cpp.obj
  &gt; md5_kernel_1.cpp [  6%] Building CXX object
  &gt; dlib_build/CMakeFiles/dlib.dir/tokenizer/tokenizer_kernel_1.cpp.obj
  &gt; tokenizer_kernel_1.cpp [  7%] Building CXX object
  &gt; dlib_build/CMakeFiles/dlib.dir/unicode/unicode.cpp.obj unicode.cpp [ 
  &gt; 8%] Building CXX object
  &gt; dlib_build/CMakeFiles/dlib.dir/data_io/image_dataset_metadata.cpp.obj
  &gt; image_dataset_metadata.cpp [  8%] Building CXX object
  &gt; dlib_build/CMakeFiles/dlib.dir/data_io/mnist.cpp.obj mnist.cpp [  9%]
  &gt; Building CXX object
  &gt; dlib_build/CMakeFiles/dlib.dir/dnn/cpu_dlib.cpp.obj cpu_dlib.cpp
  &gt; E:\Google
  &gt; Drive\Program\Python\BossComing-dev\BossComing-dev\dlib-19.4.0\dlib-19.4.0\dlib\dnn\cpu_dlib.cpp(1643):
  &gt; warning C4018: '&lt;': signed/unsigned mismatch [ 10%] Building CXX
  &gt; object dlib_build/CMakeFiles/dlib.dir/dnn/tensor_tools.cpp.obj
  &gt; tensor_tools.cpp [ 10%] Building CXX object
  &gt; dlib_build/CMakeFiles/dlib.dir/sockets/sockets_kernel_1.cpp.obj
  &gt; sockets_kernel_1.cpp [ 11%] Building CXX object
  &gt; dlib_build/CMakeFiles/dlib.dir/bsp/bsp.cpp.obj bsp.cpp [ 12%] Building
  &gt; CXX object
  &gt; dlib_build/CMakeFiles/dlib.dir/dir_nav/dir_nav_kernel_1.cpp.obj
  &gt; dir_nav_kernel_1.cpp [ 12%] Building CXX object
  &gt; dlib_build/CMakeFiles/dlib.dir/dir_nav/dir_nav_kernel_2.cpp.obj
  &gt; dir_nav_kernel_2.cpp [ 13%] Building CXX object
  &gt; dlib_build/CMakeFiles/dlib.dir/dir_nav/dir_nav_extensions.cpp.obj
  &gt; dir_nav_extensions.cpp [ 14%] Building CXX object
  &gt; dlib_build/CMakeFiles/dlib.dir/linker/linker_kernel_1.cpp.obj
  &gt; linker_kernel_1.cpp [ 14%] Building CXX object
  &gt; dlib_build/CMakeFiles/dlib.dir/logger/extra_logger_headers.cpp.obj
  &gt; extra_logger_headers.cpp [ 15%] Building CXX object
  &gt; dlib_build/CMakeFiles/dlib.dir/logger/logger_kernel_1.cpp.obj
  &gt; logger_kernel_1.cpp [ 16%] Building CXX object
  &gt; dlib_build/CMakeFiles/dlib.dir/logger/logger_config_file.cpp.obj
  &gt; logger_config_file.cpp [ 16%] Building CXX object
  &gt; dlib_build/CMakeFiles/dlib.dir/misc_api/misc_api_kernel_1.cpp.obj
  &gt; misc_api_kernel_1.cpp [ 17%] Building CXX object
  &gt; dlib_build/CMakeFiles/dlib.dir/misc_api/misc_api_kernel_2.cpp.obj
  &gt; misc_api_kernel_2.cpp [ 18%] Building CXX object
  &gt; dlib_build/CMakeFiles/dlib.dir/sockets/sockets_extensions.cpp.obj
  &gt; sockets_extensions.cpp [ 18%] Building CXX object
  &gt; dlib_build/CMakeFiles/dlib.dir/sockets/sockets_kernel_2.cpp.obj
  &gt; sockets_kernel_2.cpp [ 19%] Building CXX object
  &gt; dlib_build/CMakeFiles/dlib.dir/sockstreambuf/sockstreambuf.cpp.obj
  &gt; sockstreambuf.cpp [ 20%] Building CXX object
  &gt; dlib_build/CMakeFiles/dlib.dir/sockstreambuf/sockstreambuf_unbuffered.cpp.obj
  &gt; sockstreambuf_unbuffered.cpp [ 20%] Building CXX object
  &gt; dlib_build/CMakeFiles/dlib.dir/server/server_kernel.cpp.obj
  &gt; server_kernel.cpp [ 21%] Building CXX object
  &gt; dlib_build/CMakeFiles/dlib.dir/server/server_iostream.cpp.obj
  &gt; server_iostream.cpp [ 22%] Building CXX object
  &gt; dlib_build/CMakeFiles/dlib.dir/server/server_http.cpp.obj
  &gt; server_http.cpp [ 22%] Building CXX object
  &gt; dlib_build/CMakeFiles/dlib.dir/threads/multithreaded_object_extension.cpp.obj
  &gt; multithreaded_object_extension.cpp [ 23%] Building CXX object
  &gt; dlib_build/CMakeFiles/dlib.dir/threads/threaded_object_extension.cpp.obj
  &gt; threaded_object_extension.cpp [ 24%] Building CXX object
  &gt; dlib_build/CMakeFiles/dlib.dir/threads/threads_kernel_1.cpp.obj
  &gt; threads_kernel_1.cpp [ 25%] Building CXX object
  &gt; dlib_build/CMakeFiles/dlib.dir/threads/threads_kernel_2.cpp.obj
  &gt; threads_kernel_2.cpp [ 25%] Building CXX object
  &gt; dlib_build/CMakeFiles/dlib.dir/threads/threads_kernel_shared.cpp.obj
  &gt; threads_kernel_shared.cpp [ 26%] Building CXX object
  &gt; dlib_build/CMakeFiles/dlib.dir/threads/thread_pool_extension.cpp.obj
  &gt; thread_pool_extension.cpp [ 27%] Building CXX object
  &gt; dlib_build/CMakeFiles/dlib.dir/threads/async.cpp.obj async.cpp [ 27%]
  &gt; Building CXX object dlib_build/CMakeFiles/dlib.dir/timer/timer.cpp.obj
  &gt; timer.cpp [ 28%] Building CXX object
  &gt; dlib_build/CMakeFiles/dlib.dir/stack_trace.cpp.obj stack_trace.cpp [
  &gt; 29%] Building CXX object
  &gt; dlib_build/CMakeFiles/dlib.dir/gui_widgets/fonts.cpp.obj fonts.cpp [
  &gt; 29%] Building CXX object
  &gt; dlib_build/CMakeFiles/dlib.dir/gui_widgets/widgets.cpp.obj widgets.cpp
  &gt; [ 30%] Building CXX object
  &gt; dlib_build/CMakeFiles/dlib.dir/gui_widgets/drawable.cpp.obj
  &gt; drawable.cpp [ 31%] Building CXX object
  &gt; dlib_build/CMakeFiles/dlib.dir/gui_widgets/canvas_drawing.cpp.obj
  &gt; canvas_drawing.cpp [ 31%] Building CXX object
  &gt; dlib_build/CMakeFiles/dlib.dir/gui_widgets/style.cpp.obj style.cpp [
  &gt; 32%] Building CXX object
  &gt; dlib_build/CMakeFiles/dlib.dir/gui_widgets/base_widgets.cpp.obj
  &gt; base_widgets.cpp [ 33%] Building CXX object
  &gt; dlib_build/CMakeFiles/dlib.dir/gui_core/gui_core_kernel_1.cpp.obj
  &gt; gui_core_kernel_1.cpp [ 33%] Building CXX object
  &gt; dlib_build/CMakeFiles/dlib.dir/gui_core/gui_core_kernel_2.cpp.obj
  &gt; gui_core_kernel_2.cpp [ 34%] Building C object
  &gt; dlib_build/CMakeFiles/dlib.dir/external/libpng/png.c.obj png.c [ 35%]
  &gt; Building C object
  &gt; dlib_build/CMakeFiles/dlib.dir/external/libpng/pngerror.c.obj
  &gt; pngerror.c [ 35%] Building C object
  &gt; dlib_build/CMakeFiles/dlib.dir/external/libpng/pngget.c.obj pngget.c [
  &gt; 36%] Building C object
  &gt; dlib_build/CMakeFiles/dlib.dir/external/libpng/pngmem.c.obj pngmem.c [
  &gt; 37%] Building C object
  &gt; dlib_build/CMakeFiles/dlib.dir/external/libpng/pngpread.c.obj
  &gt; pngpread.c [ 37%] Building C object
  &gt; dlib_build/CMakeFiles/dlib.dir/external/libpng/pngread.c.obj pngread.c
  &gt; [ 38%] Building C object
  &gt; dlib_build/CMakeFiles/dlib.dir/external/libpng/pngrio.c.obj pngrio.c [
  &gt; 39%] Building C object
  &gt; dlib_build/CMakeFiles/dlib.dir/external/libpng/pngrtran.c.obj
  &gt; pngrtran.c [ 39%] Building C object
  &gt; dlib_build/CMakeFiles/dlib.dir/external/libpng/pngrutil.c.obj
  &gt; pngrutil.c [ 40%] Building C object
  &gt; dlib_build/CMakeFiles/dlib.dir/external/libpng/pngset.c.obj pngset.c [
  &gt; 41%] Building C object
  &gt; dlib_build/CMakeFiles/dlib.dir/external/libpng/pngtrans.c.obj
  &gt; pngtrans.c [ 41%] Building C object
  &gt; dlib_build/CMakeFiles/dlib.dir/external/libpng/pngwio.c.obj pngwio.c [
  &gt; 42%] Building C object
  &gt; dlib_build/CMakeFiles/dlib.dir/external/libpng/pngwrite.c.obj
  &gt; pngwrite.c [ 43%] Building C object
  &gt; dlib_build/CMakeFiles/dlib.dir/external/libpng/pngwtran.c.obj
  &gt; pngwtran.c [ 43%] Building C object
  &gt; dlib_build/CMakeFiles/dlib.dir/external/libpng/pngwutil.c.obj
  &gt; pngwutil.c [ 44%] Building C object
  &gt; dlib_build/CMakeFiles/dlib.dir/external/zlib/adler32.c.obj adler32.c [
  &gt; 45%] Building C object
  &gt; dlib_build/CMakeFiles/dlib.dir/external/zlib/compress.c.obj compress.c
  &gt; [ 45%] Building C object
  &gt; dlib_build/CMakeFiles/dlib.dir/external/zlib/crc32.c.obj crc32.c [
  &gt; 46%] Building C object
  &gt; dlib_build/CMakeFiles/dlib.dir/external/zlib/deflate.c.obj deflate.c [
  &gt; 47%] Building C object
  &gt; dlib_build/CMakeFiles/dlib.dir/external/zlib/gzclose.c.obj gzclose.c [
  &gt; 47%] Building C object
  &gt; dlib_build/CMakeFiles/dlib.dir/external/zlib/gzlib.c.obj gzlib.c [
  &gt; 48%] Building C object
  &gt; dlib_build/CMakeFiles/dlib.dir/external/zlib/gzread.c.obj gzread.c [
  &gt; 49%] Building C object
  &gt; dlib_build/CMakeFiles/dlib.dir/external/zlib/gzwrite.c.obj gzwrite.c [
  &gt; 50%] Building C object
  &gt; dlib_build/CMakeFiles/dlib.dir/external/zlib/infback.c.obj infback.c [
  &gt; 50%] Building C object
  &gt; dlib_build/CMakeFiles/dlib.dir/external/zlib/inffast.c.obj inffast.c [
  &gt; 51%] Building C object
  &gt; dlib_build/CMakeFiles/dlib.dir/external/zlib/inflate.c.obj inflate.c [
  &gt; 52%] Building C object
  &gt; dlib_build/CMakeFiles/dlib.dir/external/zlib/inftrees.c.obj inftrees.c
  &gt; [ 52%] Building C object
  &gt; dlib_build/CMakeFiles/dlib.dir/external/zlib/trees.c.obj trees.c [
  &gt; 53%] Building C object
  &gt; dlib_build/CMakeFiles/dlib.dir/external/zlib/uncompr.c.obj uncompr.c [
  &gt; 54%] Building C object
  &gt; dlib_build/CMakeFiles/dlib.dir/external/zlib/zutil.c.obj zutil.c [
  &gt; 54%] Building CXX object
  &gt; dlib_build/CMakeFiles/dlib.dir/image_loader/png_loader.cpp.obj
  &gt; png_loader.cpp [ 55%] Building CXX object
  &gt; dlib_build/CMakeFiles/dlib.dir/image_saver/save_png.cpp.obj
  &gt; save_png.cpp [ 56%] Building CXX object
  &gt; dlib_build/CMakeFiles/dlib.dir/external/libjpeg/jcomapi.cpp.obj
  &gt; jcomapi.cpp [ 56%] Building CXX object
  &gt; dlib_build/CMakeFiles/dlib.dir/external/libjpeg/jdapimin.cpp.obj
  &gt; jdapimin.cpp [ 57%] Building CXX object
  &gt; dlib_build/CMakeFiles/dlib.dir/external/libjpeg/jdapistd.cpp.obj
  &gt; jdapistd.cpp [ 58%] Building CXX object
  &gt; dlib_build/CMakeFiles/dlib.dir/external/libjpeg/jdatasrc.cpp.obj
  &gt; jdatasrc.cpp [ 58%] Building CXX object
  &gt; dlib_build/CMakeFiles/dlib.dir/external/libjpeg/jdcoefct.cpp.obj
  &gt; jdcoefct.cpp [ 59%] Building CXX object
  &gt; dlib_build/CMakeFiles/dlib.dir/external/libjpeg/jdcolor.cpp.obj
  &gt; jdcolor.cpp [ 60%] Building CXX object
  &gt; dlib_build/CMakeFiles/dlib.dir/external/libjpeg/jddctmgr.cpp.obj
  &gt; jddctmgr.cpp [ 60%] Building CXX object
  &gt; dlib_build/CMakeFiles/dlib.dir/external/libjpeg/jdhuff.cpp.obj
  &gt; jdhuff.cpp [ 61%] Building CXX object
  &gt; dlib_build/CMakeFiles/dlib.dir/external/libjpeg/jdinput.cpp.obj
  &gt; jdinput.cpp [ 62%] Building CXX object
  &gt; dlib_build/CMakeFiles/dlib.dir/external/libjpeg/jdmainct.cpp.obj
  &gt; jdmainct.cpp [ 62%] Building CXX object
  &gt; dlib_build/CMakeFiles/dlib.dir/external/libjpeg/jdmarker.cpp.obj
  &gt; jdmarker.cpp [ 63%] Building CXX object
  &gt; dlib_build/CMakeFiles/dlib.dir/external/libjpeg/jdmaster.cpp.obj
  &gt; jdmaster.cpp [ 64%] Building CXX object
  &gt; dlib_build/CMakeFiles/dlib.dir/external/libjpeg/jdmerge.cpp.obj
  &gt; jdmerge.cpp [ 64%] Building CXX object
  &gt; dlib_build/CMakeFiles/dlib.dir/external/libjpeg/jdphuff.cpp.obj
  &gt; jdphuff.cpp [ 65%] Building CXX object
  &gt; dlib_build/CMakeFiles/dlib.dir/external/libjpeg/jdpostct.cpp.obj
  &gt; jdpostct.cpp [ 66%] Building CXX object
  &gt; dlib_build/CMakeFiles/dlib.dir/external/libjpeg/jdsample.cpp.obj
  &gt; jdsample.cpp [ 66%] Building CXX object
  &gt; dlib_build/CMakeFiles/dlib.dir/external/libjpeg/jerror.cpp.obj
  &gt; jerror.cpp [ 67%] Building CXX object
  &gt; dlib_build/CMakeFiles/dlib.dir/external/libjpeg/jidctflt.cpp.obj
  &gt; jidctflt.cpp [ 68%] Building CXX object
  &gt; dlib_build/CMakeFiles/dlib.dir/external/libjpeg/jidctfst.cpp.obj
  &gt; jidctfst.cpp [ 68%] Building CXX object
  &gt; dlib_build/CMakeFiles/dlib.dir/external/libjpeg/jidctint.cpp.obj
  &gt; jidctint.cpp [ 69%] Building CXX object
  &gt; dlib_build/CMakeFiles/dlib.dir/external/libjpeg/jidctred.cpp.obj
  &gt; jidctred.cpp [ 70%] Building CXX object
  &gt; dlib_build/CMakeFiles/dlib.dir/external/libjpeg/jmemmgr.cpp.obj
  &gt; jmemmgr.cpp [ 70%] Building CXX object
  &gt; dlib_build/CMakeFiles/dlib.dir/external/libjpeg/jmemnobs.cpp.obj
  &gt; jmemnobs.cpp [ 71%] Building CXX object
  &gt; dlib_build/CMakeFiles/dlib.dir/external/libjpeg/jquant1.cpp.obj
  &gt; jquant1.cpp [ 72%] Building CXX object
  &gt; dlib_build/CMakeFiles/dlib.dir/external/libjpeg/jquant2.cpp.obj
  &gt; jquant2.cpp [ 72%] Building CXX object
  &gt; dlib_build/CMakeFiles/dlib.dir/external/libjpeg/jutils.cpp.obj
  &gt; jutils.cpp [ 73%] Building CXX object
  &gt; dlib_build/CMakeFiles/dlib.dir/external/libjpeg/jcapimin.cpp.obj
  &gt; jcapimin.cpp [ 74%] Building CXX object
  &gt; dlib_build/CMakeFiles/dlib.dir/external/libjpeg/jdatadst.cpp.obj [
  &gt; 75%] Building CXX object
  &gt; dlib_build/CMakeFiles/dlib.dir/external/libjpeg/jcparam.cpp.obj
  &gt; jcparam.cpp [ 75%] Building CXX object
  &gt; dlib_build/CMakeFiles/dlib.dir/external/libjpeg/jcapistd.cpp.obj
  &gt; jcapistd.cpp [ 76%] Building CXX object
  &gt; dlib_build/CMakeFiles/dlib.dir/external/libjpeg/jcmarker.cpp.obj
  &gt; jcmarker.cpp [ 77%] Building CXX object
  &gt; dlib_build/CMakeFiles/dlib.dir/external/libjpeg/jcinit.cpp.obj
  &gt; jcinit.cpp [ 77%] Building CXX object
  &gt; dlib_build/CMakeFiles/dlib.dir/external/libjpeg/jcmaster.cpp.obj
  &gt; jcmaster.cpp [ 78%] Building CXX object
  &gt; dlib_build/CMakeFiles/dlib.dir/external/libjpeg/jcdctmgr.cpp.obj
  &gt; jcdctmgr.cpp [ 79%] Building CXX object
  &gt; dlib_build/CMakeFiles/dlib.dir/external/libjpeg/jccoefct.cpp.obj
  &gt; jccoefct.cpp [ 79%] Building CXX object
  &gt; dlib_build/CMakeFiles/dlib.dir/external/libjpeg/jccolor.cpp.obj
  &gt; jccolor.cpp [ 80%] Building CXX object
  &gt; dlib_build/CMakeFiles/dlib.dir/external/libjpeg/jchuff.cpp.obj
  &gt; jchuff.cpp [ 81%] Building CXX object
  &gt; dlib_build/CMakeFiles/dlib.dir/external/libjpeg/jcmainct.cpp.obj
  &gt; jcmainct.cpp [ 81%] Building CXX object
  &gt; dlib_build/CMakeFiles/dlib.dir/external/libjpeg/jcphuff.cpp.obj
  &gt; jcphuff.cpp [ 82%] Building CXX object
  &gt; dlib_build/CMakeFiles/dlib.dir/external/libjpeg/jcprepct.cpp.obj
  &gt; jcprepct.cpp [ 83%] Building CXX object
  &gt; dlib_build/CMakeFiles/dlib.dir/external/libjpeg/jcsample.cpp.obj
  &gt; jcsample.cpp [ 83%] Building CXX object
  &gt; dlib_build/CMakeFiles/dlib.dir/external/libjpeg/jfdctint.cpp.obj
  &gt; jfdctint.cpp [ 84%] Building CXX object
  &gt; dlib_build/CMakeFiles/dlib.dir/external/libjpeg/jfdctflt.cpp.obj
  &gt; jfdctflt.cpp [ 85%] Building CXX object
  &gt; dlib_build/CMakeFiles/dlib.dir/external/libjpeg/jfdctfst.cpp.obj
  &gt; jfdctfst.cpp [ 85%] Building CXX object
  &gt; dlib_build/CMakeFiles/dlib.dir/image_loader/jpeg_loader.cpp.obj
  &gt; jpeg_loader.cpp [ 86%] Building CXX object
  &gt; dlib_build/CMakeFiles/dlib.dir/image_saver/save_jpeg.cpp.obj
  &gt; save_jpeg.cpp [ 87%] Linking CXX static library dlib.lib [ 87%] Built
  &gt; target dlib Scanning dependencies of target dlib_ [ 87%] Building CXX
  &gt; object CMakeFiles/dlib_.dir/src/dlib.cpp.obj dlib.cpp [ 88%] Building
  &gt; CXX object CMakeFiles/dlib_.dir/src/matrix.cpp.obj matrix.cpp [ 89%]
  &gt; Building CXX object CMakeFiles/dlib_.dir/src/vector.cpp.obj vector.cpp
  &gt; [ 89%] Building CXX object
  &gt; CMakeFiles/dlib_.dir/src/svm_c_trainer.cpp.obj svm_c_trainer.cpp [
  &gt; 90%] Building CXX object
  &gt; CMakeFiles/dlib_.dir/src/svm_rank_trainer.cpp.obj svm_rank_trainer.cpp
  &gt; [ 91%] Building CXX object
  &gt; CMakeFiles/dlib_.dir/src/decision_functions.cpp.obj
  &gt; decision_functions.cpp [ 91%] Building CXX object
  &gt; CMakeFiles/dlib_.dir/src/other.cpp.obj other.cpp [ 92%] Building CXX
  &gt; object CMakeFiles/dlib_.dir/src/basic.cpp.obj basic.cpp [ 93%]
  &gt; Building CXX object CMakeFiles/dlib_.dir/src/cca.cpp.obj cca.cpp [
  &gt; 93%] Building CXX object
  &gt; CMakeFiles/dlib_.dir/src/sequence_segmenter.cpp.obj
  &gt; sequence_segmenter.cpp [ 94%] Building CXX object
  &gt; CMakeFiles/dlib_.dir/src/svm_struct.cpp.obj svm_struct.cpp [ 95%]
  &gt; Building CXX object CMakeFiles/dlib_.dir/src/image.cpp.obj image.cpp [
  &gt; 95%] Building CXX object CMakeFiles/dlib_.dir/src/rectangles.cpp.obj
  &gt; rectangles.cpp [ 96%] Building CXX object
  &gt; CMakeFiles/dlib_.dir/src/object_detection.cpp.obj object_detection.cpp
  &gt; e:\google
  &gt; drive\program\python\bosscoming-dev\bosscoming-dev\dlib-19.4.0\dlib-19.4.0\dlib\image_transforms/morphological_operations.h:
  &gt; warning C4819: The file contains a character that cannot be
  &gt; represented in the current code page (936). Save the file in Unicode
  &gt; format to prevent data loss [ 97%] Building CXX object
  &gt; CMakeFiles/dlib_.dir/src/shape_predictor.cpp.obj shape_predictor.cpp
  &gt; e:\google
  &gt; drive\program\python\bosscoming-dev\bosscoming-dev\dlib-19.4.0\dlib-19.4.0\dlib\image_transforms/morphological_operations.h:
  &gt; warning C4819: The file contains a character that cannot be
  &gt; represented in the current code page (936). Save the file in Unicode
  &gt; format to prevent data loss [ 97%] Building CXX object
  &gt; CMakeFiles/dlib_.dir/src/correlation_tracker.cpp.obj
  &gt; correlation_tracker.cpp e:\google
  &gt; drive\program\python\bosscoming-dev\bosscoming-dev\dlib-19.4.0\dlib-19.4.0\dlib\image_transforms/morphological_operations.h:
  &gt; warning C4819: The file contains a character that cannot be
  &gt; represented in the current code page (936). Save the file in Unicode
  &gt; format to prevent data loss [ 98%] Building CXX object
  &gt; CMakeFiles/dlib_.dir/src/face_recognition.cpp.obj face_recognition.cpp
  &gt; e:\google
  &gt; drive\program\python\bosscoming-dev\bosscoming-dev\dlib-19.4.0\dlib-19.4.0\dlib\image_transforms/morphological_operations.h:
  &gt; warning C4819: The file contains a character that cannot be
  &gt; represented in the current code page (936). Save the file in Unicode
  &gt; format to prevent data loss interrupted
  </code></pre>
  
  <p>I've waited for over an hour but it stopped at 98%. I've tried different versions of dlib (19.4.0,19.4.1) and got the same error. Could someone help me?
  Thanks!</p>