Trying to compile dlib with CUDA support for python on Windows using CMake. I was able to generate the build files in CMake without error and saw "Enabling CUDA support for dlib. DLIB WILL USE CUDA, compute capabilities: 50" in the CMake output log so I know it worked at least up to this point. When I run the "python setup.py install" command to install the python library, I get a long list of errors that I haven't been able to find a solution for online.
Current Behavior
Here is the output from running the setup.py script:
D:\DLib\dlib-master>python setup.py install
D:\DLib\dlib-master\setup.py:39: DeprecationWarning: The distutils package is deprecated and slated for removal in Python 3.12. Use setuptools or check PEP 632 for potential alternatives
from distutils import log
running install
running bdist_egg
running egg_info
creating tools\python\dlib.egg-info
writing tools/python\dlib.egg-info\PKG-INFO
writing dependency_links to tools/python\dlib.egg-info\dependency_links.txt
writing top-level names to tools/python\dlib.egg-info\top_level.txt
writing manifest file 'tools/python\dlib.egg-info\SOURCES.txt'
package init file 'tools\python\dlib__init__.py' not found (or not a regular file)
reading manifest file 'tools/python\dlib.egg-info\SOURCES.txt'
reading manifest template 'MANIFEST.in'
no previously-included directories found matching 'tools\python\build'
no previously-included directories found matching 'dlib\cmake_utils*\build'
warning: no previously-included files matching '.pyc' found anywhere in distribution
adding license file 'LICENSE.txt'
writing manifest file 'tools/python\dlib.egg-info\SOURCES.txt'
installing library code to build\bdist.win-amd64\egg
running install_lib
running build_py
running build_ext
Building extension for Python 3.10.0 (tags/v3.10.0:b494f59, Oct 4 2021, 19:00:18) [MSC v.1929 64 bit (AMD64)]
Invoking CMake setup: 'cmake D:\DLib\dlib-master\tools\python -DCMAKE_LIBRARY_OUTPUT_DIRECTORY=D:\DLib\dlib-master\build\lib.win-amd64-3.10 -DPYTHON_EXECUTABLE=C:\Users\Human Systems Lab\AppData\Local\Programs\Python\Python310\python.exe -DCMAKE_LIBRARY_OUTPUT_DIRECTORY_RELEASE=D:\DLib\dlib-master\build\lib.win-amd64-3.10 -A x64'
-- Building for: Visual Studio 16 2019
-- Selecting Windows SDK version 10.0.19041.0 to target Windows 10.0.19042.
-- The C compiler identification is MSVC 19.29.30137.0
-- The CXX compiler identification is MSVC 19.29.30137.0
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working C compiler: D:/Visual Studio 2019/Visual Studio/VC/Tools/MSVC/14.29.30133/bin/Hostx64/x64/cl.exe - skipped
-- Detecting C compile features
-- Detecting C compile features - done
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Check for working CXX compiler: D:/Visual Studio 2019/Visual Studio/VC/Tools/MSVC/14.29.30133/bin/Hostx64/x64/cl.exe - skipped
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Found PythonInterp: C:/Users/Human Systems Lab/AppData/Local/Programs/Python/Python310/python.exe (found version "3.10")
-- Found PythonLibs: C:/Users/Human Systems Lab/AppData/Local/Programs/Python/Python310/libs/Python310.lib
-- pybind11 v2.2.4
-- Using CMake version: 3.22.0
-- Compiling dlib version: 19.22.99
-- SSE4 instructions can be executed by the host processor.
-- AVX instructions can be executed by the host processor.
-- Looking for sys/types.h
-- Looking for sys/types.h - found
-- Looking for stdint.h
-- Looking for stdint.h - found
-- Looking for stddef.h
-- Looking for stddef.h - found
-- Check size of void
-- Check size of void* - done
-- Enabling AVX instructions
-- Searching for BLAS and LAPACK
-- Searching for BLAS and LAPACK
-- Looking for pthread.h
-- Looking for pthread.h - not found
-- Found Threads: TRUE
-- Found CUDA: C:/Program Files/NVIDIA GPU Computing Toolkit/CUDA/v11.5 (found suitable version "11.5", minimum required is "7.5")
-- Looking for cuDNN install...
-- Found cuDNN: C:/Program Files/NVIDIA GPU Computing Toolkit/CUDA/v11.5/lib/cudnn.lib
-- Building a CUDA test project to see if your compiler is compatible with CUDA...
-- Building a cuDNN test project to check if you have the right version of cuDNN installed...
-- Enabling CUDA support for dlib. DLIB WILL USE CUDA, compute capabilities: 50
-- C++11 activated.
-- Configuring done
-- Generating done
-- Build files have been written to: D:/DLib/dlib-master/build/temp.win-amd64-3.10/Release
Invoking CMake build: 'cmake --build . --config Release -- /m'
Microsoft (R) Build Engine version 16.11.2+f32259642 for .NET Framework
Copyright (C) Microsoft Corporation. All rights reserved.
Checking Build System
Building NVCC (Device) object dlib_build/CMakeFiles/dlib.dir/cuda/Release/dlib_generated_cuda_dlib.cu.obj
cuda_dlib.cu
CUSTOMBUILD : nvcc warning : The 'compute_35', 'compute_37', 'compute_50', 'sm_35', 'sm_37' and 'sm_50' architectures a
re deprecated, and may be removed in a future release (Use -Wno-deprecated-gpu-targets to suppress warning). [D:\DLib\d
lib-master\build\temp.win-amd64-3.10\Release\dlib_build\dlib.vcxproj]
CUSTOMBUILD : nvcc warning : The 'compute_35', 'compute_37', 'compute_50', 'sm_35', 'sm_37' and 'sm_50' architectures a
re deprecated, and may be removed in a future release (Use -Wno-deprecated-gpu-targets to suppress warning). [D:\DLib\d
lib-master\build\temp.win-amd64-3.10\Release\dlib_build\dlib.vcxproj]
cuda_dlib.cu
Building NVCC (Device) object dlib_build/CMakeFiles/dlib.dir/cuda/Release/dlib_generated_cusolver_dlibapi.cu.obj
cusolver_dlibapi.cu
CUSTOMBUILD : nvcc warning : The 'compute_35', 'compute_37', 'compute_50', 'sm_35', 'sm_37' and 'sm_50' architectures a
re deprecated, and may be removed in a future release (Use -Wno-deprecated-gpu-targets to suppress warning). [D:\DLib\d
lib-master\build\temp.win-amd64-3.10\Release\dlib_build\dlib.vcxproj]
CUSTOMBUILD : nvcc warning : The 'compute_35', 'compute_37', 'compute_50', 'sm_35', 'sm_37' and 'sm_50' architectures a
re deprecated, and may be removed in a future release (Use -Wno-deprecated-gpu-targets to suppress warning). [D:\DLib\d
lib-master\build\temp.win-amd64-3.10\Release\dlib_build\dlib.vcxproj]
cusolver_dlibapi.cu
Building Custom Rule D:/DLib/dlib-master/dlib/CMakeLists.txt
CMake is re-running because D:/DLib/dlib-master/build/temp.win-amd64-3.10/Release/dlib_build/CMakeFiles/generate.stam
p is out-of-date.
the file 'D:/DLib/dlib-master/build/temp.win-amd64-3.10/Release/dlib_build/CMakeFiles/dlib.dir/cuda/dlibgenerated
cuda_dlib.cu.obj.depend'
is newer than 'D:/DLib/dlib-master/build/temp.win-amd64-3.10/Release/dlib_build/CMakeFiles/generate.stamp.depend'
result='-1'
-- Selecting Windows SDK version 10.0.19041.0 to target Windows 10.0.19042.
-- pybind11 v2.2.4
-- Using CMake version: 3.22.0
-- Compiling dlib version: 19.22.99
-- SSE4 instructions can be executed by the host processor.
-- AVX instructions can be executed by the host processor.
-- Enabling AVX instructions
-- Looking for cuDNN install...
-- Found cuDNN: C:/Program Files/NVIDIA GPU Computing Toolkit/CUDA/v11.5/lib/cudnn.lib
-- Enabling CUDA support for dlib. DLIB WILL USE CUDA, compute capabilities: 50
-- C++11 activated.
-- Configuring done
-- Generating done
-- Build files have been written to: D:/DLib/dlib-master/build/temp.win-amd64-3.10/Release
base64_kernel_1.cpp
bigint_kernel_1.cpp
bigint_kernel_2.cpp
bit_stream_kernel_1.cpp
entropy_decoder_kernel_1.cpp
entropy_decoder_kernel_2.cpp
entropy_encoder_kernel_1.cpp
entropy_encoder_kernel_2.cpp
md5_kernel_1.cpp
tokenizer_kernel_1.cpp
unicode.cpp
test_for_odr_violations.cpp
sockets_kernel_1.cpp
bsp.cpp
dir_nav_kernel_1.cpp
dir_nav_kernel_2.cpp
dir_nav_extensions.cpp
fonts.cpp
linker_kernel_1.cpp
extra_logger_headers.cpp
logger_kernel_1.cpp
logger_config_file.cpp
misc_api_kernel_1.cpp
misc_api_kernel_2.cpp
sockets_extensions.cpp
sockets_kernel_2.cpp
sockstreambuf.cpp
sockstreambuf_unbuffered.cpp
server_kernel.cpp
server_iostream.cpp
server_http.cpp
multithreaded_object_extension.cpp
threaded_object_extension.cpp
threads_kernel_1.cpp
threads_kernel_2.cpp
threads_kernel_shared.cpp
thread_pool_extension.cpp
async.cpp
timer.cpp
stack_trace.cpp
cpu_dlib.cpp
tensor_tools.cpp
image_dataset_metadata.cpp
mnist.cpp
cifar.cpp
global_function_search.cpp
kalman_filter.cpp
auto.cpp
widgets.cpp
drawable.cpp
canvas_drawing.cpp
style.cpp
base_widgets.cpp
gui_core_kernel_1.cpp
gui_core_kernel_2.cpp
png_loader.cpp
save_png.cpp
jpeg_loader.cpp
save_jpeg.cpp
cudnn_dlibapi.cpp
cublas_dlibapi.cpp
curand_dlibapi.cpp
cuda_data_ptr.cpp
gpu_data.cpp
arm_init.c
filter_neon_intrinsics.c
png.c
pngerror.c
pngget.c
pngmem.c
pngpread.c
pngread.c
pngrio.c
pngrtran.c
pngrutil.c
pngset.c
pngtrans.c
pngwio.c
pngwrite.c
pngwtran.c
pngwutil.c
adler32.c
compress.c
crc32.c
deflate.c
gzclose.c
gzlib.c
gzread.c
gzwrite.c
infback.c
inffast.c
inflate.c
D:\DLib\dlib-master\dlib\external\zlib\gzread.c(319,20): warning C4267: '=': conversion from 'size_t' to 'unsigned int'
, possible loss of data [D:\DLib\dlib-master\build\temp.win-amd64-3.10\Release\dlib_build\dlib.vcxproj]
D:\DLib\dlib-master\dlib\external\zlib\gzread.c(400,35): warning C4267: '=': conversion from 'size_t' to 'unsigned int'
, possible loss of data [D:\DLib\dlib-master\build\temp.win-amd64-3.10\Release\dlib_build\dlib.vcxproj]
D:\DLib\dlib-master\dlib\external\zlib\gzread.c(472,33): warning C4267: '=': conversion from 'size_t' to 'int', possibl
e loss of data [D:\DLib\dlib-master\build\temp.win-amd64-3.10\Release\dlib_build\dlib.vcxproj]
inftrees.c
D:\DLib\dlib-master\dlib\external\zlib\gzwrite.c(212,27): warning C4267: '=': conversion from 'size_t' to 'unsigned int
', possible loss of data [D:\DLib\dlib-master\build\temp.win-amd64-3.10\Release\dlib_build\dlib.vcxproj]
D:\DLib\dlib-master\dlib\external\zlib\gzwrite.c(232,24): warning C4267: '=': conversion from 'size_t' to 'unsigned int
', possible loss of data [D:\DLib\dlib-master\build\temp.win-amd64-3.10\Release\dlib_build\dlib.vcxproj]
D:\DLib\dlib-master\dlib\external\zlib\gzwrite.c(371,36): warning C4267: '=': conversion from 'size_t' to 'int', possib
le loss of data [D:\DLib\dlib-master\build\temp.win-amd64-3.10\Release\dlib_build\dlib.vcxproj]
trees.c
uncompr.c
zutil.c
jaricom.c
jcapimin.c
jcapistd.c
jcarith.c
jccoefct.c
jccolor.c
jcdctmgr.c
jchuff.c
jcinit.c
jcmainct.c
jcmarker.c
jcmaster.c
jcomapi.c
jcparam.c
jcprepct.c
jcsample.c
jdapimin.c
jdapistd.c
jdarith.c
jdatadst.c
jdatasrc.c
jdcoefct.c
jdcolor.c
jddctmgr.c
jdhuff.c
D:\DLib\dlib-master\dlib\external\libjpeg\jdatadst.c(185,60): warning C4267: '=': conversion from 'size_t' to 'unsigned
long', possible loss of data [D:\DLib\dlib-master\build\temp.win-amd64-3.10\Release\dlib_build\dlib.vcxproj]
jdinput.c
jdmainct.c
jdmarker.c
jdmaster.c
jdmerge.c
jdpostct.c
jdsample.c
jerror.c
jfdctflt.c
jfdctfst.c
jfdctint.c
jidctflt.c
jidctfst.c
jidctint.c
jmemmgr.c
jmemnobs.c
jquant1.c
jquant2.c
jutils.c
D:\DLib\dlib-master\dlib\external\libjpeg\jerror.c(193,5): warning C4996: 'sprintf': This function or variable may be u
nsafe. Consider using sprintf_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for detai
ls. [D:\DLib\dlib-master\build\temp.win-amd64-3.10\Release\dlib_build\dlib.vcxproj]
D:\DLib\dlib-master\dlib\external\libjpeg\jerror.c(195,5): warning C4996: 'sprintf': This function or variable may be u
nsafe. Consider using sprintf_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for detai
ls. [D:\DLib\dlib-master\build\temp.win-amd64-3.10\Release\dlib_build\dlib.vcxproj]
D:\DLib\dlib-master\dlib\external\libjpeg\jmemmgr.c(307,53): warning C4267: '+=': conversion from 'size_t' to 'long', p
ossible loss of data [D:\DLib\dlib-master\build\temp.win-amd64-3.10\Release\dlib_build\dlib.vcxproj]
D:\DLib\dlib-master\dlib\external\libjpeg\jmemmgr.c(367,70): warning C4267: '+=': conversion from 'size_t' to 'long', p
ossible loss of data [D:\DLib\dlib-master\build\temp.win-amd64-3.10\Release\dlib_build\dlib.vcxproj]
D:\DLib\dlib-master\dlib\external\libjpeg\jmemmgr.c(977,46): warning C4267: '-=': conversion from 'size_t' to 'long', p
ossible loss of data [D:\DLib\dlib-master\build\temp.win-amd64-3.10\Release\dlib_build\dlib.vcxproj]
D:\DLib\dlib-master\dlib\external\libjpeg\jmemmgr.c(991,46): warning C4267: '-=': conversion from 'size_t' to 'long', p
ossible loss of data [D:\DLib\dlib-master\build\temp.win-amd64-3.10\Release\dlib_build\dlib.vcxproj]
D:\DLib\dlib-master\dlib\external\libjpeg\jmemmgr.c(1107,19): warning C4996: 'getenv': This function or variable may be
unsafe. Consider using _dupenv_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for det
ails. [D:\DLib\dlib-master\build\temp.win-amd64-3.10\Release\dlib_build\dlib.vcxproj]
D:\DLib\dlib-master\dlib\external\libjpeg\jmemmgr.c(1110,11): warning C4996: 'sscanf': This function or variable may be
unsafe. Consider using sscanf_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for deta
ils. [D:\DLib\dlib-master\build\temp.win-amd64-3.10\Release\dlib_build\dlib.vcxproj]
dlib.vcxproj -> D:\DLib\dlib-master\build\temp.win-amd64-3.10\Release\dlib_build\Release\dlib19.22.99_release_64bit_m
svc1929.lib
Building Custom Rule D:/DLib/dlib-master/tools/python/CMakeLists.txt
dlib.cpp
matrix.cpp
vector.cpp
svm_c_trainer.cpp
svm_rank_trainer.cpp
decision_functions.cpp
other.cpp
basic.cpp
cca.cpp
sequence_segmenter.cpp
svm_struct.cpp
image.cpp
image2.cpp
image3.cpp
image4.cpp
rectangles.cpp
D:\DLib\dlib-master\dlib\external\pybind11\include\pybind11/numpy.h(35,22): error C2065: 'ssize_t': undeclared identifi
er (compiling source file D:\DLib\dlib-master\tools\python\src\svm_struct.cpp) [D:\DLib\dlib-master\build\temp.win-amd6
4-3.10\Release_dlib_pybind11.vcxproj]
D:\DLib\dlib-master\dlib\external\pybind11\include\pybind11/numpy.h(35,22): error C2065: 'ssize_t': undeclared identifi
er (compiling source file D:\DLib\dlib-master\tools\python\src\svm_rank_trainer.cpp) [D:\DLib\dlib-master\build\temp.wi
n-amd64-3.10\Release_dlib_pybind11.vcxproj]
D:\DLib\dlib-master\dlib\external\pybind11\include\pybind11/numpy.h(35,22): error C2065: 'ssize_t': undeclared identifi
er (compiling source file D:\DLib\dlib-master\tools\python\src\vector.cpp) [D:\DLib\dlib-master\build\temp.win-amd64-3.
10\Release_dlib_pybind11.vcxproj]
D:\DLib\dlib-master\dlib\external\pybind11\include\pybind11/numpy.h(35,22): error C2065: 'ssize_t': undeclared identifi
er (compiling source file D:\DLib\dlib-master\tools\python\src\svm_c_trainer.cpp) [D:\DLib\dlib-master\build\temp.win-a
md64-3.10\Release_dlib_pybind11.vcxproj]
D:\DLib\dlib-master\dlib\external\pybind11\include\pybind11/numpy.h(35,22): error C2065: 'ssize_t': undeclared identifi
er (compiling source file D:\DLib\dlib-master\tools\python\src\matrix.cpp) [D:\DLib\dlib-master\build\temp.win-amd64-3.
10\Release_dlib_pybind11.vcxproj]
D:\DLib\dlib-master\dlib\external\pybind11\include\pybind11/numpy.h(35,22): error C2065: 'ssize_t': undeclared identifi
er (compiling source file D:\DLib\dlib-master\tools\python\src\other.cpp) [D:\DLib\dlib-master\build\temp.win-amd64-3.1
0\Release_dlib_pybind11.vcxproj]
D:\DLib\dlib-master\dlib\external\pybind11\include\pybind11/numpy.h(35,22): error C2065: 'ssize_t': undeclared identifi
er (compiling source file D:\DLib\dlib-master\tools\python\src\image4.cpp) [D:\DLib\dlib-master\build\temp.win-amd64-3.
10\Release_dlib_pybind11.vcxproj]
D:\DLib\dlib-master\dlib\external\pybind11\include\pybind11/numpy.h(35,22): error C2065: 'ssize_t': undeclared identifi
er (compiling source file D:\DLib\dlib-master\tools\python\src\image3.cpp) [D:\DLib\dlib-master\build\temp.win-amd64-3.
10\Release_dlib_pybind11.vcxproj]
D:\DLib\dlib-master\dlib\external\pybind11\include\pybind11/numpy.h(35,22): error C2065: 'ssize_t': undeclared identifi
er (compiling source file D:\DLib\dlib-master\tools\python\src\image2.cpp) [D:\DLib\dlib-master\build\temp.win-amd64-3.
10\Release_dlib_pybind11.vcxproj]
D:\DLib\dlib-master\dlib\external\pybind11\include\pybind11/numpy.h(35,22): error C2065: 'ssize_t': undeclared identifi
er (compiling source file D:\DLib\dlib-master\tools\python\src\decision_functions.cpp) [D:\DLib\dlib-master\build\temp.
win-amd64-3.10\Release_dlib_pybind11.vcxproj]
D:\DLib\dlib-master\dlib\external\pybind11\include\pybind11/numpy.h(35,22): error C2065: 'ssize_t': undeclared identifi
er (compiling source file D:\DLib\dlib-master\tools\python\src\dlib.cpp) [D:\DLib\dlib-master\build\temp.win-amd64-3.10
\Release_dlib_pybind11.vcxproj]
D:\DLib\dlib-master\dlib\external\pybind11\include\pybind11/numpy.h(35,22): error C2065: 'ssize_t': undeclared identifi
er (compiling source file D:\DLib\dlib-master\tools\python\src\sequence_segmenter.cpp) [D:\DLib\dlib-master\build\temp.
win-amd64-3.10\Release_dlib_pybind11.vcxproj]
D:\DLib\dlib-master\dlib\external\pybind11\include\pybind11/numpy.h(35,22): error C2065: 'ssize_t': undeclared identifi
er (compiling source file D:\DLib\dlib-master\tools\python\src\rectangles.cpp) [D:\DLib\dlib-master\build\temp.win-amd6
4-3.10\Release_dlib_pybind11.vcxproj]
D:\DLib\dlib-master\dlib\external\pybind11\include\pybind11/numpy.h(35,22): error C2065: 'ssize_t': undeclared identifi
er (compiling source file D:\DLib\dlib-master\tools\python\src\basic.cpp) [D:\DLib\dlib-master\build\temp.win-amd64-3.1
0\Release_dlib_pybind11.vcxproj]
D:\DLib\dlib-master\dlib\external\pybind11\include\pybind11/numpy.h(35,22): error C2065: 'ssize_t': undeclared identifi
er (compiling source file D:\DLib\dlib-master\tools\python\src\image.cpp) [D:\DLib\dlib-master\build\temp.win-amd64-3.1
0\Release_dlib_pybind11.vcxproj]
D:\DLib\dlib-master\dlib\external\pybind11\include\pybind11/numpy.h(35,22): error C2065: 'ssize_t': undeclared identifi
er (compiling source file D:\DLib\dlib-master\tools\python\src\cca.cpp) [D:\DLib\dlib-master\build\temp.win-amd64-3.10\
Release_dlib_pybind11.vcxproj]
D:\DLib\dlib-master\dlib\external\pybind11\include\pybind11/numpy.h(35,31): error C2338: ssize_t != Py_intptr_t (compil
ing source file D:\DLib\dlib-master\tools\python\src\svm_rank_trainer.cpp) [D:\DLib\dlib-master\build\temp.win-amd64-3.
10\Release_dlib_pybind11.vcxproj]
D:\DLib\dlib-master\dlib\external\pybind11\include\pybind11/numpy.h(35,31): error C2338: ssize_t != Py_intptr_t (compil
ing source file D:\DLib\dlib-master\tools\python\src\svm_struct.cpp) [D:\DLib\dlib-master\build\temp.win-amd64-3.10\Rel
ease_dlib_pybind11.vcxproj]
D:\DLib\dlib-master\dlib\external\pybind11\include\pybind11/numpy.h(35,31): error C2338: ssize_t != Py_intptr_t (compil
ing source file D:\DLib\dlib-master\tools\python\src\vector.cpp) [D:\DLib\dlib-master\build\temp.win-amd64-3.10\Release
_dlib_pybind11.vcxproj]
D:\DLib\dlib-master\dlib\external\pybind11\include\pybind11/numpy.h(35,31): error C2338: ssize_t != Py_intptr_t (compil
ing source file D:\DLib\dlib-master\tools\python\src\svm_c_trainer.cpp) [D:\DLib\dlib-master\build\temp.win-amd64-3.10\
Release_dlib_pybind11.vcxproj]
D:\DLib\dlib-master\dlib\external\pybind11\include\pybind11/numpy.h(35,31): error C2338: ssize_t != Py_intptr_t (compil
ing source file D:\DLib\dlib-master\tools\python\src\matrix.cpp) [D:\DLib\dlib-master\build\temp.win-amd64-3.10\Release
_dlib_pybind11.vcxproj]
D:\DLib\dlib-master\dlib\external\pybind11\include\pybind11/numpy.h(35,31): error C2338: ssize_t != Py_intptr_t (compil
ing source file D:\DLib\dlib-master\tools\python\src\other.cpp) [D:\DLib\dlib-master\build\temp.win-amd64-3.10\Release\
_dlib_pybind11.vcxproj]
D:\DLib\dlib-master\dlib\external\pybind11\include\pybind11/numpy.h(35,31): error C2338: ssize_t != Py_intptr_t (compil
ing source file D:\DLib\dlib-master\tools\python\src\image4.cpp) [D:\DLib\dlib-master\build\temp.win-amd64-3.10\Release
_dlib_pybind11.vcxproj]
D:\DLib\dlib-master\dlib\external\pybind11\include\pybind11/numpy.h(35,31): error C2338: ssize_t != Py_intptr_t (compil
ing source file D:\DLib\dlib-master\tools\python\src\image3.cpp) [D:\DLib\dlib-master\build\temp.win-amd64-3.10\Release
_dlib_pybind11.vcxproj]
D:\DLib\dlib-master\dlib\external\pybind11\include\pybind11/numpy.h(35,31): error C2338: ssize_t != Py_intptr_t (compil
ing source file D:\DLib\dlib-master\tools\python\src\image2.cpp) [D:\DLib\dlib-master\build\temp.win-amd64-3.10\Release
_dlib_pybind11.vcxproj]
D:\DLib\dlib-master\dlib\external\pybind11\include\pybind11/numpy.h(35,31): error C2338: ssize_t != Py_intptr_t (compil
ing source file D:\DLib\dlib-master\tools\python\src\decision_functions.cpp) [D:\DLib\dlib-master\build\temp.win-amd64-
3.10\Release_dlib_pybind11.vcxproj]
D:\DLib\dlib-master\dlib\external\pybind11\include\pybind11/numpy.h(35,31): error C2338: ssize_t != Py_intptrt (compil
ing source file D:\DLib\dlib-master\tools\python\src\dlib.cpp) [D:\DLib\dlib-master\build\temp.win-amd64-3.10\Release\
dlib_pybind11.vcxproj]
D:\DLib\dlib-master\dlib\external\pybind11\include\pybind11/numpy.h(35,31): error C2338: ssize_t != Py_intptr_t (compil
ing source file D:\DLib\dlib-master\tools\python\src\sequence_segmenter.cpp) [D:\DLib\dlib-master\build\temp.win-amd64-
3.10\Release_dlib_pybind11.vcxproj]
D:\DLib\dlib-master\dlib\external\pybind11\include\pybind11/numpy.h(35,31): error C2338: ssize_t != Py_intptr_t (compil
ing source file D:\DLib\dlib-master\tools\python\src\rectangles.cpp) [D:\DLib\dlib-master\build\temp.win-amd64-3.10\Rel
ease_dlib_pybind11.vcxproj]
D:\DLib\dlib-master\dlib\external\pybind11\include\pybind11/numpy.h(35,31): error C2338: ssize_t != Py_intptr_t (compil
ing source file D:\DLib\dlib-master\tools\python\src\basic.cpp) [D:\DLib\dlib-master\build\temp.win-amd64-3.10\Release\
_dlib_pybind11.vcxproj]
D:\DLib\dlib-master\dlib\external\pybind11\include\pybind11/numpy.h(35,31): error C2338: ssize_t != Py_intptr_t (compil
ing source file D:\DLib\dlib-master\tools\python\src\image.cpp) [D:\DLib\dlib-master\build\temp.win-amd64-3.10\Release\
_dlib_pybind11.vcxproj]
D:\DLib\dlib-master\dlib\external\pybind11\include\pybind11/numpy.h(35,31): error C2338: ssize_t != Py_intptr_t (compil
ing source file D:\DLib\dlib-master\tools\python\src\cca.cpp) [D:\DLib\dlib-master\build\temp.win-amd64-3.10\Release_d
lib_pybind11.vcxproj]
object_detection.cpp
shape_predictor.cpp
correlation_tracker.cpp
face_recognition.cpp
cnn_face_detector.cpp
global_optimization.cpp
image_dataset_metadata.cpp
numpy_returns.cpp
line.cpp
gui.cpp
D:\DLib\dlib-master\dlib\external\pybind11\include\pybind11/numpy.h(35,22): error C2065: 'ssize_t': undeclared identifi
er (compiling source file D:\DLib\dlib-master\tools\python\src\object_detection.cpp) [D:\DLib\dlib-master\build\temp.wi
n-amd64-3.10\Release_dlib_pybind11.vcxproj]
D:\DLib\dlib-master\dlib\external\pybind11\include\pybind11/numpy.h(35,31): error C2338: ssize_t != Py_intptr_t (compil
ing source file D:\DLib\dlib-master\tools\python\src\object_detection.cpp) [D:\DLib\dlib-master\build\temp.win-amd64-3.
10\Release_dlib_pybind11.vcxproj]
D:\DLib\dlib-master\dlib\external\pybind11\include\pybind11/numpy.h(35,22): error C2065: 'ssize_t': undeclared identifi
er (compiling source file D:\DLib\dlib-master\tools\python\src\shape_predictor.cpp) [D:\DLib\dlib-master\build\temp.win
-amd64-3.10\Release_dlib_pybind11.vcxproj]
D:\DLib\dlib-master\dlib\external\pybind11\include\pybind11/numpy.h(35,31): error C2338: ssize_t != Py_intptr_t (compil
ing source file D:\DLib\dlib-master\tools\python\src\shape_predictor.cpp) [D:\DLib\dlib-master\build\temp.win-amd64-3.1
0\Release_dlib_pybind11.vcxproj]
D:\DLib\dlib-master\dlib\external\pybind11\include\pybind11/numpy.h(35,22): error C2065: 'ssize_t': undeclared identifi
er (compiling source file D:\DLib\dlib-master\tools\python\src\correlation_tracker.cpp) [D:\DLib\dlib-master\build\temp
.win-amd64-3.10\Release_dlib_pybind11.vcxproj]
D:\DLib\dlib-master\dlib\external\pybind11\include\pybind11/numpy.h(35,31): error C2338: ssize_t != Py_intptr_t (compil
ing source file D:\DLib\dlib-master\tools\python\src\correlation_tracker.cpp) [D:\DLib\dlib-master\build\temp.win-amd64
-3.10\Release_dlib_pybind11.vcxproj]
D:\DLib\dlib-master\dlib\external\pybind11\include\pybind11/numpy.h(35,22): error C2065: 'ssize_t': undeclared identifi
er (compiling source file D:\DLib\dlib-master\tools\python\src\cnn_face_detector.cpp) [D:\DLib\dlib-master\build\temp.w
in-amd64-3.10\Release_dlib_pybind11.vcxproj]
D:\DLib\dlib-master\dlib\external\pybind11\include\pybind11/numpy.h(35,31): error C2338: ssize_t != Py_intptr_t (compil
ing source file D:\DLib\dlib-master\tools\python\src\cnn_face_detector.cpp) [D:\DLib\dlib-master\build\temp.win-amd64-3
.10\Release_dlib_pybind11.vcxproj]
D:\DLib\dlib-master\dlib\external\pybind11\include\pybind11/numpy.h(35,22): error C2065: 'ssize_t': undeclared identifi
er (compiling source file D:\DLib\dlib-master\tools\python\src\global_optimization.cpp) [D:\DLib\dlib-master\build\temp
.win-amd64-3.10\Release_dlib_pybind11.vcxproj]
D:\DLib\dlib-master\dlib\external\pybind11\include\pybind11/numpy.h(35,31): error C2338: ssize_t != Py_intptr_t (compil
ing source file D:\DLib\dlib-master\tools\python\src\global_optimization.cpp) [D:\DLib\dlib-master\build\temp.win-amd64
-3.10\Release_dlib_pybind11.vcxproj]
D:\DLib\dlib-master\dlib\external\pybind11\include\pybind11/numpy.h(35,22): error C2065: 'ssize_t': undeclared identifi
er (compiling source file D:\DLib\dlib-master\tools\python\src\face_recognition.cpp) [D:\DLib\dlib-master\build\temp.wi
n-amd64-3.10\Release_dlib_pybind11.vcxproj]
D:\DLib\dlib-master\dlib\external\pybind11\include\pybind11/numpy.h(35,31): error C2338: ssize_t != Py_intptr_t (compil
ing source file D:\DLib\dlib-master\tools\python\src\face_recognition.cpp) [D:\DLib\dlib-master\build\temp.win-amd64-3.
10\Release_dlib_pybind11.vcxproj]
D:\DLib\dlib-master\dlib\external\pybind11\include\pybind11/numpy.h(35,22): error C2065: 'ssize_t': undeclared identifi
er (compiling source file D:\DLib\dlib-master\tools\python\src\image_dataset_metadata.cpp) [D:\DLib\dlib-master\build\t
emp.win-amd64-3.10\Release_dlib_pybind11.vcxproj]
D:\DLib\dlib-master\dlib\external\pybind11\include\pybind11/numpy.h(35,31): error C2338: ssize_t != Py_intptr_t (compil
ing source file D:\DLib\dlib-master\tools\python\src\image_dataset_metadata.cpp) [D:\DLib\dlib-master\build\temp.win-am
d64-3.10\Release_dlib_pybind11.vcxproj]
D:\DLib\dlib-master\dlib\external\pybind11\include\pybind11/numpy.h(35,22): error C2065: 'ssize_t': undeclared identifi
er (compiling source file D:\DLib\dlib-master\tools\python\src\numpy_returns.cpp) [D:\DLib\dlib-master\build\temp.win-a
md64-3.10\Release_dlib_pybind11.vcxproj]
D:\DLib\dlib-master\dlib\external\pybind11\include\pybind11/numpy.h(35,31): error C2338: ssize_t != Py_intptr_t (compil
ing source file D:\DLib\dlib-master\tools\python\src\numpy_returns.cpp) [D:\DLib\dlib-master\build\temp.win-amd64-3.10\
Release_dlib_pybind11.vcxproj]
D:\DLib\dlib-master\dlib\external\pybind11\include\pybind11/numpy.h(35,22): error C2065: 'ssize_t': undeclared identifi
er (compiling source file D:\DLib\dlib-master\tools\python\src\line.cpp) [D:\DLib\dlib-master\build\temp.win-amd64-3.10
\Release_dlib_pybind11.vcxproj]
D:\DLib\dlib-master\dlib\external\pybind11\include\pybind11/numpy.h(35,31): error C2338: ssize_t != Py_intptrt (compil
ing source file D:\DLib\dlib-master\tools\python\src\line.cpp) [D:\DLib\dlib-master\build\temp.win-amd64-3.10\Release\
dlib_pybind11.vcxproj]
D:\DLib\dlib-master\dlib\external\pybind11\include\pybind11/numpy.h(35,22): error C2065: 'ssize_t': undeclared identifi
er (compiling source file D:\DLib\dlib-master\tools\python\src\gui.cpp) [D:\DLib\dlib-master\build\temp.win-amd64-3.10\
Release_dlib_pybind11.vcxproj]
D:\DLib\dlib-master\dlib\external\pybind11\include\pybind11/numpy.h(35,31): error C2338: ssize_t != Py_intptr_t (compil
ing source file D:\DLib\dlib-master\tools\python\src\gui.cpp) [D:\DLib\dlib-master\build\temp.win-amd64-3.10\Release_d
lib_pybind11.vcxproj]
Traceback (most recent call last):
File "D:\DLib\dlib-master\setup.py", line 222, in
setup(
File "C:\Users\Human Systems Lab\AppData\Local\Programs\Python\Python310\lib\site-packages\setuptools__init__.py", line 153, in setup
return distutils.core.setup(**attrs)
File "C:\Users\Human Systems Lab\AppData\Local\Programs\Python\Python310\lib\distutils\core.py", line 148, in setup
dist.run_commands()
File "C:\Users\Human Systems Lab\AppData\Local\Programs\Python\Python310\lib\distutils\dist.py", line 966, in run_commands
self.run_command(cmd)
File "C:\Users\Human Systems Lab\AppData\Local\Programs\Python\Python310\lib\distutils\dist.py", line 985, in run_command
cmd_obj.run()
File "C:\Users\Human Systems Lab\AppData\Local\Programs\Python\Python310\lib\site-packages\setuptools\command\install.py", line 67, in run
self.do_egg_install()
File "C:\Users\Human Systems Lab\AppData\Local\Programs\Python\Python310\lib\site-packages\setuptools\command\install.py", line 109, in do_egg_install
self.run_command('bdist_egg')
File "C:\Users\Human Systems Lab\AppData\Local\Programs\Python\Python310\lib\distutils\cmd.py", line 313, in run_command
self.distribution.run_command(command)
File "C:\Users\Human Systems Lab\AppData\Local\Programs\Python\Python310\lib\distutils\dist.py", line 985, in run_command
cmd_obj.run()
File "C:\Users\Human Systems Lab\AppData\Local\Programs\Python\Python310\lib\site-packages\setuptools\command\bdist_egg.py", line 164, in run
cmd = self.call_command('install_lib', warn_dir=0)
File "C:\Users\Human Systems Lab\AppData\Local\Programs\Python\Python310\lib\site-packages\setuptools\command\bdist_egg.py", line 150, in call_command
self.run_command(cmdname)
File "C:\Users\Human Systems Lab\AppData\Local\Programs\Python\Python310\lib\distutils\cmd.py", line 313, in run_command
self.distribution.run_command(command)
File "C:\Users\Human Systems Lab\AppData\Local\Programs\Python\Python310\lib\distutils\dist.py", line 985, in run_command
cmd_obj.run()
File "C:\Users\Human Systems Lab\AppData\Local\Programs\Python\Python310\lib\site-packages\setuptools\command\install_lib.py", line 11, in run
self.build()
File "C:\Users\Human Systems Lab\AppData\Local\Programs\Python\Python310\lib\distutils\command\install_lib.py", line 107, in build
self.run_command('build_ext')
File "C:\Users\Human Systems Lab\AppData\Local\Programs\Python\Python310\lib\distutils\cmd.py", line 313, in run_command
self.distribution.run_command(command)
File "C:\Users\Human Systems Lab\AppData\Local\Programs\Python\Python310\lib\distutils\dist.py", line 985, in run_command
cmd_obj.run()
File "D:\DLib\dlib-master\setup.py", line 134, in run
self.build_extension(ext)
File "D:\DLib\dlib-master\setup.py", line 174, in build_extension
subprocess.check_call(cmake_build, cwd=build_folder)
File "C:\Users\Human Systems Lab\AppData\Local\Programs\Python\Python310\lib\subprocess.py", line 369, in check_call
raise CalledProcessError(retcode, cmd)
subprocess.CalledProcessError: Command '['cmake', '--build', '.', '--config', 'Release', '--', '/m']' returned non-zero exit status 1.
Steps to Reproduce
Here are the steps I followed up to this point. I have tried rerunning multiple times with no improvements, but I was able to get it to compile following these same steps on a different computer.
Configure dlib in Cmake and enable "DLIB_USE_CUDA" and "USE_AVX_INSTRUCTIONS"
Any help would be greatly appreciated as I am fairly experienced in python but these errors are far beyond anything I know how to troubleshoot on my own. Thanks
Expected Behavior
Trying to compile dlib with CUDA support for python on Windows using CMake. I was able to generate the build files in CMake without error and saw "Enabling CUDA support for dlib. DLIB WILL USE CUDA, compute capabilities: 50" in the CMake output log so I know it worked at least up to this point. When I run the "python setup.py install" command to install the python library, I get a long list of errors that I haven't been able to find a solution for online.
Current Behavior
Here is the output from running the setup.py script:
D:\DLib\dlib-master>python setup.py install D:\DLib\dlib-master\setup.py:39: DeprecationWarning: The distutils package is deprecated and slated for removal in Python 3.12. Use setuptools or check PEP 632 for potential alternatives from distutils import log running install running bdist_egg running egg_info creating tools\python\dlib.egg-info writing tools/python\dlib.egg-info\PKG-INFO writing dependency_links to tools/python\dlib.egg-info\dependency_links.txt writing top-level names to tools/python\dlib.egg-info\top_level.txt writing manifest file 'tools/python\dlib.egg-info\SOURCES.txt' package init file 'tools\python\dlib__init__.py' not found (or not a regular file) reading manifest file 'tools/python\dlib.egg-info\SOURCES.txt' reading manifest template 'MANIFEST.in' no previously-included directories found matching 'tools\python\build' no previously-included directories found matching 'dlib\cmake_utils*\build' warning: no previously-included files matching '.pyc' found anywhere in distribution adding license file 'LICENSE.txt' writing manifest file 'tools/python\dlib.egg-info\SOURCES.txt' installing library code to build\bdist.win-amd64\egg running install_lib running build_py running build_ext Building extension for Python 3.10.0 (tags/v3.10.0:b494f59, Oct 4 2021, 19:00:18) [MSC v.1929 64 bit (AMD64)] Invoking CMake setup: 'cmake D:\DLib\dlib-master\tools\python -DCMAKE_LIBRARY_OUTPUT_DIRECTORY=D:\DLib\dlib-master\build\lib.win-amd64-3.10 -DPYTHON_EXECUTABLE=C:\Users\Human Systems Lab\AppData\Local\Programs\Python\Python310\python.exe -DCMAKE_LIBRARY_OUTPUT_DIRECTORY_RELEASE=D:\DLib\dlib-master\build\lib.win-amd64-3.10 -A x64' -- Building for: Visual Studio 16 2019 -- Selecting Windows SDK version 10.0.19041.0 to target Windows 10.0.19042. -- The C compiler identification is MSVC 19.29.30137.0 -- The CXX compiler identification is MSVC 19.29.30137.0 -- Detecting C compiler ABI info -- Detecting C compiler ABI info - done -- Check for working C compiler: D:/Visual Studio 2019/Visual Studio/VC/Tools/MSVC/14.29.30133/bin/Hostx64/x64/cl.exe - skipped -- Detecting C compile features -- Detecting C compile features - done -- Detecting CXX compiler ABI info -- Detecting CXX compiler ABI info - done -- Check for working CXX compiler: D:/Visual Studio 2019/Visual Studio/VC/Tools/MSVC/14.29.30133/bin/Hostx64/x64/cl.exe - skipped -- Detecting CXX compile features -- Detecting CXX compile features - done -- Found PythonInterp: C:/Users/Human Systems Lab/AppData/Local/Programs/Python/Python310/python.exe (found version "3.10") -- Found PythonLibs: C:/Users/Human Systems Lab/AppData/Local/Programs/Python/Python310/libs/Python310.lib -- pybind11 v2.2.4 -- Using CMake version: 3.22.0 -- Compiling dlib version: 19.22.99 -- SSE4 instructions can be executed by the host processor. -- AVX instructions can be executed by the host processor. -- Looking for sys/types.h -- Looking for sys/types.h - found -- Looking for stdint.h -- Looking for stdint.h - found -- Looking for stddef.h -- Looking for stddef.h - found -- Check size of void -- Check size of void* - done -- Enabling AVX instructions -- Searching for BLAS and LAPACK -- Searching for BLAS and LAPACK -- Looking for pthread.h -- Looking for pthread.h - not found -- Found Threads: TRUE -- Found CUDA: C:/Program Files/NVIDIA GPU Computing Toolkit/CUDA/v11.5 (found suitable version "11.5", minimum required is "7.5") -- Looking for cuDNN install... -- Found cuDNN: C:/Program Files/NVIDIA GPU Computing Toolkit/CUDA/v11.5/lib/cudnn.lib -- Building a CUDA test project to see if your compiler is compatible with CUDA... -- Building a cuDNN test project to check if you have the right version of cuDNN installed... -- Enabling CUDA support for dlib. DLIB WILL USE CUDA, compute capabilities: 50 -- C++11 activated. -- Configuring done -- Generating done -- Build files have been written to: D:/DLib/dlib-master/build/temp.win-amd64-3.10/Release Invoking CMake build: 'cmake --build . --config Release -- /m' Microsoft (R) Build Engine version 16.11.2+f32259642 for .NET Framework Copyright (C) Microsoft Corporation. All rights reserved.
Checking Build System Building NVCC (Device) object dlib_build/CMakeFiles/dlib.dir/cuda/Release/dlib_generated_cuda_dlib.cu.obj cuda_dlib.cu CUSTOMBUILD : nvcc warning : The 'compute_35', 'compute_37', 'compute_50', 'sm_35', 'sm_37' and 'sm_50' architectures a re deprecated, and may be removed in a future release (Use -Wno-deprecated-gpu-targets to suppress warning). [D:\DLib\d lib-master\build\temp.win-amd64-3.10\Release\dlib_build\dlib.vcxproj] CUSTOMBUILD : nvcc warning : The 'compute_35', 'compute_37', 'compute_50', 'sm_35', 'sm_37' and 'sm_50' architectures a re deprecated, and may be removed in a future release (Use -Wno-deprecated-gpu-targets to suppress warning). [D:\DLib\d lib-master\build\temp.win-amd64-3.10\Release\dlib_build\dlib.vcxproj] cuda_dlib.cu Building NVCC (Device) object dlib_build/CMakeFiles/dlib.dir/cuda/Release/dlib_generated_cusolver_dlibapi.cu.obj cusolver_dlibapi.cu CUSTOMBUILD : nvcc warning : The 'compute_35', 'compute_37', 'compute_50', 'sm_35', 'sm_37' and 'sm_50' architectures a re deprecated, and may be removed in a future release (Use -Wno-deprecated-gpu-targets to suppress warning). [D:\DLib\d lib-master\build\temp.win-amd64-3.10\Release\dlib_build\dlib.vcxproj] CUSTOMBUILD : nvcc warning : The 'compute_35', 'compute_37', 'compute_50', 'sm_35', 'sm_37' and 'sm_50' architectures a re deprecated, and may be removed in a future release (Use -Wno-deprecated-gpu-targets to suppress warning). [D:\DLib\d lib-master\build\temp.win-amd64-3.10\Release\dlib_build\dlib.vcxproj] cusolver_dlibapi.cu Building Custom Rule D:/DLib/dlib-master/dlib/CMakeLists.txt CMake is re-running because D:/DLib/dlib-master/build/temp.win-amd64-3.10/Release/dlib_build/CMakeFiles/generate.stam p is out-of-date. the file 'D:/DLib/dlib-master/build/temp.win-amd64-3.10/Release/dlib_build/CMakeFiles/dlib.dir/cuda/dlibgenerated cuda_dlib.cu.obj.depend' is newer than 'D:/DLib/dlib-master/build/temp.win-amd64-3.10/Release/dlib_build/CMakeFiles/generate.stamp.depend' result='-1' -- Selecting Windows SDK version 10.0.19041.0 to target Windows 10.0.19042. -- pybind11 v2.2.4 -- Using CMake version: 3.22.0 -- Compiling dlib version: 19.22.99 -- SSE4 instructions can be executed by the host processor. -- AVX instructions can be executed by the host processor. -- Enabling AVX instructions -- Looking for cuDNN install... -- Found cuDNN: C:/Program Files/NVIDIA GPU Computing Toolkit/CUDA/v11.5/lib/cudnn.lib -- Enabling CUDA support for dlib. DLIB WILL USE CUDA, compute capabilities: 50 -- C++11 activated. -- Configuring done -- Generating done -- Build files have been written to: D:/DLib/dlib-master/build/temp.win-amd64-3.10/Release base64_kernel_1.cpp bigint_kernel_1.cpp bigint_kernel_2.cpp bit_stream_kernel_1.cpp entropy_decoder_kernel_1.cpp entropy_decoder_kernel_2.cpp entropy_encoder_kernel_1.cpp entropy_encoder_kernel_2.cpp md5_kernel_1.cpp tokenizer_kernel_1.cpp unicode.cpp test_for_odr_violations.cpp sockets_kernel_1.cpp bsp.cpp dir_nav_kernel_1.cpp dir_nav_kernel_2.cpp dir_nav_extensions.cpp fonts.cpp linker_kernel_1.cpp extra_logger_headers.cpp logger_kernel_1.cpp logger_config_file.cpp misc_api_kernel_1.cpp misc_api_kernel_2.cpp sockets_extensions.cpp sockets_kernel_2.cpp sockstreambuf.cpp sockstreambuf_unbuffered.cpp server_kernel.cpp server_iostream.cpp server_http.cpp multithreaded_object_extension.cpp threaded_object_extension.cpp threads_kernel_1.cpp threads_kernel_2.cpp threads_kernel_shared.cpp thread_pool_extension.cpp async.cpp timer.cpp stack_trace.cpp cpu_dlib.cpp tensor_tools.cpp image_dataset_metadata.cpp mnist.cpp cifar.cpp global_function_search.cpp kalman_filter.cpp auto.cpp widgets.cpp drawable.cpp canvas_drawing.cpp style.cpp base_widgets.cpp gui_core_kernel_1.cpp gui_core_kernel_2.cpp png_loader.cpp save_png.cpp jpeg_loader.cpp save_jpeg.cpp cudnn_dlibapi.cpp cublas_dlibapi.cpp curand_dlibapi.cpp cuda_data_ptr.cpp gpu_data.cpp arm_init.c filter_neon_intrinsics.c png.c pngerror.c pngget.c pngmem.c pngpread.c pngread.c pngrio.c pngrtran.c pngrutil.c pngset.c pngtrans.c pngwio.c pngwrite.c pngwtran.c pngwutil.c adler32.c compress.c crc32.c deflate.c gzclose.c gzlib.c gzread.c gzwrite.c infback.c inffast.c inflate.c D:\DLib\dlib-master\dlib\external\zlib\gzread.c(319,20): warning C4267: '=': conversion from 'size_t' to 'unsigned int' , possible loss of data [D:\DLib\dlib-master\build\temp.win-amd64-3.10\Release\dlib_build\dlib.vcxproj] D:\DLib\dlib-master\dlib\external\zlib\gzread.c(400,35): warning C4267: '=': conversion from 'size_t' to 'unsigned int' , possible loss of data [D:\DLib\dlib-master\build\temp.win-amd64-3.10\Release\dlib_build\dlib.vcxproj] D:\DLib\dlib-master\dlib\external\zlib\gzread.c(472,33): warning C4267: '=': conversion from 'size_t' to 'int', possibl e loss of data [D:\DLib\dlib-master\build\temp.win-amd64-3.10\Release\dlib_build\dlib.vcxproj] inftrees.c D:\DLib\dlib-master\dlib\external\zlib\gzwrite.c(212,27): warning C4267: '=': conversion from 'size_t' to 'unsigned int ', possible loss of data [D:\DLib\dlib-master\build\temp.win-amd64-3.10\Release\dlib_build\dlib.vcxproj] D:\DLib\dlib-master\dlib\external\zlib\gzwrite.c(232,24): warning C4267: '=': conversion from 'size_t' to 'unsigned int ', possible loss of data [D:\DLib\dlib-master\build\temp.win-amd64-3.10\Release\dlib_build\dlib.vcxproj] D:\DLib\dlib-master\dlib\external\zlib\gzwrite.c(371,36): warning C4267: '=': conversion from 'size_t' to 'int', possib le loss of data [D:\DLib\dlib-master\build\temp.win-amd64-3.10\Release\dlib_build\dlib.vcxproj] trees.c uncompr.c zutil.c jaricom.c jcapimin.c jcapistd.c jcarith.c jccoefct.c jccolor.c jcdctmgr.c jchuff.c jcinit.c jcmainct.c jcmarker.c jcmaster.c jcomapi.c jcparam.c jcprepct.c jcsample.c jdapimin.c jdapistd.c jdarith.c jdatadst.c jdatasrc.c jdcoefct.c jdcolor.c jddctmgr.c jdhuff.c D:\DLib\dlib-master\dlib\external\libjpeg\jdatadst.c(185,60): warning C4267: '=': conversion from 'size_t' to 'unsigned long', possible loss of data [D:\DLib\dlib-master\build\temp.win-amd64-3.10\Release\dlib_build\dlib.vcxproj] jdinput.c jdmainct.c jdmarker.c jdmaster.c jdmerge.c jdpostct.c jdsample.c jerror.c jfdctflt.c jfdctfst.c jfdctint.c jidctflt.c jidctfst.c jidctint.c jmemmgr.c jmemnobs.c jquant1.c jquant2.c jutils.c D:\DLib\dlib-master\dlib\external\libjpeg\jerror.c(193,5): warning C4996: 'sprintf': This function or variable may be u nsafe. Consider using sprintf_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for detai ls. [D:\DLib\dlib-master\build\temp.win-amd64-3.10\Release\dlib_build\dlib.vcxproj] D:\DLib\dlib-master\dlib\external\libjpeg\jerror.c(195,5): warning C4996: 'sprintf': This function or variable may be u nsafe. Consider using sprintf_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for detai ls. [D:\DLib\dlib-master\build\temp.win-amd64-3.10\Release\dlib_build\dlib.vcxproj] D:\DLib\dlib-master\dlib\external\libjpeg\jmemmgr.c(307,53): warning C4267: '+=': conversion from 'size_t' to 'long', p ossible loss of data [D:\DLib\dlib-master\build\temp.win-amd64-3.10\Release\dlib_build\dlib.vcxproj] D:\DLib\dlib-master\dlib\external\libjpeg\jmemmgr.c(367,70): warning C4267: '+=': conversion from 'size_t' to 'long', p ossible loss of data [D:\DLib\dlib-master\build\temp.win-amd64-3.10\Release\dlib_build\dlib.vcxproj] D:\DLib\dlib-master\dlib\external\libjpeg\jmemmgr.c(977,46): warning C4267: '-=': conversion from 'size_t' to 'long', p ossible loss of data [D:\DLib\dlib-master\build\temp.win-amd64-3.10\Release\dlib_build\dlib.vcxproj] D:\DLib\dlib-master\dlib\external\libjpeg\jmemmgr.c(991,46): warning C4267: '-=': conversion from 'size_t' to 'long', p ossible loss of data [D:\DLib\dlib-master\build\temp.win-amd64-3.10\Release\dlib_build\dlib.vcxproj] D:\DLib\dlib-master\dlib\external\libjpeg\jmemmgr.c(1107,19): warning C4996: 'getenv': This function or variable may be unsafe. Consider using _dupenv_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for det ails. [D:\DLib\dlib-master\build\temp.win-amd64-3.10\Release\dlib_build\dlib.vcxproj] D:\DLib\dlib-master\dlib\external\libjpeg\jmemmgr.c(1110,11): warning C4996: 'sscanf': This function or variable may be unsafe. Consider using sscanf_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for deta ils. [D:\DLib\dlib-master\build\temp.win-amd64-3.10\Release\dlib_build\dlib.vcxproj] dlib.vcxproj -> D:\DLib\dlib-master\build\temp.win-amd64-3.10\Release\dlib_build\Release\dlib19.22.99_release_64bit_m svc1929.lib Building Custom Rule D:/DLib/dlib-master/tools/python/CMakeLists.txt dlib.cpp matrix.cpp vector.cpp svm_c_trainer.cpp svm_rank_trainer.cpp decision_functions.cpp other.cpp basic.cpp cca.cpp sequence_segmenter.cpp svm_struct.cpp image.cpp image2.cpp image3.cpp image4.cpp rectangles.cpp D:\DLib\dlib-master\dlib\external\pybind11\include\pybind11/numpy.h(35,22): error C2065: 'ssize_t': undeclared identifi er (compiling source file D:\DLib\dlib-master\tools\python\src\svm_struct.cpp) [D:\DLib\dlib-master\build\temp.win-amd6 4-3.10\Release_dlib_pybind11.vcxproj] D:\DLib\dlib-master\dlib\external\pybind11\include\pybind11/numpy.h(35,22): error C2065: 'ssize_t': undeclared identifi er (compiling source file D:\DLib\dlib-master\tools\python\src\svm_rank_trainer.cpp) [D:\DLib\dlib-master\build\temp.wi n-amd64-3.10\Release_dlib_pybind11.vcxproj] D:\DLib\dlib-master\dlib\external\pybind11\include\pybind11/numpy.h(35,22): error C2065: 'ssize_t': undeclared identifi er (compiling source file D:\DLib\dlib-master\tools\python\src\vector.cpp) [D:\DLib\dlib-master\build\temp.win-amd64-3. 10\Release_dlib_pybind11.vcxproj] D:\DLib\dlib-master\dlib\external\pybind11\include\pybind11/numpy.h(35,22): error C2065: 'ssize_t': undeclared identifi er (compiling source file D:\DLib\dlib-master\tools\python\src\svm_c_trainer.cpp) [D:\DLib\dlib-master\build\temp.win-a md64-3.10\Release_dlib_pybind11.vcxproj] D:\DLib\dlib-master\dlib\external\pybind11\include\pybind11/numpy.h(35,22): error C2065: 'ssize_t': undeclared identifi er (compiling source file D:\DLib\dlib-master\tools\python\src\matrix.cpp) [D:\DLib\dlib-master\build\temp.win-amd64-3. 10\Release_dlib_pybind11.vcxproj] D:\DLib\dlib-master\dlib\external\pybind11\include\pybind11/numpy.h(35,22): error C2065: 'ssize_t': undeclared identifi er (compiling source file D:\DLib\dlib-master\tools\python\src\other.cpp) [D:\DLib\dlib-master\build\temp.win-amd64-3.1 0\Release_dlib_pybind11.vcxproj] D:\DLib\dlib-master\dlib\external\pybind11\include\pybind11/numpy.h(35,22): error C2065: 'ssize_t': undeclared identifi er (compiling source file D:\DLib\dlib-master\tools\python\src\image4.cpp) [D:\DLib\dlib-master\build\temp.win-amd64-3. 10\Release_dlib_pybind11.vcxproj] D:\DLib\dlib-master\dlib\external\pybind11\include\pybind11/numpy.h(35,22): error C2065: 'ssize_t': undeclared identifi er (compiling source file D:\DLib\dlib-master\tools\python\src\image3.cpp) [D:\DLib\dlib-master\build\temp.win-amd64-3. 10\Release_dlib_pybind11.vcxproj] D:\DLib\dlib-master\dlib\external\pybind11\include\pybind11/numpy.h(35,22): error C2065: 'ssize_t': undeclared identifi er (compiling source file D:\DLib\dlib-master\tools\python\src\image2.cpp) [D:\DLib\dlib-master\build\temp.win-amd64-3. 10\Release_dlib_pybind11.vcxproj] D:\DLib\dlib-master\dlib\external\pybind11\include\pybind11/numpy.h(35,22): error C2065: 'ssize_t': undeclared identifi er (compiling source file D:\DLib\dlib-master\tools\python\src\decision_functions.cpp) [D:\DLib\dlib-master\build\temp. win-amd64-3.10\Release_dlib_pybind11.vcxproj] D:\DLib\dlib-master\dlib\external\pybind11\include\pybind11/numpy.h(35,22): error C2065: 'ssize_t': undeclared identifi er (compiling source file D:\DLib\dlib-master\tools\python\src\dlib.cpp) [D:\DLib\dlib-master\build\temp.win-amd64-3.10 \Release_dlib_pybind11.vcxproj] D:\DLib\dlib-master\dlib\external\pybind11\include\pybind11/numpy.h(35,22): error C2065: 'ssize_t': undeclared identifi er (compiling source file D:\DLib\dlib-master\tools\python\src\sequence_segmenter.cpp) [D:\DLib\dlib-master\build\temp. win-amd64-3.10\Release_dlib_pybind11.vcxproj] D:\DLib\dlib-master\dlib\external\pybind11\include\pybind11/numpy.h(35,22): error C2065: 'ssize_t': undeclared identifi er (compiling source file D:\DLib\dlib-master\tools\python\src\rectangles.cpp) [D:\DLib\dlib-master\build\temp.win-amd6 4-3.10\Release_dlib_pybind11.vcxproj] D:\DLib\dlib-master\dlib\external\pybind11\include\pybind11/numpy.h(35,22): error C2065: 'ssize_t': undeclared identifi er (compiling source file D:\DLib\dlib-master\tools\python\src\basic.cpp) [D:\DLib\dlib-master\build\temp.win-amd64-3.1 0\Release_dlib_pybind11.vcxproj] D:\DLib\dlib-master\dlib\external\pybind11\include\pybind11/numpy.h(35,22): error C2065: 'ssize_t': undeclared identifi er (compiling source file D:\DLib\dlib-master\tools\python\src\image.cpp) [D:\DLib\dlib-master\build\temp.win-amd64-3.1 0\Release_dlib_pybind11.vcxproj] D:\DLib\dlib-master\dlib\external\pybind11\include\pybind11/numpy.h(35,22): error C2065: 'ssize_t': undeclared identifi er (compiling source file D:\DLib\dlib-master\tools\python\src\cca.cpp) [D:\DLib\dlib-master\build\temp.win-amd64-3.10\ Release_dlib_pybind11.vcxproj] D:\DLib\dlib-master\dlib\external\pybind11\include\pybind11/numpy.h(35,31): error C2338: ssize_t != Py_intptr_t (compil ing source file D:\DLib\dlib-master\tools\python\src\svm_rank_trainer.cpp) [D:\DLib\dlib-master\build\temp.win-amd64-3. 10\Release_dlib_pybind11.vcxproj] D:\DLib\dlib-master\dlib\external\pybind11\include\pybind11/numpy.h(35,31): error C2338: ssize_t != Py_intptr_t (compil ing source file D:\DLib\dlib-master\tools\python\src\svm_struct.cpp) [D:\DLib\dlib-master\build\temp.win-amd64-3.10\Rel ease_dlib_pybind11.vcxproj] D:\DLib\dlib-master\dlib\external\pybind11\include\pybind11/numpy.h(35,31): error C2338: ssize_t != Py_intptr_t (compil ing source file D:\DLib\dlib-master\tools\python\src\vector.cpp) [D:\DLib\dlib-master\build\temp.win-amd64-3.10\Release _dlib_pybind11.vcxproj] D:\DLib\dlib-master\dlib\external\pybind11\include\pybind11/numpy.h(35,31): error C2338: ssize_t != Py_intptr_t (compil ing source file D:\DLib\dlib-master\tools\python\src\svm_c_trainer.cpp) [D:\DLib\dlib-master\build\temp.win-amd64-3.10\ Release_dlib_pybind11.vcxproj] D:\DLib\dlib-master\dlib\external\pybind11\include\pybind11/numpy.h(35,31): error C2338: ssize_t != Py_intptr_t (compil ing source file D:\DLib\dlib-master\tools\python\src\matrix.cpp) [D:\DLib\dlib-master\build\temp.win-amd64-3.10\Release _dlib_pybind11.vcxproj] D:\DLib\dlib-master\dlib\external\pybind11\include\pybind11/numpy.h(35,31): error C2338: ssize_t != Py_intptr_t (compil ing source file D:\DLib\dlib-master\tools\python\src\other.cpp) [D:\DLib\dlib-master\build\temp.win-amd64-3.10\Release\ _dlib_pybind11.vcxproj] D:\DLib\dlib-master\dlib\external\pybind11\include\pybind11/numpy.h(35,31): error C2338: ssize_t != Py_intptr_t (compil ing source file D:\DLib\dlib-master\tools\python\src\image4.cpp) [D:\DLib\dlib-master\build\temp.win-amd64-3.10\Release _dlib_pybind11.vcxproj] D:\DLib\dlib-master\dlib\external\pybind11\include\pybind11/numpy.h(35,31): error C2338: ssize_t != Py_intptr_t (compil ing source file D:\DLib\dlib-master\tools\python\src\image3.cpp) [D:\DLib\dlib-master\build\temp.win-amd64-3.10\Release _dlib_pybind11.vcxproj] D:\DLib\dlib-master\dlib\external\pybind11\include\pybind11/numpy.h(35,31): error C2338: ssize_t != Py_intptr_t (compil ing source file D:\DLib\dlib-master\tools\python\src\image2.cpp) [D:\DLib\dlib-master\build\temp.win-amd64-3.10\Release _dlib_pybind11.vcxproj] D:\DLib\dlib-master\dlib\external\pybind11\include\pybind11/numpy.h(35,31): error C2338: ssize_t != Py_intptr_t (compil ing source file D:\DLib\dlib-master\tools\python\src\decision_functions.cpp) [D:\DLib\dlib-master\build\temp.win-amd64- 3.10\Release_dlib_pybind11.vcxproj] D:\DLib\dlib-master\dlib\external\pybind11\include\pybind11/numpy.h(35,31): error C2338: ssize_t != Py_intptrt (compil ing source file D:\DLib\dlib-master\tools\python\src\dlib.cpp) [D:\DLib\dlib-master\build\temp.win-amd64-3.10\Release\ dlib_pybind11.vcxproj] D:\DLib\dlib-master\dlib\external\pybind11\include\pybind11/numpy.h(35,31): error C2338: ssize_t != Py_intptr_t (compil ing source file D:\DLib\dlib-master\tools\python\src\sequence_segmenter.cpp) [D:\DLib\dlib-master\build\temp.win-amd64- 3.10\Release_dlib_pybind11.vcxproj] D:\DLib\dlib-master\dlib\external\pybind11\include\pybind11/numpy.h(35,31): error C2338: ssize_t != Py_intptr_t (compil ing source file D:\DLib\dlib-master\tools\python\src\rectangles.cpp) [D:\DLib\dlib-master\build\temp.win-amd64-3.10\Rel ease_dlib_pybind11.vcxproj] D:\DLib\dlib-master\dlib\external\pybind11\include\pybind11/numpy.h(35,31): error C2338: ssize_t != Py_intptr_t (compil ing source file D:\DLib\dlib-master\tools\python\src\basic.cpp) [D:\DLib\dlib-master\build\temp.win-amd64-3.10\Release\ _dlib_pybind11.vcxproj] D:\DLib\dlib-master\dlib\external\pybind11\include\pybind11/numpy.h(35,31): error C2338: ssize_t != Py_intptr_t (compil ing source file D:\DLib\dlib-master\tools\python\src\image.cpp) [D:\DLib\dlib-master\build\temp.win-amd64-3.10\Release\ _dlib_pybind11.vcxproj] D:\DLib\dlib-master\dlib\external\pybind11\include\pybind11/numpy.h(35,31): error C2338: ssize_t != Py_intptr_t (compil ing source file D:\DLib\dlib-master\tools\python\src\cca.cpp) [D:\DLib\dlib-master\build\temp.win-amd64-3.10\Release_d lib_pybind11.vcxproj] object_detection.cpp shape_predictor.cpp correlation_tracker.cpp face_recognition.cpp cnn_face_detector.cpp global_optimization.cpp image_dataset_metadata.cpp numpy_returns.cpp line.cpp gui.cpp D:\DLib\dlib-master\dlib\external\pybind11\include\pybind11/numpy.h(35,22): error C2065: 'ssize_t': undeclared identifi er (compiling source file D:\DLib\dlib-master\tools\python\src\object_detection.cpp) [D:\DLib\dlib-master\build\temp.wi n-amd64-3.10\Release_dlib_pybind11.vcxproj] D:\DLib\dlib-master\dlib\external\pybind11\include\pybind11/numpy.h(35,31): error C2338: ssize_t != Py_intptr_t (compil ing source file D:\DLib\dlib-master\tools\python\src\object_detection.cpp) [D:\DLib\dlib-master\build\temp.win-amd64-3. 10\Release_dlib_pybind11.vcxproj] D:\DLib\dlib-master\dlib\external\pybind11\include\pybind11/numpy.h(35,22): error C2065: 'ssize_t': undeclared identifi er (compiling source file D:\DLib\dlib-master\tools\python\src\shape_predictor.cpp) [D:\DLib\dlib-master\build\temp.win -amd64-3.10\Release_dlib_pybind11.vcxproj] D:\DLib\dlib-master\dlib\external\pybind11\include\pybind11/numpy.h(35,31): error C2338: ssize_t != Py_intptr_t (compil ing source file D:\DLib\dlib-master\tools\python\src\shape_predictor.cpp) [D:\DLib\dlib-master\build\temp.win-amd64-3.1 0\Release_dlib_pybind11.vcxproj] D:\DLib\dlib-master\dlib\external\pybind11\include\pybind11/numpy.h(35,22): error C2065: 'ssize_t': undeclared identifi er (compiling source file D:\DLib\dlib-master\tools\python\src\correlation_tracker.cpp) [D:\DLib\dlib-master\build\temp .win-amd64-3.10\Release_dlib_pybind11.vcxproj] D:\DLib\dlib-master\dlib\external\pybind11\include\pybind11/numpy.h(35,31): error C2338: ssize_t != Py_intptr_t (compil ing source file D:\DLib\dlib-master\tools\python\src\correlation_tracker.cpp) [D:\DLib\dlib-master\build\temp.win-amd64 -3.10\Release_dlib_pybind11.vcxproj] D:\DLib\dlib-master\dlib\external\pybind11\include\pybind11/numpy.h(35,22): error C2065: 'ssize_t': undeclared identifi er (compiling source file D:\DLib\dlib-master\tools\python\src\cnn_face_detector.cpp) [D:\DLib\dlib-master\build\temp.w in-amd64-3.10\Release_dlib_pybind11.vcxproj] D:\DLib\dlib-master\dlib\external\pybind11\include\pybind11/numpy.h(35,31): error C2338: ssize_t != Py_intptr_t (compil ing source file D:\DLib\dlib-master\tools\python\src\cnn_face_detector.cpp) [D:\DLib\dlib-master\build\temp.win-amd64-3 .10\Release_dlib_pybind11.vcxproj] D:\DLib\dlib-master\dlib\external\pybind11\include\pybind11/numpy.h(35,22): error C2065: 'ssize_t': undeclared identifi er (compiling source file D:\DLib\dlib-master\tools\python\src\global_optimization.cpp) [D:\DLib\dlib-master\build\temp .win-amd64-3.10\Release_dlib_pybind11.vcxproj] D:\DLib\dlib-master\dlib\external\pybind11\include\pybind11/numpy.h(35,31): error C2338: ssize_t != Py_intptr_t (compil ing source file D:\DLib\dlib-master\tools\python\src\global_optimization.cpp) [D:\DLib\dlib-master\build\temp.win-amd64 -3.10\Release_dlib_pybind11.vcxproj] D:\DLib\dlib-master\dlib\external\pybind11\include\pybind11/numpy.h(35,22): error C2065: 'ssize_t': undeclared identifi er (compiling source file D:\DLib\dlib-master\tools\python\src\face_recognition.cpp) [D:\DLib\dlib-master\build\temp.wi n-amd64-3.10\Release_dlib_pybind11.vcxproj] D:\DLib\dlib-master\dlib\external\pybind11\include\pybind11/numpy.h(35,31): error C2338: ssize_t != Py_intptr_t (compil ing source file D:\DLib\dlib-master\tools\python\src\face_recognition.cpp) [D:\DLib\dlib-master\build\temp.win-amd64-3. 10\Release_dlib_pybind11.vcxproj] D:\DLib\dlib-master\dlib\external\pybind11\include\pybind11/numpy.h(35,22): error C2065: 'ssize_t': undeclared identifi er (compiling source file D:\DLib\dlib-master\tools\python\src\image_dataset_metadata.cpp) [D:\DLib\dlib-master\build\t emp.win-amd64-3.10\Release_dlib_pybind11.vcxproj] D:\DLib\dlib-master\dlib\external\pybind11\include\pybind11/numpy.h(35,31): error C2338: ssize_t != Py_intptr_t (compil ing source file D:\DLib\dlib-master\tools\python\src\image_dataset_metadata.cpp) [D:\DLib\dlib-master\build\temp.win-am d64-3.10\Release_dlib_pybind11.vcxproj] D:\DLib\dlib-master\dlib\external\pybind11\include\pybind11/numpy.h(35,22): error C2065: 'ssize_t': undeclared identifi er (compiling source file D:\DLib\dlib-master\tools\python\src\numpy_returns.cpp) [D:\DLib\dlib-master\build\temp.win-a md64-3.10\Release_dlib_pybind11.vcxproj] D:\DLib\dlib-master\dlib\external\pybind11\include\pybind11/numpy.h(35,31): error C2338: ssize_t != Py_intptr_t (compil ing source file D:\DLib\dlib-master\tools\python\src\numpy_returns.cpp) [D:\DLib\dlib-master\build\temp.win-amd64-3.10\ Release_dlib_pybind11.vcxproj] D:\DLib\dlib-master\dlib\external\pybind11\include\pybind11/numpy.h(35,22): error C2065: 'ssize_t': undeclared identifi er (compiling source file D:\DLib\dlib-master\tools\python\src\line.cpp) [D:\DLib\dlib-master\build\temp.win-amd64-3.10 \Release_dlib_pybind11.vcxproj] D:\DLib\dlib-master\dlib\external\pybind11\include\pybind11/numpy.h(35,31): error C2338: ssize_t != Py_intptrt (compil ing source file D:\DLib\dlib-master\tools\python\src\line.cpp) [D:\DLib\dlib-master\build\temp.win-amd64-3.10\Release\ dlib_pybind11.vcxproj] D:\DLib\dlib-master\dlib\external\pybind11\include\pybind11/numpy.h(35,22): error C2065: 'ssize_t': undeclared identifi er (compiling source file D:\DLib\dlib-master\tools\python\src\gui.cpp) [D:\DLib\dlib-master\build\temp.win-amd64-3.10\ Release_dlib_pybind11.vcxproj] D:\DLib\dlib-master\dlib\external\pybind11\include\pybind11/numpy.h(35,31): error C2338: ssize_t != Py_intptr_t (compil ing source file D:\DLib\dlib-master\tools\python\src\gui.cpp) [D:\DLib\dlib-master\build\temp.win-amd64-3.10\Release_d lib_pybind11.vcxproj] Traceback (most recent call last): File "D:\DLib\dlib-master\setup.py", line 222, in
setup(
File "C:\Users\Human Systems Lab\AppData\Local\Programs\Python\Python310\lib\site-packages\setuptools__init__.py", line 153, in setup
return distutils.core.setup(**attrs)
File "C:\Users\Human Systems Lab\AppData\Local\Programs\Python\Python310\lib\distutils\core.py", line 148, in setup
dist.run_commands()
File "C:\Users\Human Systems Lab\AppData\Local\Programs\Python\Python310\lib\distutils\dist.py", line 966, in run_commands
self.run_command(cmd)
File "C:\Users\Human Systems Lab\AppData\Local\Programs\Python\Python310\lib\distutils\dist.py", line 985, in run_command
cmd_obj.run()
File "C:\Users\Human Systems Lab\AppData\Local\Programs\Python\Python310\lib\site-packages\setuptools\command\install.py", line 67, in run
self.do_egg_install()
File "C:\Users\Human Systems Lab\AppData\Local\Programs\Python\Python310\lib\site-packages\setuptools\command\install.py", line 109, in do_egg_install
self.run_command('bdist_egg')
File "C:\Users\Human Systems Lab\AppData\Local\Programs\Python\Python310\lib\distutils\cmd.py", line 313, in run_command
self.distribution.run_command(command)
File "C:\Users\Human Systems Lab\AppData\Local\Programs\Python\Python310\lib\distutils\dist.py", line 985, in run_command
cmd_obj.run()
File "C:\Users\Human Systems Lab\AppData\Local\Programs\Python\Python310\lib\site-packages\setuptools\command\bdist_egg.py", line 164, in run
cmd = self.call_command('install_lib', warn_dir=0)
File "C:\Users\Human Systems Lab\AppData\Local\Programs\Python\Python310\lib\site-packages\setuptools\command\bdist_egg.py", line 150, in call_command
self.run_command(cmdname)
File "C:\Users\Human Systems Lab\AppData\Local\Programs\Python\Python310\lib\distutils\cmd.py", line 313, in run_command
self.distribution.run_command(command)
File "C:\Users\Human Systems Lab\AppData\Local\Programs\Python\Python310\lib\distutils\dist.py", line 985, in run_command
cmd_obj.run()
File "C:\Users\Human Systems Lab\AppData\Local\Programs\Python\Python310\lib\site-packages\setuptools\command\install_lib.py", line 11, in run
self.build()
File "C:\Users\Human Systems Lab\AppData\Local\Programs\Python\Python310\lib\distutils\command\install_lib.py", line 107, in build
self.run_command('build_ext')
File "C:\Users\Human Systems Lab\AppData\Local\Programs\Python\Python310\lib\distutils\cmd.py", line 313, in run_command
self.distribution.run_command(command)
File "C:\Users\Human Systems Lab\AppData\Local\Programs\Python\Python310\lib\distutils\dist.py", line 985, in run_command
cmd_obj.run()
File "D:\DLib\dlib-master\setup.py", line 134, in run
self.build_extension(ext)
File "D:\DLib\dlib-master\setup.py", line 174, in build_extension
subprocess.check_call(cmake_build, cwd=build_folder)
File "C:\Users\Human Systems Lab\AppData\Local\Programs\Python\Python310\lib\subprocess.py", line 369, in check_call
raise CalledProcessError(retcode, cmd)
subprocess.CalledProcessError: Command '['cmake', '--build', '.', '--config', 'Release', '--', '/m']' returned non-zero exit status 1.
Steps to Reproduce
Here are the steps I followed up to this point. I have tried rerunning multiple times with no improvements, but I was able to get it to compile following these same steps on a different computer.
Any help would be greatly appreciated as I am fairly experienced in python but these errors are far beyond anything I know how to troubleshoot on my own. Thanks