Python setup.py install failed
Platform: Win2016, Python 3.6.6, vs 2017, _MSC_VER=1916, cuda 11.2, cudnn 8, dlib 19.21.1
##General Description
Open a command prompt Go to dlib-master directory Run " python setup.py install" Error: ..... ( The build process is OK) creating build\bdist.win-amd64 creating build\bdist.win-amd64\egg creating build\bdist.win-amd64\egg\dlib copying build\lib.win-amd64-3.6\dlib_init_.py -> build\bdist.win-amd64\egg\dlib copying build\lib.win-amd64-3.6_dlib_pybind11.cp36-win_amd64.pyd -> build\bdist.win-amd64\egg byte-compiling build\bdist.win-amd64\egg\dlib_init_.py to init.cpython-36.pyc creating stub loader for _dlib_pybind11.cp36-win_amd64.pyd byte-compiling build\bdist.win-amd64\egg_dlib_pybind11.py to _dlib_pybind11.cpython-36.pyc creating build\bdist.win-amd64\egg\EGG-INFO copying tools\python\dlib.egg-info\PKG-INFO -> build\bdist.win-amd64\egg\EGG-INFO copying tools\python\dlib.egg-info\SOURCES.txt -> build\bdist.win-amd64\egg\EGG-INFO copying tools\python\dlib.egg-info\dependency_links.txt -> build\bdist.win-amd64\egg\EGG-INFO copying tools\python\dlib.egg-info\not-zip-safe -> build\bdist.win-amd64\egg\EGG-INFO copying tools\python\dlib.egg-info\top_level.txt -> build\bdist.win-amd64\egg\EGG-INFO error: [WinError 183] Cannot create a file when that file already exists: 'build\bdist.win-amd64\egg\EGG-INFO\PKG-INFO'
The Build process is aborted here.
After some investigation it appears the problem is with the generation of the sources.txt file in the tools\python\dlib.egg-info\ folder. Every file in the same folder is listed there multiple times, including PKG-INFO. If the setup is trying to copy those files in the list to the destination folder, it will fail for sure.
D:\temp\dlib-19.21>grep -Ri --exclude=*.{cpp,h} "pkg-info" * build/bdist.win-amd64/egg/EGG-INFO/SOURCES.txt:tools/python/dlib.egg-info/PKG-INFO build/bdist.win-amd64/egg/EGG-INFO/SOURCES.txt:tools/python/dlib.egg-info/PKG-INFO build/bdist.win-amd64/egg/EGG-INFO/SOURCES.txt:tools/python/dlib.egg-info/PKG-INFO/ tools/python/dlib.egg-info/SOURCES.txt:tools/python/dlib.egg-info/PKG-INFO tools/python/dlib.egg-info/SOURCES.txt:tools/python/dlib.egg-info/PKG-INFO tools/python/dlib.egg-info/SOURCES.txt:tools/python/dlib.egg-info/PKG-INFO/
Expected Behavior
The build process will go through
Current Behavior
Build process failed, and no dlib is installed.
Steps to Reproduce
See description above.
- Version: 19.21
- Where did you get dlib: http://dlib.net
- Platform: Windows Server 2016 64bit.
- Compiler: MS VC++. see details below D:\temp\dlib-19.21>python setup.py install 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*' 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.6.6 (v3.6.6:4cf1f54eb7, Jun 27 2018, 03:37:03) [MSC v.1900 64 bit (AMD64)] Invoking CMake setup: 'cmake D:\temp\dlib-19.21\tools\python -DCMAKE_LIBRARY_OUTPUT_DIRECTORY=D:\temp\dlib-19.21\build\lib.win-amd64-3.6 -DPYTHON_EXECUTABLE=C:\Program Files (x86)\Microsoft Visual Studio\Shared\Python36_64\python.exe -DCMAKE_LIBRARY_OUTPUT_DIRECTORY_RELEASE=D:\temp\dlib-19.21\build\lib.win-amd64-3.6 -A x64' -- Building for: Visual Studio 15 2017 -- Selecting Windows SDK version 10.0.17763.0 to target Windows 10.0.14393. -- The C compiler identification is MSVC 19.16.27031.1 -- The CXX compiler identification is MSVC 19.16.27031.1 -- Detecting C compiler ABI info -- Detecting C compiler ABI info - done -- Check for working C compiler: d:/Program Files (x86)/Microsoft Visual Studio/2017/Enterprise/VC/Tools/MSVC/14.16.27023/bin/Hostx86/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:/Program Files (x86)/Microsoft Visual Studio/2017/Enterprise/VC/Tools/MSVC/14.16.27023/bin/Hostx86/x64/cl.exe - skipped -- Detecting CXX compile features -- Detecting CXX compile features - done -- Found PythonInterp: C:/Program Files (x86)/Microsoft Visual Studio/Shared/Python36_64/python.exe (found version "3.6.6") -- Found PythonLibs: C:/Program Files (x86)/Microsoft Visual Studio/Shared/Python36_64/libs/Python36.lib -- pybind11 v2.2.2 -- Using CMake version: 3.19.4 -- Compiling dlib version: 19.21.0 -- 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.2 (found suitable version "11.2", minimum required is "7.5") -- Looking for cuDNN install... -- Found cuDNN: C:/Program Files/NVIDIA GPU Computing Toolkit/CUDA/v11.2/lib/x64/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 -- C++11 activated. -- Configuring done
Try deleting everything, downloading the latest dlib from github, and running the install again.
On Sun, Feb 7, 2021 at 12:02 PM davyuan [email protected] wrote:
Platform: Win2016, Python 3.6.6, vs 2017, _MSC_VER=1916, cuda 11.2, cudnn 8, dlib 19.21.1 ##General Description
Open a command prompt Go to dlib-master directory Run " python setup.py install" Error: ..... ( The build process is OK) creating build\bdist.win-amd64 creating build\bdist.win-amd64\egg creating build\bdist.win-amd64\egg\dlib copying build\lib.win-amd64-3.6\dlib_init.py -> build\bdist.win-amd64\egg\dlib copying build\lib.win-amd64-3.6_dlib_pybind11.cp36-win_amd64.pyd -> build\bdist.win-amd64\egg byte-compiling build\bdist.win-amd64\egg\dlibinit_.py to init .cpython-36.pyc creating stub loader for _dlib_pybind11.cp36-win_amd64.pyd byte-compiling build\bdist.win-amd64\egg_dlib_pybind11.py to _dlib_pybind11.cpython-36.pyc creating build\bdist.win-amd64\egg\EGG-INFO copying tools\python\dlib.egg-info\PKG-INFO -> build\bdist.win-amd64\egg\EGG-INFO copying tools\python\dlib.egg-info\SOURCES.txt -> build\bdist.win-amd64\egg\EGG-INFO copying tools\python\dlib.egg-info\dependency_links.txt -> build\bdist.win-amd64\egg\EGG-INFO copying tools\python\dlib.egg-info\not-zip-safe -> build\bdist.win-amd64\egg\EGG-INFO copying tools\python\dlib.egg-info\top_level.txt -> build\bdist.win-amd64\egg\EGG-INFO error: [WinError 183] Cannot create a file when that file already exists: 'build\bdist.win-amd64\egg\EGG-INFO\PKG-INFO'
The Build process is aborted here.
After some investigation it appears the problem is with the generation of the sources.txt file in the tools\python\dlib.egg-info\ folder. Every file in the same folder is listed there multiple times, including PKG-INFO. If the setup is trying to copy those files in the list to the destination folder, it will fail for sure.
D:\temp\dlib-19.21>grep -Ri --exclude=*.{cpp,h} "pkg-info" *
build/bdist.win-amd64/egg/EGG-INFO/SOURCES.txt:tools/python/dlib.egg-info/PKG-INFO
build/bdist.win-amd64/egg/EGG-INFO/SOURCES.txt:tools/python/dlib.egg-info/PKG-INFO
build/bdist.win-amd64/egg/EGG-INFO/SOURCES.txt:tools/python/dlib.egg-info/PKG-INFO/ tools/python/dlib.egg-info/SOURCES.txt:tools/python/dlib.egg-info/PKG-INFO tools/python/dlib.egg-info/SOURCES.txt:tools/python/dlib.egg-info/PKG-INFO tools/python/dlib.egg-info/SOURCES.txt:tools/python/dlib.egg-info/PKG-INFO/ Expected Behavior
The build process will go through Current Behavior
Build process failed, and no dlib is installed. Steps to Reproduce
See description above.
- Version: 19.21
- Where did you get dlib: http://dlib.net
- Platform: Windows Server 2016 64bit.
- Compiler: MS VC++. see details below D:\temp\dlib-19.21>python setup.py install 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*' 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.6.6 (v3.6.6:4cf1f54eb7, Jun 27 2018, 03:37:03) [MSC v.1900 64 bit (AMD64)] Invoking CMake setup: 'cmake D:\temp\dlib-19.21\tools\python -DCMAKE_LIBRARY_OUTPUT_DIRECTORY=D:\temp\dlib-19.21\build\lib.win-amd64-3.6 -DPYTHON_EXECUTABLE=C:\Program Files (x86)\Microsoft Visual Studio\Shared\Python36_64\python.exe -DCMAKE_LIBRARY_OUTPUT_DIRECTORY_RELEASE=D:\temp\dlib-19.21\build\lib.win-amd64-3.6 -A x64' -- Building for: Visual Studio 15 2017 -- Selecting Windows SDK version 10.0.17763.0 to target Windows 10.0.14393. -- The C compiler identification is MSVC 19.16.27031.1 -- The CXX compiler identification is MSVC 19.16.27031.1 -- Detecting C compiler ABI info -- Detecting C compiler ABI info - done -- Check for working C compiler: d:/Program Files (x86)/Microsoft Visual Studio/2017/Enterprise/VC/Tools/MSVC/14.16.27023/bin/Hostx86/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:/Program Files (x86)/Microsoft Visual Studio/2017/Enterprise/VC/Tools/MSVC/14.16.27023/bin/Hostx86/x64/cl.exe - skipped -- Detecting CXX compile features -- Detecting CXX compile features - done -- Found PythonInterp: C:/Program Files (x86)/Microsoft Visual Studio/Shared/Python36_64/python.exe (found version "3.6.6") -- Found PythonLibs: C:/Program Files (x86)/Microsoft Visual Studio/Shared/Python36_64/libs/Python36.lib -- pybind11 v2.2.2 -- Using CMake version: 3.19.4 -- Compiling dlib version: 19.21.0 -- 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.2 (found suitable version "11.2", minimum required is "7.5") -- Looking for cuDNN install... -- Found cuDNN: C:/Program Files/NVIDIA GPU Computing Toolkit/CUDA/v11.2/lib/x64/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 -- C++11 activated. -- Configuring done
— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/davisking/dlib/issues/2299, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABPYFR42MBRTRE2WZUWEQM3S53BTXANCNFSM4XHULSFA .
just tried that, downloaded the tip of the tree from master. Still the same error.
Platform: Windows 10, Python 3.8.5, vs 2019, _MSC_VER=1926, cuda 11.0, cudnn 8, dlib from source
Having the same issue with CUDA 11.0 but had no trouble installing with CUDA 10.0 after a minor fix (changed line 141 in CUDA/v10.0/include/crt/host_config.h to #if _MSC_VER < 1700 || _MSC_VER >= 2000 to avoid the "unsupported Microsoft Visual Studio version" error message, it's working perfectly now).
But I really need CUDA 11.0, any idea how to fix this?
python setup.py install
running install
running bdist_egg
running 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
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*'
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.8.5 (default, Sep 3 2020, 21:29:08) [MSC v.1916 64 bit (AMD64)]
Invoking CMake setup: 'cmake C:\dlibcu110\tools\python -DCMAKE_LIBRARY_OUTPUT_DIRECTORY=C:\dlibcu110\build\lib.win-amd64-3.8 -DPYTHON_EXECUTABLE=C:\ProgramData\Anaconda3\envs\pttf2cu110py38\python.exe -DCMAKE_LIBRARY_OUTPUT_DIRECTORY_RELEASE=C:\dlibcu110\build\lib.win-amd64-3.8 -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.26.28804.1
-- The CXX compiler identification is MSVC 19.26.28804.1
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working C compiler: C:/Program Files (x86)/Microsoft Visual Studio/2019/Preview/VC/Tools/MSVC/14.26.28801/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: C:/Program Files (x86)/Microsoft Visual Studio/2019/Preview/VC/Tools/MSVC/14.26.28801/bin/Hostx64/x64/cl.exe - skipped
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Found PythonInterp: C:/ProgramData/Anaconda3/envs/pttf2cu110py38/python.exe (found version "3.8.5")
-- Found PythonLibs: C:/ProgramData/Anaconda3/envs/pttf2cu110py38/libs/Python38.lib
-- pybind11 v2.2.4
-- Using CMake version: 3.19.4
-- Compiling dlib version: 19.21.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
-- FOUND libiomp5md.dll: C:/Program Files (x86)/Common Files/Intel/Shared Libraries/redist/intel64/compiler/libiomp5md.dll
-- Looking for pthread.h
-- Looking for pthread.h - not found
-- Found Threads: TRUE
-- Looking for sgesv
-- Looking for sgesv - not found
-- Looking for sgesv_
-- Looking for sgesv_ - found
-- Found CUDA: C:/Program Files/NVIDIA GPU Computing Toolkit/CUDA/v11.0 (found suitable version "11.0", minimum required is "7.5")
-- Looking for cuDNN install...
-- Found cuDNN: C:/Program Files/NVIDIA GPU Computing Toolkit/CUDA/v11.0/lib/x64/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
-- C++11 activated.
-- Configuring done
-- Generating done
-- Build files have been written to: C:/dlibcu110/build/temp.win-amd64-3.8/Release
Invoking CMake build: 'cmake --build . --config Release -- /m'
Microsoft (R) Build Engine version 16.6.0-preview-20208-15+2f58c1427 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). [C:\dlibcu
110\build\temp.win-amd64-3.8\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). [C:\dlibcu
110\build\temp.win-amd64-3.8\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). [C:\dlibcu
110\build\temp.win-amd64-3.8\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). [C:\dlibcu
110\build\temp.win-amd64-3.8\Release\dlib_build\dlib.vcxproj]
cusolver_dlibapi.cu
Building Custom Rule C:/dlibcu110/dlib/CMakeLists.txt
CMake is re-running because C:/dlibcu110/build/temp.win-amd64-3.8/Release/dlib_build/CMakeFiles/generate.stamp is out
-of-date.
the file 'C:/dlibcu110/build/temp.win-amd64-3.8/Release/dlib_build/CMakeFiles/dlib.dir/cuda/dlib_generated_cuda_dli
b.cu.obj.depend'
is newer than 'C:/dlibcu110/build/temp.win-amd64-3.8/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.19.4
-- Compiling dlib version: 19.21.99
-- SSE4 instructions can be executed by the host processor.
-- AVX instructions can be executed by the host processor.
-- Enabling AVX instructions
-- Searching for BLAS and LAPACK
-- Searching for BLAS and LAPACK
-- FOUND libiomp5md.dll: C:/Program Files (x86)/Common Files/Intel/Shared Libraries/redist/intel64/compiler/libiomp5m
d.dll
-- Looking for cuDNN install...
-- Found cuDNN: C:/Program Files/NVIDIA GPU Computing Toolkit/CUDA/v11.0/lib/x64/cudnn.lib
-- Enabling CUDA support for dlib. DLIB WILL USE CUDA
-- C++11 activated.
-- Configuring done
-- Generating done
-- Build files have been written to: C:/dlibcu110/build/temp.win-amd64-3.8/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
fonts.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
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
inftrees.c
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
jdinput.c
C:\dlibcu110\dlib\external\libjpeg\jdatadst.c(185,60): warning C4267: '=': conversion from 'size_t' to 'unsigned long',
possible loss of data [C:\dlibcu110\build\temp.win-amd64-3.8\Release\dlib_build\dlib.vcxproj]
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
C:\dlibcu110\dlib\external\libjpeg\jerror.c(193,5): warning C4996: 'sprintf': This function or variable may be unsafe.
Consider using sprintf_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details. [C:
\dlibcu110\build\temp.win-amd64-3.8\Release\dlib_build\dlib.vcxproj]
C:\dlibcu110\dlib\external\libjpeg\jerror.c(195,5): warning C4996: 'sprintf': This function or variable may be unsafe.
Consider using sprintf_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details. [C:
\dlibcu110\build\temp.win-amd64-3.8\Release\dlib_build\dlib.vcxproj]
jquant2.c
jutils.c
C:\dlibcu110\dlib\external\libjpeg\jmemmgr.c(307,53): warning C4267: '+=': conversion from 'size_t' to 'long', possible
loss of data [C:\dlibcu110\build\temp.win-amd64-3.8\Release\dlib_build\dlib.vcxproj]
C:\dlibcu110\dlib\external\libjpeg\jmemmgr.c(367,70): warning C4267: '+=': conversion from 'size_t' to 'long', possible
loss of data [C:\dlibcu110\build\temp.win-amd64-3.8\Release\dlib_build\dlib.vcxproj]
C:\dlibcu110\dlib\external\libjpeg\jmemmgr.c(977,46): warning C4267: '-=': conversion from 'size_t' to 'long', possible
loss of data [C:\dlibcu110\build\temp.win-amd64-3.8\Release\dlib_build\dlib.vcxproj]
C:\dlibcu110\dlib\external\libjpeg\jmemmgr.c(991,46): warning C4267: '-=': conversion from 'size_t' to 'long', possible
loss of data [C:\dlibcu110\build\temp.win-amd64-3.8\Release\dlib_build\dlib.vcxproj]
C:\dlibcu110\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 details. [
C:\dlibcu110\build\temp.win-amd64-3.8\Release\dlib_build\dlib.vcxproj]
C:\dlibcu110\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 details. [C
:\dlibcu110\build\temp.win-amd64-3.8\Release\dlib_build\dlib.vcxproj]
dlib.vcxproj -> C:\dlibcu110\build\temp.win-amd64-3.8\Release\dlib_build\Release\dlib19.21.99_release_64bit_msvc1926.
lib
Building Custom Rule C:/dlibcu110/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
object_detection.cpp
shape_predictor.cpp
C:\dlibcu110\dlib\..\dlib/image_transforms/assign_image.h(86,45): warning C4018: '>=': signed/unsigned mismatch (compil
ing source file C:\dlibcu110\tools\python\src\image3.cpp) [C:\dlibcu110\build\temp.win-amd64-3.8\Release\_dlib_pybind11
.vcxproj]
C:\dlibcu110\dlib\..\dlib/image_transforms/assign_image.h(160): message : see reference to function template instantiat
ion 'void dlib::impl_assign_image_scaled<out_image_type,src_image_type>(dlib::image_view<out_image_type> &,const src_im
age_type &,const double)' being compiled [C:\dlibcu110\build\temp.win-amd64-3.8\Release\_dlib_pybind11.vcxproj]
with
[
out_image_type=dlib::numpy_image<int8_t>,
src_image_type=dlib::matrix_op<dlib::op_image_to_mat<dlib::numpy_image<uint32_t>,uint32_t>>
] (compiling source file C:\dlibcu110\tools\python\src\image3.cpp)
C:\dlibcu110\dlib\..\dlib/image_transforms/assign_image.h(177): message : see reference to function template instantiat
ion 'void dlib::impl_assign_image_scaled<dest_image_type,dlib::matrix_op<dlib::op_image_to_mat<src_image_type,T>>>(dest
_image_type &,const dlib::matrix_op<dlib::op_image_to_mat<src_image_type,T>> &,const double)' being compiled [C:\dlibcu
110\build\temp.win-amd64-3.8\Release\_dlib_pybind11.vcxproj]
with
[
dest_image_type=dlib::numpy_image<int8_t>,
src_image_type=dlib::numpy_image<uint32_t>,
T=uint32_t
] (compiling source file C:\dlibcu110\tools\python\src\image3.cpp)
C:\dlibcu110\tools\python\src\image3.cpp(27): message : see reference to function template instantiation 'void dlib::as
sign_image_scaled<dlib::numpy_image<int8_t>,dlib::numpy_image<uint32_t>>(dest_image_type &,const src_image_type &,const
double)' being compiled [C:\dlibcu110\build\temp.win-amd64-3.8\Release\_dlib_pybind11.vcxproj]
with
[
dest_image_type=dlib::numpy_image<int8_t>,
src_image_type=dlib::numpy_image<uint32_t>
]
C:\dlibcu110\tools\python\src\image3.cpp(435): message : see reference to function template instantiation 'pybind11::ar
ray convert_image_scaled<uint32_t>(const dlib::numpy_image<uint32_t> &,const std::string &,const double)' being compile
d [C:\dlibcu110\build\temp.win-amd64-3.8\Release\_dlib_pybind11.vcxproj]
C:\dlibcu110\dlib\..\dlib/image_transforms/assign_image.h(87,45): warning C4018: '<=': signed/unsigned mismatch (compil
ing source file C:\dlibcu110\tools\python\src\image3.cpp) [C:\dlibcu110\build\temp.win-amd64-3.8\Release\_dlib_pybind11
.vcxproj]
correlation_tracker.cpp
face_recognition.cpp
cnn_face_detector.cpp
global_optimization.cpp
image_dataset_metadata.cpp
numpy_returns.cpp
line.cpp
gui.cpp
Creating library C:/dlibcu110/build/temp.win-amd64-3.8/Release/Release/_dlib_pybind11.lib and object C:/dlibcu110/
build/temp.win-amd64-3.8/Release/Release/_dlib_pybind11.exp
dlib19.21.99_release_64bit_msvc1926.lib(global_function_search.obj) : error LNK2001: unresolved external symbol cblas_d
gemm [C:\dlibcu110\build\temp.win-amd64-3.8\Release\_dlib_pybind11.vcxproj]
shape_predictor.obj : error LNK2001: unresolved external symbol cblas_dgemm [C:\dlibcu110\build\temp.win-amd64-3.8\Rele
ase\_dlib_pybind11.vcxproj]
correlation_tracker.obj : error LNK2001: unresolved external symbol cblas_dgemm [C:\dlibcu110\build\temp.win-amd64-3.8\
Release\_dlib_pybind11.vcxproj]
face_recognition.obj : error LNK2001: unresolved external symbol cblas_dgemm [C:\dlibcu110\build\temp.win-amd64-3.8\Rel
ease\_dlib_pybind11.vcxproj]
numpy_returns.obj : error LNK2001: unresolved external symbol cblas_dgemm [C:\dlibcu110\build\temp.win-amd64-3.8\Releas
e\_dlib_pybind11.vcxproj]
sequence_segmenter.obj : error LNK2001: unresolved external symbol cblas_dgemm [C:\dlibcu110\build\temp.win-amd64-3.8\R
elease\_dlib_pybind11.vcxproj]
svm_struct.obj : error LNK2001: unresolved external symbol cblas_dgemm [C:\dlibcu110\build\temp.win-amd64-3.8\Release\_
dlib_pybind11.vcxproj]
image2.obj : error LNK2001: unresolved external symbol cblas_dgemm [C:\dlibcu110\build\temp.win-amd64-3.8\Release\_dlib
_pybind11.vcxproj]
object_detection.obj : error LNK2001: unresolved external symbol cblas_dgemm [C:\dlibcu110\build\temp.win-amd64-3.8\Rel
ease\_dlib_pybind11.vcxproj]
vector.obj : error LNK2001: unresolved external symbol cblas_dgemm [C:\dlibcu110\build\temp.win-amd64-3.8\Release\_dlib
_pybind11.vcxproj]
svm_c_trainer.obj : error LNK2001: unresolved external symbol cblas_dgemm [C:\dlibcu110\build\temp.win-amd64-3.8\Releas
e\_dlib_pybind11.vcxproj]
decision_functions.obj : error LNK2001: unresolved external symbol cblas_dgemm [C:\dlibcu110\build\temp.win-amd64-3.8\R
elease\_dlib_pybind11.vcxproj]
cca.obj : error LNK2001: unresolved external symbol cblas_dgemm [C:\dlibcu110\build\temp.win-amd64-3.8\Release\_dlib_py
bind11.vcxproj]
dlib19.21.99_release_64bit_msvc1926.lib(global_function_search.obj) : error LNK2001: unresolved external symbol cblas_d
gemv [C:\dlibcu110\build\temp.win-amd64-3.8\Release\_dlib_pybind11.vcxproj]
sequence_segmenter.obj : error LNK2001: unresolved external symbol cblas_dgemv [C:\dlibcu110\build\temp.win-amd64-3.8\R
elease\_dlib_pybind11.vcxproj]
svm_struct.obj : error LNK2001: unresolved external symbol cblas_dgemv [C:\dlibcu110\build\temp.win-amd64-3.8\Release\_
dlib_pybind11.vcxproj]
image2.obj : error LNK2001: unresolved external symbol cblas_dgemv [C:\dlibcu110\build\temp.win-amd64-3.8\Release\_dlib
_pybind11.vcxproj]
object_detection.obj : error LNK2001: unresolved external symbol cblas_dgemv [C:\dlibcu110\build\temp.win-amd64-3.8\Rel
ease\_dlib_pybind11.vcxproj]
vector.obj : error LNK2001: unresolved external symbol cblas_dgemv [C:\dlibcu110\build\temp.win-amd64-3.8\Release\_dlib
_pybind11.vcxproj]
svm_c_trainer.obj : error LNK2001: unresolved external symbol cblas_dgemv [C:\dlibcu110\build\temp.win-amd64-3.8\Releas
e\_dlib_pybind11.vcxproj]
svm_rank_trainer.obj : error LNK2001: unresolved external symbol cblas_dgemv [C:\dlibcu110\build\temp.win-amd64-3.8\Rel
ease\_dlib_pybind11.vcxproj]
decision_functions.obj : error LNK2001: unresolved external symbol cblas_dgemv [C:\dlibcu110\build\temp.win-amd64-3.8\R
elease\_dlib_pybind11.vcxproj]
vector.obj : error LNK2019: unresolved external symbol cblas_dger referenced in function "void __cdecl dlib::blas_bindi
ngs::matrix_assign_blas<double,0,0,class dlib::memory_manager_stateless_kernel_1<char>,struct dlib::row_major_layout,cl
ass dlib::matrix_subtract_exp<class dlib::matrix_mul_scal_exp<class dlib::matrix_multiply_exp<class dlib::matrix<double
,0,1,class dlib::memory_manager_stateless_kernel_1<char>,struct dlib::row_major_layout>,class dlib::matrix_op<struct dl
ib::op_trans<class dlib::matrix<double,0,1,class dlib::memory_manager_stateless_kernel_1<char>,struct dlib::row_major_l
ayout> > > >,1>,class dlib::matrix_mul_scal_exp<class dlib::matrix_add_exp<class dlib::matrix_multiply_exp<class dlib::
matrix<double,0,1,class dlib::memory_manager_stateless_kernel_1<char>,struct dlib::row_major_layout>,class dlib::matrix
_op<struct dlib::op_trans<class dlib::matrix<double,0,1,class dlib::memory_manager_stateless_kernel_1<char>,struct dlib
::row_major_layout> > > >,class dlib::matrix_multiply_exp<class dlib::matrix<double,0,1,class dlib::memory_manager_stat
eless_kernel_1<char>,struct dlib::row_major_layout>,class dlib::matrix_op<struct dlib::op_trans<class dlib::matrix<doub
le,0,1,class dlib::memory_manager_stateless_kernel_1<char>,struct dlib::row_major_layout> > > > >,1> > >(class dlib::ma
trix<double,0,0,class dlib::memory_manager_stateless_kernel_1<char>,struct dlib::row_major_layout> &,class dlib::matrix
_add_exp<class dlib::matrix<double,0,0,class dlib::memory_manager_stateless_kernel_1<char>,struct dlib::row_major_layou
t>,class dlib::matrix_subtract_exp<class dlib::matrix_mul_scal_exp<class dlib::matrix_multiply_exp<class dlib::matrix<d
ouble,0,1,class dlib::memory_manager_stateless_kernel_1<char>,struct dlib::row_major_layout>,class dlib::matrix_op<stru
ct dlib::op_trans<class dlib::matrix<double,0,1,class dlib::memory_manager_stateless_kernel_1<char>,struct dlib::row_ma
jor_layout> > > >,1>,class dlib::matrix_mul_scal_exp<class dlib::matrix_add_exp<class dlib::matrix_multiply_exp<class d
lib::matrix<double,0,1,class dlib::memory_manager_stateless_kernel_1<char>,struct dlib::row_major_layout>,class dlib::m
atrix_op<struct dlib::op_trans<class dlib::matrix<double,0,1,class dlib::memory_manager_stateless_kernel_1<char>,struct
dlib::row_major_layout> > > >,class dlib::matrix_multiply_exp<class dlib::matrix<double,0,1,class dlib::memory_manager
_stateless_kernel_1<char>,struct dlib::row_major_layout>,class dlib::matrix_op<struct dlib::op_trans<class dlib::matrix
<double,0,1,class dlib::memory_manager_stateless_kernel_1<char>,struct dlib::row_major_layout> > > > >,1> > > const &)"
(??$matrix_assign_blas@N$0A@$0A@V?$memory_manager_stateless_kernel_1@D@dlib@@Urow_major_layout@2@V?$matrix_subtract_ex
p@V?$matrix_mul_scal_exp@V?$matrix_multiply_exp@V?$matrix@N$0A@$00V?$memory_manager_stateless_kernel_1@D@dlib@@Urow_maj
or_layout@2@@dlib@@V?$matrix_op@U?$op_trans@V?$matrix@N$0A@$00V?$memory_manager_stateless_kernel_1@D@dlib@@Urow_major_l
ayout@2@@dlib@@@dlib@@@2@@dlib@@$00@dlib@@V?$matrix_mul_scal_exp@V?$matrix_add_exp@V?$matrix_multiply_exp@V?$matrix@N$0
A@$00V?$memory_manager_stateless_kernel_1@D@dlib@@Urow_major_layout@2@@dlib@@V?$matrix_op@U?$op_trans@V?$matrix@N$0A@$0
0V?$memory_manager_stateless_kernel_1@D@dlib@@Urow_major_layout@2@@dlib@@@dlib@@@2@@dlib@@V12@@dlib@@$00@2@@2@@blas_bin
dings@dlib@@YAXAEAV?$matrix@N$0A@$0A@V?$memory_manager_stateless_kernel_1@D@dlib@@Urow_major_layout@2@@1@AEBV?$matrix_a
dd_exp@V?$matrix@N$0A@$0A@V?$memory_manager_stateless_kernel_1@D@dlib@@Urow_major_layout@2@@dlib@@V?$matrix_subtract_ex
p@V?$matrix_mul_scal_exp@V?$matrix_multiply_exp@V?$matrix@N$0A@$00V?$memory_manager_stateless_kernel_1@D@dlib@@Urow_maj
or_layout@2@@dlib@@V?$matrix_op@U?$op_trans@V?$matrix@N$0A@$00V?$memory_manager_stateless_kernel_1@D@dlib@@Urow_major_l
ayout@2@@dlib@@@dlib@@@2@@dlib@@$00@dlib@@V?$matrix_mul_scal_exp@V?$matrix_add_exp@V?$matrix_multiply_exp@V?$matrix@N$0
A@$00V?$memory_manager_stateless_kernel_1@D@dlib@@Urow_major_layout@2@@dlib@@V?$matrix_op@U?$op_trans@V?$matrix@N$0A@$0
0V?$memory_manager_stateless_kernel_1@D@dlib@@Urow_major_layout@2@@dlib@@@dlib@@@2@@dlib@@V12@@dlib@@$00@2@@2@@1@@Z) [C
:\dlibcu110\build\temp.win-amd64-3.8\Release\_dlib_pybind11.vcxproj]
decision_functions.obj : error LNK2001: unresolved external symbol cblas_dger [C:\dlibcu110\build\temp.win-amd64-3.8\Re
lease\_dlib_pybind11.vcxproj]
image2.obj : error LNK2001: unresolved external symbol cblas_dger [C:\dlibcu110\build\temp.win-amd64-3.8\Release\_dlib_
pybind11.vcxproj]
dlib19.21.99_release_64bit_msvc1926.lib(global_function_search.obj) : error LNK2001: unresolved external symbol cblas_d
dot [C:\dlibcu110\build\temp.win-amd64-3.8\Release\_dlib_pybind11.vcxproj]
sequence_segmenter.obj : error LNK2001: unresolved external symbol cblas_ddot [C:\dlibcu110\build\temp.win-amd64-3.8\Re
lease\_dlib_pybind11.vcxproj]
svm_struct.obj : error LNK2001: unresolved external symbol cblas_ddot [C:\dlibcu110\build\temp.win-amd64-3.8\Release\_d
lib_pybind11.vcxproj]
image2.obj : error LNK2001: unresolved external symbol cblas_ddot [C:\dlibcu110\build\temp.win-amd64-3.8\Release\_dlib_
pybind11.vcxproj]
object_detection.obj : error LNK2001: unresolved external symbol cblas_ddot [C:\dlibcu110\build\temp.win-amd64-3.8\Rele
ase\_dlib_pybind11.vcxproj]
vector.obj : error LNK2001: unresolved external symbol cblas_ddot [C:\dlibcu110\build\temp.win-amd64-3.8\Release\_dlib_
pybind11.vcxproj]
svm_c_trainer.obj : error LNK2001: unresolved external symbol cblas_ddot [C:\dlibcu110\build\temp.win-amd64-3.8\Release
\_dlib_pybind11.vcxproj]
svm_rank_trainer.obj : error LNK2001: unresolved external symbol cblas_ddot [C:\dlibcu110\build\temp.win-amd64-3.8\Rele
ase\_dlib_pybind11.vcxproj]
decision_functions.obj : error LNK2001: unresolved external symbol cblas_ddot [C:\dlibcu110\build\temp.win-amd64-3.8\Re
lease\_dlib_pybind11.vcxproj]
svm_c_trainer.obj : error LNK2019: unresolved external symbol cblas_dtrsm referenced in function "public: class dlib::m
atrix<double,0,0,class dlib::memory_manager_stateless_kernel_1<char>,struct dlib::row_major_layout> const __cdecl dlib:
:lu_decomposition<class dlib::matrix<double,0,0,class dlib::memory_manager_stateless_kernel_1<char>,struct dlib::row_ma
jor_layout> >::solve<class dlib::matrix_diag_op<struct dlib::op_identity_matrix_2<double> > >(class dlib::matrix_exp<cl
ass dlib::matrix_diag_op<struct dlib::op_identity_matrix_2<double> > > const &)const " (??$solve@V?$matrix_diag_op@U?$o
p_identity_matrix_2@N@dlib@@@dlib@@@?$lu_decomposition@V?$matrix@N$0A@$0A@V?$memory_manager_stateless_kernel_1@D@dlib@@
Urow_major_layout@2@@dlib@@@dlib@@QEBA?BV?$matrix@N$0A@$0A@V?$memory_manager_stateless_kernel_1@D@dlib@@Urow_major_layo
ut@2@@1@AEBV?$matrix_exp@V?$matrix_diag_op@U?$op_identity_matrix_2@N@dlib@@@dlib@@@1@@Z) [C:\dlibcu110\build\temp.win-a
md64-3.8\Release\_dlib_pybind11.vcxproj]
image.obj : error LNK2001: unresolved external symbol cblas_dtrsm [C:\dlibcu110\build\temp.win-amd64-3.8\Release\_dlib_
pybind11.vcxproj]
dlib19.21.99_release_64bit_msvc1926.lib(global_function_search.obj) : error LNK2001: unresolved external symbol cblas_d
trsm [C:\dlibcu110\build\temp.win-amd64-3.8\Release\_dlib_pybind11.vcxproj]
dlib19.21.99_release_64bit_msvc1926.lib(auto.obj) : error LNK2001: unresolved external symbol cblas_daxpy [C:\dlibcu110
\build\temp.win-amd64-3.8\Release\_dlib_pybind11.vcxproj]
dlib19.21.99_release_64bit_msvc1926.lib(global_function_search.obj) : error LNK2001: unresolved external symbol cblas_d
axpy [C:\dlibcu110\build\temp.win-amd64-3.8\Release\_dlib_pybind11.vcxproj]
svm_struct.obj : error LNK2001: unresolved external symbol cblas_daxpy [C:\dlibcu110\build\temp.win-amd64-3.8\Release\_
dlib_pybind11.vcxproj]
image.obj : error LNK2001: unresolved external symbol cblas_daxpy [C:\dlibcu110\build\temp.win-amd64-3.8\Release\_dlib_
pybind11.vcxproj]
object_detection.obj : error LNK2001: unresolved external symbol cblas_daxpy [C:\dlibcu110\build\temp.win-amd64-3.8\Rel
ease\_dlib_pybind11.vcxproj]
correlation_tracker.obj : error LNK2001: unresolved external symbol cblas_daxpy [C:\dlibcu110\build\temp.win-amd64-3.8\
Release\_dlib_pybind11.vcxproj]
svm_c_trainer.obj : error LNK2001: unresolved external symbol cblas_daxpy [C:\dlibcu110\build\temp.win-amd64-3.8\Releas
e\_dlib_pybind11.vcxproj]
svm_rank_trainer.obj : error LNK2001: unresolved external symbol cblas_daxpy [C:\dlibcu110\build\temp.win-amd64-3.8\Rel
ease\_dlib_pybind11.vcxproj]
decision_functions.obj : error LNK2001: unresolved external symbol cblas_daxpy [C:\dlibcu110\build\temp.win-amd64-3.8\R
elease\_dlib_pybind11.vcxproj]
sequence_segmenter.obj : error LNK2001: unresolved external symbol cblas_daxpy [C:\dlibcu110\build\temp.win-amd64-3.8\R
elease\_dlib_pybind11.vcxproj]
dlib19.21.99_release_64bit_msvc1926.lib(auto.obj) : error LNK2001: unresolved external symbol cblas_dscal [C:\dlibcu110
\build\temp.win-amd64-3.8\Release\_dlib_pybind11.vcxproj]
dlib19.21.99_release_64bit_msvc1926.lib(global_function_search.obj) : error LNK2001: unresolved external symbol cblas_d
scal [C:\dlibcu110\build\temp.win-amd64-3.8\Release\_dlib_pybind11.vcxproj]
svm_struct.obj : error LNK2001: unresolved external symbol cblas_dscal [C:\dlibcu110\build\temp.win-amd64-3.8\Release\_
dlib_pybind11.vcxproj]
image.obj : error LNK2001: unresolved external symbol cblas_dscal [C:\dlibcu110\build\temp.win-amd64-3.8\Release\_dlib_
pybind11.vcxproj]
object_detection.obj : error LNK2001: unresolved external symbol cblas_dscal [C:\dlibcu110\build\temp.win-amd64-3.8\Rel
ease\_dlib_pybind11.vcxproj]
correlation_tracker.obj : error LNK2001: unresolved external symbol cblas_dscal [C:\dlibcu110\build\temp.win-amd64-3.8\
Release\_dlib_pybind11.vcxproj]
svm_c_trainer.obj : error LNK2001: unresolved external symbol cblas_dscal [C:\dlibcu110\build\temp.win-amd64-3.8\Releas
e\_dlib_pybind11.vcxproj]
svm_rank_trainer.obj : error LNK2001: unresolved external symbol cblas_dscal [C:\dlibcu110\build\temp.win-amd64-3.8\Rel
ease\_dlib_pybind11.vcxproj]
decision_functions.obj : error LNK2001: unresolved external symbol cblas_dscal [C:\dlibcu110\build\temp.win-amd64-3.8\R
elease\_dlib_pybind11.vcxproj]
sequence_segmenter.obj : error LNK2001: unresolved external symbol cblas_dscal [C:\dlibcu110\build\temp.win-amd64-3.8\R
elease\_dlib_pybind11.vcxproj]
face_recognition.obj : error LNK2001: unresolved external symbol cblas_saxpy [C:\dlibcu110\build\temp.win-amd64-3.8\Rel
ease\_dlib_pybind11.vcxproj]
gui.obj : error LNK2001: unresolved external symbol cblas_saxpy [C:\dlibcu110\build\temp.win-amd64-3.8\Release\_dlib_py
bind11.vcxproj]
dlib19.21.99_release_64bit_msvc1926.lib(cpu_dlib.obj) : error LNK2001: unresolved external symbol cblas_saxpy [C:\dlibc
u110\build\temp.win-amd64-3.8\Release\_dlib_pybind11.vcxproj]
image.obj : error LNK2001: unresolved external symbol cblas_saxpy [C:\dlibcu110\build\temp.win-amd64-3.8\Release\_dlib_
pybind11.vcxproj]
image4.obj : error LNK2001: unresolved external symbol cblas_saxpy [C:\dlibcu110\build\temp.win-amd64-3.8\Release\_dlib
_pybind11.vcxproj]
object_detection.obj : error LNK2001: unresolved external symbol cblas_saxpy [C:\dlibcu110\build\temp.win-amd64-3.8\Rel
ease\_dlib_pybind11.vcxproj]
shape_predictor.obj : error LNK2001: unresolved external symbol cblas_saxpy [C:\dlibcu110\build\temp.win-amd64-3.8\Rele
ase\_dlib_pybind11.vcxproj]
face_recognition.obj : error LNK2001: unresolved external symbol cblas_sscal [C:\dlibcu110\build\temp.win-amd64-3.8\Rel
ease\_dlib_pybind11.vcxproj]
gui.obj : error LNK2001: unresolved external symbol cblas_sscal [C:\dlibcu110\build\temp.win-amd64-3.8\Release\_dlib_py
bind11.vcxproj]
dlib19.21.99_release_64bit_msvc1926.lib(cpu_dlib.obj) : error LNK2001: unresolved external symbol cblas_sscal [C:\dlibc
u110\build\temp.win-amd64-3.8\Release\_dlib_pybind11.vcxproj]
image.obj : error LNK2001: unresolved external symbol cblas_sscal [C:\dlibcu110\build\temp.win-amd64-3.8\Release\_dlib_
pybind11.vcxproj]
image4.obj : error LNK2001: unresolved external symbol cblas_sscal [C:\dlibcu110\build\temp.win-amd64-3.8\Release\_dlib
_pybind11.vcxproj]
object_detection.obj : error LNK2001: unresolved external symbol cblas_sscal [C:\dlibcu110\build\temp.win-amd64-3.8\Rel
ease\_dlib_pybind11.vcxproj]
shape_predictor.obj : error LNK2001: unresolved external symbol cblas_sscal [C:\dlibcu110\build\temp.win-amd64-3.8\Rele
ase\_dlib_pybind11.vcxproj]
image.obj : error LNK2019: unresolved external symbol cblas_sger referenced in function "public: __cdecl dlib::matrix<f
loat,0,0,class dlib::memory_manager_stateless_kernel_1<char>,struct dlib::row_major_layout>::matrix<float,0,0,class dli
b::memory_manager_stateless_kernel_1<char>,struct dlib::row_major_layout><class dlib::matrix_multiply_exp<class dlib::m
atrix<float,0,1,class dlib::memory_manager_stateless_kernel_1<char>,struct dlib::row_major_layout>,class dlib::matrix_o
p<struct dlib::op_trans<class dlib::matrix<float,0,1,class dlib::memory_manager_stateless_kernel_1<char>,struct dlib::r
ow_major_layout> > > > >(class dlib::matrix_exp<class dlib::matrix_multiply_exp<class dlib::matrix<float,0,1,class dlib
::memory_manager_stateless_kernel_1<char>,struct dlib::row_major_layout>,class dlib::matrix_op<struct dlib::op_trans<cl
ass dlib::matrix<float,0,1,class dlib::memory_manager_stateless_kernel_1<char>,struct dlib::row_major_layout> > > > > c
onst &)" (??$?0V?$matrix_multiply_exp@V?$matrix@M$0A@$00V?$memory_manager_stateless_kernel_1@D@dlib@@Urow_major_layout@
2@@dlib@@V?$matrix_op@U?$op_trans@V?$matrix@M$0A@$00V?$memory_manager_stateless_kernel_1@D@dlib@@Urow_major_layout@2@@d
lib@@@dlib@@@2@@dlib@@@?$matrix@M$0A@$0A@V?$memory_manager_stateless_kernel_1@D@dlib@@Urow_major_layout@2@@dlib@@QEAA@A
EBV?$matrix_exp@V?$matrix_multiply_exp@V?$matrix@M$0A@$00V?$memory_manager_stateless_kernel_1@D@dlib@@Urow_major_layout
@2@@dlib@@V?$matrix_op@U?$op_trans@V?$matrix@M$0A@$00V?$memory_manager_stateless_kernel_1@D@dlib@@Urow_major_layout@2@@
dlib@@@dlib@@@2@@dlib@@@1@@Z) [C:\dlibcu110\build\temp.win-amd64-3.8\Release\_dlib_pybind11.vcxproj]
shape_predictor.obj : error LNK2019: unresolved external symbol cblas_sdot referenced in function "float __cdecl dlib::
dot<class dlib::matrix<float,0,1,class dlib::memory_manager_stateless_kernel_1<char>,struct dlib::row_major_layout>,cla
ss dlib::matrix<float,0,1,class dlib::memory_manager_stateless_kernel_1<char>,struct dlib::row_major_layout> >(class dl
ib::matrix_exp<class dlib::matrix<float,0,1,class dlib::memory_manager_stateless_kernel_1<char>,struct dlib::row_major_
layout> > const &,class dlib::matrix_exp<class dlib::matrix<float,0,1,class dlib::memory_manager_stateless_kernel_1<cha
r>,struct dlib::row_major_layout> > const &)" (??$dot@V?$matrix@M$0A@$00V?$memory_manager_stateless_kernel_1@D@dlib@@Ur
ow_major_layout@2@@dlib@@V12@@dlib@@YAMAEBV?$matrix_exp@V?$matrix@M$0A@$00V?$memory_manager_stateless_kernel_1@D@dlib@@
Urow_major_layout@2@@dlib@@@0@0@Z) [C:\dlibcu110\build\temp.win-amd64-3.8\Release\_dlib_pybind11.vcxproj]
correlation_tracker.obj : error LNK2019: unresolved external symbol cblas_zaxpy referenced in function "void __cdecl dl
ib::blas_bindings::matrix_assign_blas<class std::complex<double>,0,1,class dlib::memory_manager_stateless_kernel_1<char
>,struct dlib::row_major_layout,class dlib::matrix_add_exp<class dlib::matrix_mul_scal_exp<class dlib::matrix_op<struct
dlib::op_pointwise_multiply<class dlib::matrix<class std::complex<double>,0,1,class dlib::memory_manager_stateless_ker
nel_1<char>,struct dlib::row_major_layout>,class dlib::matrix<class std::complex<double>,0,1,class dlib::memory_manager
_stateless_kernel_1<char>,struct dlib::row_major_layout> > >,1>,class dlib::matrix_mul_scal_exp<class dlib::matrix<clas
s std::complex<double>,0,1,class dlib::memory_manager_stateless_kernel_1<char>,struct dlib::row_major_layout>,1> > >(cl
ass dlib::matrix<class std::complex<double>,0,1,class dlib::memory_manager_stateless_kernel_1<char>,struct dlib::row_ma
jor_layout> &,class dlib::matrix_add_exp<class dlib::matrix_mul_scal_exp<class dlib::matrix_op<struct dlib::op_pointwis
e_multiply<class dlib::matrix<class std::complex<double>,0,1,class dlib::memory_manager_stateless_kernel_1<char>,struct
dlib::row_major_layout>,class dlib::matrix<class std::complex<double>,0,1,class dlib::memory_manager_stateless_kernel_
1<char>,struct dlib::row_major_layout> > >,1>,class dlib::matrix_mul_scal_exp<class dlib::matrix<class std::complex<dou
ble>,0,1,class dlib::memory_manager_stateless_kernel_1<char>,struct dlib::row_major_layout>,1> > const &)" (??$matrix_a
ssign_blas@V?$complex@N@std@@$0A@$00V?$memory_manager_stateless_kernel_1@D@dlib@@Urow_major_layout@4@V?$matrix_add_exp@
V?$matrix_mul_scal_exp@V?$matrix_op@U?$op_pointwise_multiply@V?$matrix@V?$complex@N@std@@$0A@$00V?$memory_manager_state
less_kernel_1@D@dlib@@Urow_major_layout@4@@dlib@@V12@@dlib@@@dlib@@$00@dlib@@V?$matrix_mul_scal_exp@V?$matrix@V?$comple
x@N@std@@$0A@$00V?$memory_manager_stateless_kernel_1@D@dlib@@Urow_major_layout@4@@dlib@@$00@2@@4@@blas_bindings@dlib@@Y
AXAEAV?$matrix@V?$complex@N@std@@$0A@$00V?$memory_manager_stateless_kernel_1@D@dlib@@Urow_major_layout@4@@1@AEBV?$matri
x_add_exp@V?$matrix_mul_scal_exp@V?$matrix_op@U?$op_pointwise_multiply@V?$matrix@V?$complex@N@std@@$0A@$00V?$memory_man
ager_stateless_kernel_1@D@dlib@@Urow_major_layout@4@@dlib@@V12@@dlib@@@dlib@@$00@dlib@@V?$matrix_mul_scal_exp@V?$matrix
@V?$complex@N@std@@$0A@$00V?$memory_manager_stateless_kernel_1@D@dlib@@Urow_major_layout@4@@dlib@@$00@2@@1@@Z) [C:\dlib
cu110\build\temp.win-amd64-3.8\Release\_dlib_pybind11.vcxproj]
correlation_tracker.obj : error LNK2019: unresolved external symbol cblas_zscal referenced in function "void __cdecl dl
ib::blas_bindings::matrix_assign_blas_proxy<class dlib::matrix<class std::complex<double>,0,1,class dlib::memory_manage
r_stateless_kernel_1<char>,struct dlib::row_major_layout>,class dlib::matrix<class std::complex<double>,0,1,class dlib:
:memory_manager_stateless_kernel_1<char>,struct dlib::row_major_layout>,1>(class dlib::matrix<class std::complex<double
>,0,1,class dlib::memory_manager_stateless_kernel_1<char>,struct dlib::row_major_layout> &,class dlib::matrix_mul_scal_
exp<class dlib::matrix<class std::complex<double>,0,1,class dlib::memory_manager_stateless_kernel_1<char>,struct dlib::
row_major_layout>,1> const &,class std::complex<double>,bool,bool)" (??$matrix_assign_blas_proxy@V?$matrix@V?$complex@N
@std@@$0A@$00V?$memory_manager_stateless_kernel_1@D@dlib@@Urow_major_layout@4@@dlib@@V12@$00@blas_bindings@dlib@@YAXAEA
V?$matrix@V?$complex@N@std@@$0A@$00V?$memory_manager_stateless_kernel_1@D@dlib@@Urow_major_layout@4@@1@AEBV?$matrix_mul
_scal_exp@V?$matrix@V?$complex@N@std@@$0A@$00V?$memory_manager_stateless_kernel_1@D@dlib@@Urow_major_layout@4@@dlib@@$0
0@1@V?$complex@N@std@@_N3@Z) [C:\dlibcu110\build\temp.win-amd64-3.8\Release\_dlib_pybind11.vcxproj]
dlib19.21.99_release_64bit_msvc1926.lib(cpu_dlib.obj) : error LNK2019: unresolved external symbol cblas_sgemm reference
d in function "public: __cdecl dlib::matrix<float,0,0,class dlib::memory_manager_stateless_kernel_1<char>,struct dlib::
row_major_layout>::matrix<float,0,0,class dlib::memory_manager_stateless_kernel_1<char>,struct dlib::row_major_layout><
class dlib::matrix_multiply_exp<class dlib::matrix_op<struct dlib::op_pointer_to_mat<float> >,class dlib::matrix<float,
0,0,class dlib::memory_manager_stateless_kernel_1<char>,struct dlib::row_major_layout> > >(class dlib::matrix_exp<class
dlib::matrix_multiply_exp<class dlib::matrix_op<struct dlib::op_pointer_to_mat<float> >,class dlib::matrix<float,0,0,c
lass dlib::memory_manager_stateless_kernel_1<char>,struct dlib::row_major_layout> > > const &)" (??$?0V?$matrix_multipl
y_exp@V?$matrix_op@U?$op_pointer_to_mat@M@dlib@@@dlib@@V?$matrix@M$0A@$0A@V?$memory_manager_stateless_kernel_1@D@dlib@@
Urow_major_layout@2@@2@@dlib@@@?$matrix@M$0A@$0A@V?$memory_manager_stateless_kernel_1@D@dlib@@Urow_major_layout@2@@dlib
@@QEAA@AEBV?$matrix_exp@V?$matrix_multiply_exp@V?$matrix_op@U?$op_pointer_to_mat@M@dlib@@@dlib@@V?$matrix@M$0A@$0A@V?$m
emory_manager_stateless_kernel_1@D@dlib@@Urow_major_layout@2@@2@@dlib@@@1@@Z) [C:\dlibcu110\build\temp.win-amd64-3.8\Re
lease\_dlib_pybind11.vcxproj]
C:\dlibcu110\build\lib.win-amd64-3.8\_dlib_pybind11.cp38-win_amd64.pyd : fatal error LNK1120: 14 unresolved externals [
C:\dlibcu110\build\temp.win-amd64-3.8\Release\_dlib_pybind11.vcxproj]
Traceback (most recent call last):
File "setup.py", line 222, in <module>
setup(
File "C:\ProgramData\Anaconda3\envs\pttf2cu110py38\lib\site-packages\setuptools\__init__.py", line 153, in setup
return distutils.core.setup(**attrs)
File "C:\ProgramData\Anaconda3\envs\pttf2cu110py38\lib\distutils\core.py", line 148, in setup
dist.run_commands()
File "C:\ProgramData\Anaconda3\envs\pttf2cu110py38\lib\distutils\dist.py", line 966, in run_commands
self.run_command(cmd)
File "C:\ProgramData\Anaconda3\envs\pttf2cu110py38\lib\distutils\dist.py", line 985, in run_command
cmd_obj.run()
File "C:\ProgramData\Anaconda3\envs\pttf2cu110py38\lib\site-packages\setuptools\command\install.py", line 67, in run
self.do_egg_install()
File "C:\ProgramData\Anaconda3\envs\pttf2cu110py38\lib\site-packages\setuptools\command\install.py", line 109, in do_egg_install
self.run_command('bdist_egg')
File "C:\ProgramData\Anaconda3\envs\pttf2cu110py38\lib\distutils\cmd.py", line 313, in run_command
self.distribution.run_command(command)
File "C:\ProgramData\Anaconda3\envs\pttf2cu110py38\lib\distutils\dist.py", line 985, in run_command
cmd_obj.run()
File "C:\ProgramData\Anaconda3\envs\pttf2cu110py38\lib\site-packages\setuptools\command\bdist_egg.py", line 164, in run
cmd = self.call_command('install_lib', warn_dir=0)
File "C:\ProgramData\Anaconda3\envs\pttf2cu110py38\lib\site-packages\setuptools\command\bdist_egg.py", line 150, in call_command
self.run_command(cmdname)
File "C:\ProgramData\Anaconda3\envs\pttf2cu110py38\lib\distutils\cmd.py", line 313, in run_command
self.distribution.run_command(command)
File "C:\ProgramData\Anaconda3\envs\pttf2cu110py38\lib\distutils\dist.py", line 985, in run_command
cmd_obj.run()
File "C:\ProgramData\Anaconda3\envs\pttf2cu110py38\lib\site-packages\setuptools\command\install_lib.py", line 11, in run
self.build()
File "C:\ProgramData\Anaconda3\envs\pttf2cu110py38\lib\distutils\command\install_lib.py", line 107, in build
self.run_command('build_ext')
File "C:\ProgramData\Anaconda3\envs\pttf2cu110py38\lib\distutils\cmd.py", line 313, in run_command
self.distribution.run_command(command)
File "C:\ProgramData\Anaconda3\envs\pttf2cu110py38\lib\distutils\dist.py", line 985, in run_command
cmd_obj.run()
File "setup.py", line 134, in run
self.build_extension(ext)
File "setup.py", line 174, in build_extension
subprocess.check_call(cmake_build, cwd=build_folder)
File "C:\ProgramData\Anaconda3\envs\pttf2cu110py38\lib\subprocess.py", line 364, in check_call
raise CalledProcessError(retcode, cmd)
subprocess.CalledProcessError: Command '['cmake', '--build', '.', '--config', 'Release', '--', '/m']' returned non-zero exit status 1.
Same error as above with CUDA 10.1, everything working fine with CUDA 10.0
Getting the same issue with the same platform with CUDA 10.0
Edit: I got it to work with CUDA 10.0 and dlib 19.9
Same error as above with CUDA 10.1, everything working fine with CUDA 10.0
I just installed CUDA 11.1 and now everything compiles and works perfectly, that's all I did.
Warning: this issue has been inactive for 35 days and will be automatically closed on 2021-04-24 if there is no further activity.
If you are waiting for a response but haven't received one it's possible your question is somehow inappropriate. E.g. it is off topic, you didn't follow the issue submission instructions, or your question is easily answerable by reading the FAQ, dlib's official compilation instructions, dlib's API documentation, or a Google search.
Warning: this issue has been inactive for 43 days and will be automatically closed on 2021-04-24 if there is no further activity.
If you are waiting for a response but haven't received one it's possible your question is somehow inappropriate. E.g. it is off topic, you didn't follow the issue submission instructions, or your question is easily answerable by reading the FAQ, dlib's official compilation instructions, dlib's API documentation, or a Google search.
Notice: this issue has been closed because it has been inactive for 45 days. You may reopen this issue if it has been closed in error.