j2ther

dlib fail

Jun 15th, 2022
143
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. (DFDNet) C:\Users\j2the>pip install dlib
  2. Collecting dlib
  3.   Using cached dlib-19.24.0.tar.gz (3.2 MB)
  4. Building wheels for collected packages: dlib
  5.   Building wheel for dlib (setup.py) ... error
  6.   ERROR: Command errored out with exit status 1:
  7.    command: 'C:\Users\j2the\anaconda3\envs\DFDNet\python.exe' -u -c 'import io, os, sys, setuptools, tokenize; sys.argv[0] = '"'"'C:\\Users\\j2the\\AppData\\Local\\Temp\\pip-install-t6pyaxbi\\dlib_159405016a03481391ce1a251da81e64\\setup.py'"'"'; __file__='"'"'C:\\Users\\j2the\\AppData\\Local\\Temp\\pip-install-t6pyaxbi\\dlib_159405016a03481391ce1a251da81e64\\setup.py'"'"';f = getattr(tokenize, '"'"'open'"'"', open)(__file__) if os.path.exists(__file__) else io.StringIO('"'"'from setuptools import setup; setup()'"'"');code = f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' bdist_wheel -d 'C:\Users\j2the\AppData\Local\Temp\pip-wheel-wxk5p8nv'
  8.        cwd: C:\Users\j2the\AppData\Local\Temp\pip-install-t6pyaxbi\dlib_159405016a03481391ce1a251da81e64\
  9.   Complete output (304 lines):
  10.   running bdist_wheel
  11.   running build
  12.   running build_py
  13.   package init file 'tools\python\dlib\__init__.py' not found (or not a regular file)
  14.   running build_ext
  15.   C:\Users\j2the\AppData\Local\Temp\pip-install-t6pyaxbi\dlib_159405016a03481391ce1a251da81e64\setup.py:129: DeprecationWarning: distutils Version classes are deprecated. Use packaging.version instead.
  16.     if LooseVersion(cmake_version) < '3.1.0':
  17.   Building extension for Python 3.10.4 | packaged by conda-forge | (main, Mar 30 2022, 08:38:02) [MSC v.1916 64 bit (AMD64)]
  18.   Invoking CMake setup: 'cmake C:\Users\j2the\AppData\Local\Temp\pip-install-t6pyaxbi\dlib_159405016a03481391ce1a251da81e64\tools\python -DCMAKE_LIBRARY_OUTPUT_DIRECTORY=C:\Users\j2the\AppData\Local\Temp\pip-install-t6pyaxbi\dlib_159405016a03481391ce1a251da81e64\build\lib.win-amd64-3.10 -DPYTHON_EXECUTABLE=C:\Users\j2the\anaconda3\envs\DFDNet\python.exe -DCMAKE_LIBRARY_OUTPUT_DIRECTORY_RELEASE=C:\Users\j2the\AppData\Local\Temp\pip-install-t6pyaxbi\dlib_159405016a03481391ce1a251da81e64\build\lib.win-amd64-3.10 -A x64'
  19.   -- Building for: Visual Studio 17 2022
  20.   -- Selecting Windows SDK version 10.0.20348.0 to target Windows 10.0.19044.
  21.   -- The C compiler identification is MSVC 19.32.31329.0
  22.   -- The CXX compiler identification is MSVC 19.32.31329.0
  23.   -- Detecting C compiler ABI info
  24.   -- Detecting C compiler ABI info - done
  25.   -- Check for working C compiler: C:/Program Files (x86)/Microsoft Visual Studio/2022/BuildTools/VC/Tools/MSVC/14.32.31326/bin/Hostx64/x64/cl.exe - skipped
  26.   -- Detecting C compile features
  27.   -- Detecting C compile features - done
  28.   -- Detecting CXX compiler ABI info
  29.   -- Detecting CXX compiler ABI info - done
  30.   -- Check for working CXX compiler: C:/Program Files (x86)/Microsoft Visual Studio/2022/BuildTools/VC/Tools/MSVC/14.32.31326/bin/Hostx64/x64/cl.exe - skipped
  31.   -- Detecting CXX compile features
  32.   -- Detecting CXX compile features - done
  33.   -- Found PythonInterp: C:/Users/j2the/anaconda3/envs/DFDNet/python.exe (found version "3.10.4")
  34.   -- Found PythonLibs: C:/Users/j2the/anaconda3/envs/DFDNet/libs/Python310.lib
  35.   -- pybind11 v2.2.4
  36.   -- Using CMake version: 3.22.5
  37.   -- Compiling dlib version: 19.24.0
  38.   -- Looking for sys/types.h
  39.   -- Looking for sys/types.h - found
  40.   -- Looking for stdint.h
  41.   -- Looking for stdint.h - found
  42.   -- Looking for stddef.h
  43.   -- Looking for stddef.h - found
  44.   -- Check size of void*
  45.   -- Check size of void* - done
  46.   -- Enabling SSE2 instructions
  47.   -- Could NOT find WebP (missing: WEBP_LIBRARY)
  48.   -- Searching for BLAS and LAPACK
  49.   -- Searching for BLAS and LAPACK
  50.   -- Looking for pthread.h
  51.   -- Looking for pthread.h - not found
  52.   -- Found Threads: TRUE
  53.   CUDA_TOOLKIT_ROOT_DIR not found or specified
  54.   -- Could NOT find CUDA (missing: CUDA_TOOLKIT_ROOT_DIR CUDA_NVCC_EXECUTABLE CUDA_INCLUDE_DIRS CUDA_CUDART_LIBRARY) (Required is at least version "7.5")
  55.   -- Found CUDA, but CMake was unable to find the cuBLAS libraries that should be part of every basic CUDA install. Your CUDA install is somehow broken or incomplete. Since cuBLAS is required for dlib to use CUDA we won't use CUDA.
  56.  -- DID NOT FIND CUDA
  57.  -- Disabling CUDA support for dlib.  DLIB WILL NOT USE CUDA
  58.  -- C++11 activated.
  59.  -- Configuring done
  60.  -- Generating done
  61.  -- Build files have been written to: C:/Users/j2the/AppData/Local/Temp/pip-install-t6pyaxbi/dlib_159405016a03481391ce1a251da81e64/build/temp.win-amd64-3.10/Release
  62.  Invoking CMake build: 'cmake --build . --config Release -- /m'
  63.  Microsoft (R) Build Engine version 17.2.1+52cd2da31 for .NET Framework
  64.  Copyright (C) Microsoft Corporation. All rights reserved.
  65.  
  66.  C:\Program Files (x86)\Microsoft Visual Studio\2022\BuildTools\MSBuild\Microsoft\VC\v170\Microsoft.CppBuild.targets(524,5): warning MSB8029: The Intermediate directory or Output directory cannot reside under the Temporary directory as it could lead to issues with incremental build. [C:\Users\j2the\AppData\Local\Temp\pip-install-t6pyaxbi\dlib_159405016a03481391ce1a251da81e64\build\temp.win-amd64-3.10\Release\ZERO_CHECK.vcxproj]
  67.    Checking Build System
  68.  C:\Program Files (x86)\Microsoft Visual Studio\2022\BuildTools\MSBuild\Microsoft\VC\v170\Microsoft.CppBuild.targets(524,5): warning MSB8029: The Intermediate directory or Output directory cannot reside under the Temporary directory as it could lead to issues with incremental build. [C:\Users\j2the\AppData\Local\Temp\pip-install-t6pyaxbi\dlib_159405016a03481391ce1a251da81e64\build\temp.win-amd64-3.10\Release\dlib_build\dlib.vcxproj]
  69.    Building Custom Rule C:/Users/j2the/AppData/Local/Temp/pip-install-t6pyaxbi/dlib_159405016a03481391ce1a251da81e64/dlib/CMakeLists.txt
  70.    base64_kernel_1.cpp
  71.    bigint_kernel_1.cpp
  72.    bigint_kernel_2.cpp
  73.    bit_stream_kernel_1.cpp
  74.    entropy_decoder_kernel_1.cpp
  75.    entropy_decoder_kernel_2.cpp
  76.    entropy_encoder_kernel_1.cpp
  77.    entropy_encoder_kernel_2.cpp
  78.    md5_kernel_1.cpp
  79.    tokenizer_kernel_1.cpp
  80.    unicode.cpp
  81.    test_for_odr_violations.cpp
  82.    sockets_kernel_1.cpp
  83.    bsp.cpp
  84.    dir_nav_kernel_1.cpp
  85.    dir_nav_kernel_2.cpp
  86.    dir_nav_extensions.cpp
  87.    fonts.cpp
  88.    linker_kernel_1.cpp
  89.    extra_logger_headers.cpp
  90.    logger_kernel_1.cpp
  91.    logger_config_file.cpp
  92.    misc_api_kernel_1.cpp
  93.    misc_api_kernel_2.cpp
  94.    sockets_extensions.cpp
  95.    sockets_kernel_2.cpp
  96.    sockstreambuf.cpp
  97.    sockstreambuf_unbuffered.cpp
  98.    server_kernel.cpp
  99.    server_iostream.cpp
  100.    server_http.cpp
  101.    multithreaded_object_extension.cpp
  102.    threaded_object_extension.cpp
  103.    threads_kernel_1.cpp
  104.    threads_kernel_2.cpp
  105.    threads_kernel_shared.cpp
  106.    thread_pool_extension.cpp
  107.    async.cpp
  108.    timer.cpp
  109.    stack_trace.cpp
  110.    cpu_dlib.cpp
  111.    tensor_tools.cpp
  112.    image_dataset_metadata.cpp
  113.    mnist.cpp
  114.    cifar.cpp
  115.    global_function_search.cpp
  116.    kalman_filter.cpp
  117.    auto.cpp
  118.    widgets.cpp
  119.    drawable.cpp
  120.    canvas_drawing.cpp
  121.    style.cpp
  122.    base_widgets.cpp
  123.    gui_core_kernel_1.cpp
  124.    gui_core_kernel_2.cpp
  125.    png_loader.cpp
  126.    save_png.cpp
  127.    jpeg_loader.cpp
  128.    save_jpeg.cpp
  129.    arm_init.c
  130.    filter_neon_intrinsics.c
  131.    png.c
  132.    pngerror.c
  133.    pngget.c
  134.    pngmem.c
  135.    pngpread.c
  136.    pngread.c
  137.    pngrio.c
  138.    pngrtran.c
  139.    pngrutil.c
  140.    pngset.c
  141.    pngtrans.c
  142.    pngwio.c
  143.    pngwrite.c
  144.    pngwtran.c
  145.    pngwutil.c
  146.    adler32.c
  147.    compress.c
  148.    crc32.c
  149.    deflate.c
  150.    gzclose.c
  151.    gzlib.c
  152.    gzread.c
  153.    gzwrite.c
  154.    infback.c
  155.  C:\Users\j2the\AppData\Local\Temp\pip-install-t6pyaxbi\dlib_159405016a03481391ce1a251da81e64\dlib\external\zlib\gzread.c(319,17): warning C4267: '=': conversion from 'size_t' to 'unsigned int', possible loss of data [C:\Users\j2the\AppData\Local\Temp\pip-install-t6pyaxbi\dlib_159405016a03481391ce1a251da81e64\build\temp.win-amd64-3.10\Release\dlib_build\dlib.vcxproj]
  156.  C:\Users\j2the\AppData\Local\Temp\pip-install-t6pyaxbi\dlib_159405016a03481391ce1a251da81e64\dlib\external\zlib\gzwrite.c(212,24): warning C4267: '=': conversion from 'size_t' to 'unsigned int', possible loss of data [C:\Users\j2the\AppData\Local\Temp\pip-install-t6pyaxbi\dlib_159405016a03481391ce1a251da81e64\build\temp.win-amd64-3.10\Release\dlib_build\dlib.vcxproj]
  157.  C:\Users\j2the\AppData\Local\Temp\pip-install-t6pyaxbi\dlib_159405016a03481391ce1a251da81e64\dlib\external\zlib\gzread.c(400,11): warning C4267: '=': conversion from 'size_t' to 'unsigned int', possible loss of data [C:\Users\j2the\AppData\Local\Temp\pip-install-t6pyaxbi\dlib_159405016a03481391ce1a251da81e64\build\temp.win-amd64-3.10\Release\dlib_build\dlib.vcxproj]
  158.  C:\Users\j2the\AppData\Local\Temp\pip-install-t6pyaxbi\dlib_159405016a03481391ce1a251da81e64\dlib\external\zlib\gzwrite.c(232,21): warning C4267: '=': conversion from 'size_t' to 'unsigned int', possible loss of data [C:\Users\j2the\AppData\Local\Temp\pip-install-t6pyaxbi\dlib_159405016a03481391ce1a251da81e64\build\temp.win-amd64-3.10\Release\dlib_build\dlib.vcxproj]
  159.    inffast.c
  160.  C:\Users\j2the\AppData\Local\Temp\pip-install-t6pyaxbi\dlib_159405016a03481391ce1a251da81e64\dlib\external\zlib\gzread.c(472,11): warning C4267: '=': conversion from 'size_t' to 'int', possible loss of data [C:\Users\j2the\AppData\Local\Temp\pip-install-t6pyaxbi\dlib_159405016a03481391ce1a251da81e64\build\temp.win-amd64-3.10\Release\dlib_build\dlib.vcxproj]
  161.  C:\Users\j2the\AppData\Local\Temp\pip-install-t6pyaxbi\dlib_159405016a03481391ce1a251da81e64\dlib\external\zlib\gzwrite.c(371,11): warning C4267: '=': conversion from 'size_t' to 'int', possible loss of data [C:\Users\j2the\AppData\Local\Temp\pip-install-t6pyaxbi\dlib_159405016a03481391ce1a251da81e64\build\temp.win-amd64-3.10\Release\dlib_build\dlib.vcxproj]
  162.    inflate.c
  163.    inftrees.c
  164.    trees.c
  165.    uncompr.c
  166.    zutil.c
  167.    jaricom.c
  168.    jcapimin.c
  169.    jcapistd.c
  170.    jcarith.c
  171.    jccoefct.c
  172.    jccolor.c
  173.    jcdctmgr.c
  174.    jchuff.c
  175.    jcinit.c
  176.    jcmainct.c
  177.    jcmarker.c
  178.    jcmaster.c
  179.    jcomapi.c
  180.    jcparam.c
  181.    jcprepct.c
  182.    jcsample.c
  183.    jdapimin.c
  184.    jdapistd.c
  185.    jdarith.c
  186.    jdatadst.c
  187.  C:\Users\j2the\AppData\Local\Temp\pip-install-t6pyaxbi\dlib_159405016a03481391ce1a251da81e64\dlib\external\libjpeg\jdatadst.c(185,34): warning C4267: '=': conversion from 'size_t' to 'unsigned long', possible loss of data [C:\Users\j2the\AppData\Local\Temp\pip-install-t6pyaxbi\dlib_159405016a03481391ce1a251da81e64\build\temp.win-amd64-3.10\Release\dlib_build\dlib.vcxproj]
  188.    jdatasrc.c
  189.    jdcoefct.c
  190.    jdcolor.c
  191.    jddctmgr.c
  192.    jdhuff.c
  193.    jdinput.c
  194.    jdmainct.c
  195.    jdmarker.c
  196.    jdmaster.c
  197.    jdmerge.c
  198.    jdpostct.c
  199.    jdsample.c
  200.    jerror.c
  201.    jfdctflt.c
  202.    jfdctfst.c
  203.  C:\Users\j2the\AppData\Local\Temp\pip-install-t6pyaxbi\dlib_159405016a03481391ce1a251da81e64\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:\Users\j2the\AppData\Local\Temp\pip-install-t6pyaxbi\dlib_159405016a03481391ce1a251da81e64\build\temp.win-amd64-3.10\Release\dlib_build\dlib.vcxproj]
  204.  C:\Users\j2the\AppData\Local\Temp\pip-install-t6pyaxbi\dlib_159405016a03481391ce1a251da81e64\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:\Users\j2the\AppData\Local\Temp\pip-install-t6pyaxbi\dlib_159405016a03481391ce1a251da81e64\build\temp.win-amd64-3.10\Release\dlib_build\dlib.vcxproj]
  205.    jfdctint.c
  206.    jidctflt.c
  207.    jidctfst.c
  208.    jidctint.c
  209.    jmemmgr.c
  210.    jmemnobs.c
  211.    jquant1.c
  212.  C:\Users\j2the\AppData\Local\Temp\pip-install-t6pyaxbi\dlib_159405016a03481391ce1a251da81e64\dlib\external\libjpeg\jmemmgr.c(307,47): warning C4267: '+=': conversion from 'size_t' to 'long', possible loss of data [C:\Users\j2the\AppData\Local\Temp\pip-install-t6pyaxbi\dlib_159405016a03481391ce1a251da81e64\build\temp.win-amd64-3.10\Release\dlib_build\dlib.vcxproj]
  213.  C:\Users\j2the\AppData\Local\Temp\pip-install-t6pyaxbi\dlib_159405016a03481391ce1a251da81e64\dlib\external\libjpeg\jmemmgr.c(367,46): warning C4267: '+=': conversion from 'size_t' to 'long', possible loss of data [C:\Users\j2the\AppData\Local\Temp\pip-install-t6pyaxbi\dlib_159405016a03481391ce1a251da81e64\build\temp.win-amd64-3.10\Release\dlib_build\dlib.vcxproj]
  214.  C:\Users\j2the\AppData\Local\Temp\pip-install-t6pyaxbi\dlib_159405016a03481391ce1a251da81e64\dlib\external\libjpeg\jmemmgr.c(977,35): warning C4267: '-=': conversion from 'size_t' to 'long', possible loss of data [C:\Users\j2the\AppData\Local\Temp\pip-install-t6pyaxbi\dlib_159405016a03481391ce1a251da81e64\build\temp.win-amd64-3.10\Release\dlib_build\dlib.vcxproj]
  215.  C:\Users\j2the\AppData\Local\Temp\pip-install-t6pyaxbi\dlib_159405016a03481391ce1a251da81e64\dlib\external\libjpeg\jmemmgr.c(991,35): warning C4267: '-=': conversion from 'size_t' to 'long', possible loss of data [C:\Users\j2the\AppData\Local\Temp\pip-install-t6pyaxbi\dlib_159405016a03481391ce1a251da81e64\build\temp.win-amd64-3.10\Release\dlib_build\dlib.vcxproj]
  216.  C:\Users\j2the\AppData\Local\Temp\pip-install-t6pyaxbi\dlib_159405016a03481391ce1a251da81e64\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:\Users\j2the\AppData\Local\Temp\pip-install-t6pyaxbi\dlib_159405016a03481391ce1a251da81e64\build\temp.win-amd64-3.10\Release\dlib_build\dlib.vcxproj]
  217.  C:\Users\j2the\AppData\Local\Temp\pip-install-t6pyaxbi\dlib_159405016a03481391ce1a251da81e64\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:\Users\j2the\AppData\Local\Temp\pip-install-t6pyaxbi\dlib_159405016a03481391ce1a251da81e64\build\temp.win-amd64-3.10\Release\dlib_build\dlib.vcxproj]
  218.    jquant2.c
  219.    jutils.c
  220.    dlib.vcxproj -> C:\Users\j2the\AppData\Local\Temp\pip-install-t6pyaxbi\dlib_159405016a03481391ce1a251da81e64\build\temp.win-amd64-3.10\Release\dlib_build\Release\dlib19.24.0_release_64bit_msvc1932.lib
  221.  C:\Program Files (x86)\Microsoft Visual Studio\2022\BuildTools\MSBuild\Microsoft\VC\v170\Microsoft.CppBuild.targets(524,5): warning MSB8029: The Intermediate directory or Output directory cannot reside under the Temporary directory as it could lead to issues with incremental build. [C:\Users\j2the\AppData\Local\Temp\pip-install-t6pyaxbi\dlib_159405016a03481391ce1a251da81e64\build\temp.win-amd64-3.10\Release\_dlib_pybind11.vcxproj]
  222.    Building Custom Rule C:/Users/j2the/AppData/Local/Temp/pip-install-t6pyaxbi/dlib_159405016a03481391ce1a251da81e64/tools/python/CMakeLists.txt
  223.    dlib.cpp
  224.    matrix.cpp
  225.    vector.cpp
  226.    svm_c_trainer.cpp
  227.    svm_rank_trainer.cpp
  228.    decision_functions.cpp
  229.    other.cpp
  230.    basic.cpp
  231.  C:\Users\j2the\anaconda3\Library\include\gif_lib.h(286,61): error C2734: 'GifAsciiTable8x8': 'const' object must be initialized if not 'extern' (compiling source file C:\Users\j2the\AppData\Local\Temp\pip-install-t6pyaxbi\dlib_159405016a03481391ce1a251da81e64\tools\python\src\dlib.cpp) [C:\Users\j2the\AppData\Local\Temp\pip-install-t6pyaxbi\dlib_159405016a03481391ce1a251da81e64\build\temp.win-amd64-3.10\Release\_dlib_pybind11.vcxproj]
  232.  C:\Users\j2the\anaconda3\Library\include\gif_lib.h(286,61): error C2734: 'GifAsciiTable8x8': 'const' object must be initialized if not 'extern' (compiling source file C:\Users\j2the\AppData\Local\Temp\pip-install-t6pyaxbi\dlib_159405016a03481391ce1a251da81e64\tools\python\src\matrix.cpp) [C:\Users\j2the\AppData\Local\Temp\pip-install-t6pyaxbi\dlib_159405016a03481391ce1a251da81e64\build\temp.win-amd64-3.10\Release\_dlib_pybind11.vcxproj]
  233.  C:\Users\j2the\anaconda3\Library\include\gif_lib.h(286,61): error C2734: 'GifAsciiTable8x8': 'const' object must be initialized if not 'extern' (compiling source file C:\Users\j2the\AppData\Local\Temp\pip-install-t6pyaxbi\dlib_159405016a03481391ce1a251da81e64\tools\python\src\vector.cpp) [C:\Users\j2the\AppData\Local\Temp\pip-install-t6pyaxbi\dlib_159405016a03481391ce1a251da81e64\build\temp.win-amd64-3.10\Release\_dlib_pybind11.vcxproj]
  234.  C:\Users\j2the\anaconda3\Library\include\gif_lib.h(286,61): error C2734: 'GifAsciiTable8x8': 'const' object must be initialized if not 'extern' (compiling source file C:\Users\j2the\AppData\Local\Temp\pip-install-t6pyaxbi\dlib_159405016a03481391ce1a251da81e64\tools\python\src\svm_rank_trainer.cpp) [C:\Users\j2the\AppData\Local\Temp\pip-install-t6pyaxbi\dlib_159405016a03481391ce1a251da81e64\build\temp.win-amd64-3.10\Release\_dlib_pybind11.vcxproj]
  235.    cca.cpp
  236.  C:\Users\j2the\anaconda3\Library\include\gif_lib.h(286,61): error C2734: 'GifAsciiTable8x8': 'const' object must be initialized if not 'extern' (compiling source file C:\Users\j2the\AppData\Local\Temp\pip-install-t6pyaxbi\dlib_159405016a03481391ce1a251da81e64\tools\python\src\basic.cpp) [C:\Users\j2the\AppData\Local\Temp\pip-install-t6pyaxbi\dlib_159405016a03481391ce1a251da81e64\build\temp.win-amd64-3.10\Release\_dlib_pybind11.vcxproj]
  237.    sequence_segmenter.cpp
  238.  C:\Users\j2the\anaconda3\Library\include\gif_lib.h(286,61): error C2734: 'GifAsciiTable8x8': 'const' object must be initialized if not 'extern' (compiling source file C:\Users\j2the\AppData\Local\Temp\pip-install-t6pyaxbi\dlib_159405016a03481391ce1a251da81e64\tools\python\src\other.cpp) [C:\Users\j2the\AppData\Local\Temp\pip-install-t6pyaxbi\dlib_159405016a03481391ce1a251da81e64\build\temp.win-amd64-3.10\Release\_dlib_pybind11.vcxproj]
  239.  C:\Users\j2the\anaconda3\Library\include\gif_lib.h(286,61): error C2734: 'GifAsciiTable8x8': 'const' object must be initialized if not 'extern' (compiling source file C:\Users\j2the\AppData\Local\Temp\pip-install-t6pyaxbi\dlib_159405016a03481391ce1a251da81e64\tools\python\src\svm_c_trainer.cpp) [C:\Users\j2the\AppData\Local\Temp\pip-install-t6pyaxbi\dlib_159405016a03481391ce1a251da81e64\build\temp.win-amd64-3.10\Release\_dlib_pybind11.vcxproj]
  240.  C:\Users\j2the\anaconda3\Library\include\gif_lib.h(286,61): error C2734: 'GifAsciiTable8x8': 'const' object must be initialized if not 'extern' (compiling source file C:\Users\j2the\AppData\Local\Temp\pip-install-t6pyaxbi\dlib_159405016a03481391ce1a251da81e64\tools\python\src\decision_functions.cpp) [C:\Users\j2the\AppData\Local\Temp\pip-install-t6pyaxbi\dlib_159405016a03481391ce1a251da81e64\build\temp.win-amd64-3.10\Release\_dlib_pybind11.vcxproj]
  241.    svm_struct.cpp
  242.    image.cpp
  243.    image2.cpp
  244.    image3.cpp
  245.    image4.cpp
  246.    rectangles.cpp
  247.  C:\Users\j2the\anaconda3\Library\include\gif_lib.h(286,61): error C2734: 'GifAsciiTable8x8': 'const' object must be initialized if not 'extern' (compiling source file C:\Users\j2the\AppData\Local\Temp\pip-install-t6pyaxbi\dlib_159405016a03481391ce1a251da81e64\tools\python\src\cca.cpp) [C:\Users\j2the\AppData\Local\Temp\pip-install-t6pyaxbi\dlib_159405016a03481391ce1a251da81e64\build\temp.win-amd64-3.10\Release\_dlib_pybind11.vcxproj]
  248.  C:\Users\j2the\anaconda3\Library\include\gif_lib.h(286,61): error C2734: 'GifAsciiTable8x8': 'const' object must be initialized if not 'extern' (compiling source file C:\Users\j2the\AppData\Local\Temp\pip-install-t6pyaxbi\dlib_159405016a03481391ce1a251da81e64\tools\python\src\sequence_segmenter.cpp) [C:\Users\j2the\AppData\Local\Temp\pip-install-t6pyaxbi\dlib_159405016a03481391ce1a251da81e64\build\temp.win-amd64-3.10\Release\_dlib_pybind11.vcxproj]
  249.    object_detection.cpp
  250.  C:\Users\j2the\anaconda3\Library\include\gif_lib.h(286,61): error C2734: 'GifAsciiTable8x8': 'const' object must be initialized if not 'extern' (compiling source file C:\Users\j2the\AppData\Local\Temp\pip-install-t6pyaxbi\dlib_159405016a03481391ce1a251da81e64\tools\python\src\svm_struct.cpp) [C:\Users\j2the\AppData\Local\Temp\pip-install-t6pyaxbi\dlib_159405016a03481391ce1a251da81e64\build\temp.win-amd64-3.10\Release\_dlib_pybind11.vcxproj]
  251.  C:\Users\j2the\anaconda3\Library\include\gif_lib.h(286,61): error C2734: 'GifAsciiTable8x8': 'const' object must be initialized if not 'extern' (compiling source file C:\Users\j2the\AppData\Local\Temp\pip-install-t6pyaxbi\dlib_159405016a03481391ce1a251da81e64\tools\python\src\image3.cpp) [C:\Users\j2the\AppData\Local\Temp\pip-install-t6pyaxbi\dlib_159405016a03481391ce1a251da81e64\build\temp.win-amd64-3.10\Release\_dlib_pybind11.vcxproj]
  252.  C:\Users\j2the\anaconda3\Library\include\gif_lib.h(286,61): error C2734: 'GifAsciiTable8x8': 'const' object must be initialized if not 'extern' (compiling source file C:\Users\j2the\AppData\Local\Temp\pip-install-t6pyaxbi\dlib_159405016a03481391ce1a251da81e64\tools\python\src\image2.cpp) [C:\Users\j2the\AppData\Local\Temp\pip-install-t6pyaxbi\dlib_159405016a03481391ce1a251da81e64\build\temp.win-amd64-3.10\Release\_dlib_pybind11.vcxproj]
  253.  C:\Users\j2the\anaconda3\Library\include\gif_lib.h(286,61): error C2734: 'GifAsciiTable8x8': 'const' object must be initialized if not 'extern' (compiling source file C:\Users\j2the\AppData\Local\Temp\pip-install-t6pyaxbi\dlib_159405016a03481391ce1a251da81e64\tools\python\src\image.cpp) [C:\Users\j2the\AppData\Local\Temp\pip-install-t6pyaxbi\dlib_159405016a03481391ce1a251da81e64\build\temp.win-amd64-3.10\Release\_dlib_pybind11.vcxproj]
  254.  C:\Users\j2the\anaconda3\Library\include\gif_lib.h(286,61): error C2734: 'GifAsciiTable8x8': 'const' object must be initialized if not 'extern' (compiling source file C:\Users\j2the\AppData\Local\Temp\pip-install-t6pyaxbi\dlib_159405016a03481391ce1a251da81e64\tools\python\src\image4.cpp) [C:\Users\j2the\AppData\Local\Temp\pip-install-t6pyaxbi\dlib_159405016a03481391ce1a251da81e64\build\temp.win-amd64-3.10\Release\_dlib_pybind11.vcxproj]
  255.    shape_predictor.cpp
  256.    correlation_tracker.cpp
  257.  C:\Users\j2the\anaconda3\Library\include\gif_lib.h(286,61): error C2734: 'GifAsciiTable8x8': 'const' object must be initialized if not 'extern' (compiling source file C:\Users\j2the\AppData\Local\Temp\pip-install-t6pyaxbi\dlib_159405016a03481391ce1a251da81e64\tools\python\src\rectangles.cpp) [C:\Users\j2the\AppData\Local\Temp\pip-install-t6pyaxbi\dlib_159405016a03481391ce1a251da81e64\build\temp.win-amd64-3.10\Release\_dlib_pybind11.vcxproj]
  258.    face_recognition.cpp
  259.    cnn_face_detector.cpp
  260.    global_optimization.cpp
  261.    image_dataset_metadata.cpp
  262.    numpy_returns.cpp
  263.  C:\Users\j2the\anaconda3\Library\include\gif_lib.h(286,61): error C2734: 'GifAsciiTable8x8': 'const' object must be initialized if not 'extern' (compiling source file C:\Users\j2the\AppData\Local\Temp\pip-install-t6pyaxbi\dlib_159405016a03481391ce1a251da81e64\tools\python\src\object_detection.cpp) [C:\Users\j2the\AppData\Local\Temp\pip-install-t6pyaxbi\dlib_159405016a03481391ce1a251da81e64\build\temp.win-amd64-3.10\Release\_dlib_pybind11.vcxproj]
  264.  C:\Users\j2the\anaconda3\Library\include\gif_lib.h(286,61): error C2734: 'GifAsciiTable8x8': 'const' object must be initialized if not 'extern' (compiling source file C:\Users\j2the\AppData\Local\Temp\pip-install-t6pyaxbi\dlib_159405016a03481391ce1a251da81e64\tools\python\src\correlation_tracker.cpp) [C:\Users\j2the\AppData\Local\Temp\pip-install-t6pyaxbi\dlib_159405016a03481391ce1a251da81e64\build\temp.win-amd64-3.10\Release\_dlib_pybind11.vcxproj]
  265.  C:\Users\j2the\anaconda3\Library\include\gif_lib.h(286,61): error C2734: 'GifAsciiTable8x8': 'const' object must be initialized if not 'extern' (compiling source file C:\Users\j2the\AppData\Local\Temp\pip-install-t6pyaxbi\dlib_159405016a03481391ce1a251da81e64\tools\python\src\shape_predictor.cpp) [C:\Users\j2the\AppData\Local\Temp\pip-install-t6pyaxbi\dlib_159405016a03481391ce1a251da81e64\build\temp.win-amd64-3.10\Release\_dlib_pybind11.vcxproj]
  266.  C:\Users\j2the\anaconda3\Library\include\gif_lib.h(286,61): error C2734: 'GifAsciiTable8x8': 'const' object must be initialized if not 'extern' (compiling source file C:\Users\j2the\AppData\Local\Temp\pip-install-t6pyaxbi\dlib_159405016a03481391ce1a251da81e64\tools\python\src\face_recognition.cpp) [C:\Users\j2the\AppData\Local\Temp\pip-install-t6pyaxbi\dlib_159405016a03481391ce1a251da81e64\build\temp.win-amd64-3.10\Release\_dlib_pybind11.vcxproj]
  267.  C:\Users\j2the\anaconda3\Library\include\gif_lib.h(286,61): error C2734: 'GifAsciiTable8x8': 'const' object must be initialized if not 'extern' (compiling source file C:\Users\j2the\AppData\Local\Temp\pip-install-t6pyaxbi\dlib_159405016a03481391ce1a251da81e64\tools\python\src\cnn_face_detector.cpp) [C:\Users\j2the\AppData\Local\Temp\pip-install-t6pyaxbi\dlib_159405016a03481391ce1a251da81e64\build\temp.win-amd64-3.10\Release\_dlib_pybind11.vcxproj]
  268.  C:\Users\j2the\anaconda3\Library\include\gif_lib.h(286,61): error C2734: 'GifAsciiTable8x8': 'const' object must be initialized if not 'extern' (compiling source file C:\Users\j2the\AppData\Local\Temp\pip-install-t6pyaxbi\dlib_159405016a03481391ce1a251da81e64\tools\python\src\global_optimization.cpp) [C:\Users\j2the\AppData\Local\Temp\pip-install-t6pyaxbi\dlib_159405016a03481391ce1a251da81e64\build\temp.win-amd64-3.10\Release\_dlib_pybind11.vcxproj]
  269.  C:\Users\j2the\anaconda3\Library\include\gif_lib.h(286,61): error C2734: 'GifAsciiTable8x8': 'const' object must be initialized if not 'extern' (compiling source file C:\Users\j2the\AppData\Local\Temp\pip-install-t6pyaxbi\dlib_159405016a03481391ce1a251da81e64\tools\python\src\image_dataset_metadata.cpp) [C:\Users\j2the\AppData\Local\Temp\pip-install-t6pyaxbi\dlib_159405016a03481391ce1a251da81e64\build\temp.win-amd64-3.10\Release\_dlib_pybind11.vcxproj]
  270.    line.cpp
  271.    gui.cpp
  272.  C:\Users\j2the\anaconda3\Library\include\gif_lib.h(286,61): error C2734: 'GifAsciiTable8x8': 'const' object must be initialized if not 'extern' (compiling source file C:\Users\j2the\AppData\Local\Temp\pip-install-t6pyaxbi\dlib_159405016a03481391ce1a251da81e64\tools\python\src\numpy_returns.cpp) [C:\Users\j2the\AppData\Local\Temp\pip-install-t6pyaxbi\dlib_159405016a03481391ce1a251da81e64\build\temp.win-amd64-3.10\Release\_dlib_pybind11.vcxproj]
  273.  C:\Users\j2the\anaconda3\Library\include\gif_lib.h(286,61): error C2734: 'GifAsciiTable8x8': 'const' object must be initialized if not 'extern' (compiling source file C:\Users\j2the\AppData\Local\Temp\pip-install-t6pyaxbi\dlib_159405016a03481391ce1a251da81e64\tools\python\src\line.cpp) [C:\Users\j2the\AppData\Local\Temp\pip-install-t6pyaxbi\dlib_159405016a03481391ce1a251da81e64\build\temp.win-amd64-3.10\Release\_dlib_pybind11.vcxproj]
  274.  C:\Users\j2the\anaconda3\Library\include\gif_lib.h(286,61): error C2734: 'GifAsciiTable8x8': 'const' object must be initialized if not 'extern' (compiling source file C:\Users\j2the\AppData\Local\Temp\pip-install-t6pyaxbi\dlib_159405016a03481391ce1a251da81e64\tools\python\src\gui.cpp) [C:\Users\j2the\AppData\Local\Temp\pip-install-t6pyaxbi\dlib_159405016a03481391ce1a251da81e64\build\temp.win-amd64-3.10\Release\_dlib_pybind11.vcxproj]
  275.  Traceback (most recent call last):
  276.    File "<string>", line 1, in <module>
  277.    File "C:\Users\j2the\AppData\Local\Temp\pip-install-t6pyaxbi\dlib_159405016a03481391ce1a251da81e64\setup.py", line 222, in <module>
  278.      setup(
  279.    File "C:\Users\j2the\anaconda3\envs\DFDNet\lib\site-packages\setuptools\__init__.py", line 87, in setup
  280.      return distutils.core.setup(**attrs)
  281.    File "C:\Users\j2the\anaconda3\envs\DFDNet\lib\site-packages\setuptools\_distutils\core.py", line 148, in setup
  282.      return run_commands(dist)
  283.    File "C:\Users\j2the\anaconda3\envs\DFDNet\lib\site-packages\setuptools\_distutils\core.py", line 163, in run_commands
  284.      dist.run_commands()
  285.    File "C:\Users\j2the\anaconda3\envs\DFDNet\lib\site-packages\setuptools\_distutils\dist.py", line 967, in run_commands
  286.      self.run_command(cmd)
  287.    File "C:\Users\j2the\anaconda3\envs\DFDNet\lib\site-packages\setuptools\dist.py", line 1214, in run_command
  288.      super().run_command(command)
  289.    File "C:\Users\j2the\anaconda3\envs\DFDNet\lib\site-packages\setuptools\_distutils\dist.py", line 986, in run_command
  290.      cmd_obj.run()
  291.    File "C:\Users\j2the\anaconda3\envs\DFDNet\lib\site-packages\wheel\bdist_wheel.py", line 299, in run
  292.      self.run_command('build')
  293.    File "C:\Users\j2the\anaconda3\envs\DFDNet\lib\site-packages\setuptools\_distutils\cmd.py", line 313, in run_command
  294.      self.distribution.run_command(command)
  295.    File "C:\Users\j2the\anaconda3\envs\DFDNet\lib\site-packages\setuptools\dist.py", line 1214, in run_command
  296.      super().run_command(command)
  297.    File "C:\Users\j2the\anaconda3\envs\DFDNet\lib\site-packages\setuptools\_distutils\dist.py", line 986, in run_command
  298.      cmd_obj.run()
  299.    File "C:\Users\j2the\anaconda3\envs\DFDNet\lib\site-packages\setuptools\_distutils\command\build.py", line 135, in run
  300.      self.run_command(cmd_name)
  301.    File "C:\Users\j2the\anaconda3\envs\DFDNet\lib\site-packages\setuptools\_distutils\cmd.py", line 313, in run_command
  302.      self.distribution.run_command(command)
  303.    File "C:\Users\j2the\anaconda3\envs\DFDNet\lib\site-packages\setuptools\dist.py", line 1214, in run_command
  304.      super().run_command(command)
  305.    File "C:\Users\j2the\anaconda3\envs\DFDNet\lib\site-packages\setuptools\_distutils\dist.py", line 986, in run_command
  306.      cmd_obj.run()
  307.    File "C:\Users\j2the\AppData\Local\Temp\pip-install-t6pyaxbi\dlib_159405016a03481391ce1a251da81e64\setup.py", line 134, in run
  308.      self.build_extension(ext)
  309.    File "C:\Users\j2the\AppData\Local\Temp\pip-install-t6pyaxbi\dlib_159405016a03481391ce1a251da81e64\setup.py", line 174, in build_extension
  310.      subprocess.check_call(cmake_build, cwd=build_folder)
  311.    File "C:\Users\j2the\anaconda3\envs\DFDNet\lib\subprocess.py", line 369, in check_call
  312.      raise CalledProcessError(retcode, cmd)
  313.  subprocess.CalledProcessError: Command '['cmake', '--build', '.', '--config', 'Release', '--', '/m']' returned non-zero exit status 1.
  314.  ----------------------------------------
  315.  ERROR: Failed building wheel for dlib
  316.  Running setup.py clean for dlib
  317. Failed to build dlib
Add Comment
Please, Sign In to add comment