davisking / dlib

A toolkit for making real world machine learning and data analysis applications in C++
http://dlib.net
Boost Software License 1.0
13.5k stars 3.37k forks source link

Building wheel for dlib (setup.py) ... error #2671

Closed LucasNiesen closed 2 years ago

LucasNiesen commented 2 years ago

Hello i'm trying to install dlib using pip install dlibbut i get an error.

This is the error:

G:\Gedeelde drives\4TW_2022-2023_T1(Lucas-Bram-Senne)\2. Persoonlijk\2. Lucas N\Test gezichtsherkenning\Test>pip install dlib
Collecting dlib
  Using cached dlib-19.24.0.tar.gz (3.2 MB)
  Preparing metadata (setup.py) ... done
Building wheels for collected packages: dlib
  Building wheel for dlib (setup.py) ... error
  error: subprocess-exited-with-error

  × python setup.py bdist_wheel did not run successfully.
  │ exit code: 1
  ╰─> [8 lines of output]
      running bdist_wheel
      running build
      running build_py
      package init file 'tools\python\dlib\__init__.py' not found (or not a regular file)
      running build_ext

      ERROR: CMake must be installed to build dlib

      [end of output]

  note: This error originates from a subprocess, and is likely not a problem with pip.
  ERROR: Failed building wheel for dlib
  Running setup.py clean for dlib
Failed to build dlib
Installing collected packages: dlib
  Running setup.py install for dlib ... error
  error: subprocess-exited-with-error

  × Running setup.py install for dlib did not run successfully.
  │ exit code: 1
  ╰─> [8 lines of output]
      running install
      running build
      running build_py
      package init file 'tools\python\dlib\__init__.py' not found (or not a regular file)
      running build_ext

      ERROR: CMake must be installed to build dlib

      [end of output]

  note: This error originates from a subprocess, and is likely not a problem with pip.
error: legacy-install-failure

× Encountered error while trying to install package.
╰─> dlib

note: This is an issue with the package mentioned above, not pip.
hint: See above for output from the failure.

i'am using python 3.8.2 I got dlib automaticly using pip install dlib i'am using windows 10 64 bit

arrufat commented 2 years ago

It looks like you have to install CMake.

LucasNiesen commented 2 years ago

It looks like you have to install CMake.

i alread y did it but the error is the same.

davisking commented 2 years ago

Maybe cmake isn't in your path. If you open a terminal and type cmake and get error then it's not going to work.

LucasNiesen commented 2 years ago

Maybe cmake isn't in your path. If you open a terminal and type cmake and get error then it's not going to work.

I installed cmake from the site and slect add to path. If i type cmake in cmd i works. image

malleswarrao commented 2 years ago

Hi Lucas, I am facing same error, How did you get it resolved.

LucasNiesen commented 2 years ago

Hi Lucas, I am facing same error, How did you get it resolved.

I used this tuturial. https://medium.com/analytics-vidhya/how-to-install-dlib-library-for-python-in-windows-10-57348ba1117f I forgot to install visual studio.

shahzadwattoo commented 1 year ago

Hi Lucas, I am facing same error, How did you get it resolved.

I used this tuturial. https://medium.com/analytics-vidhya/how-to-install-dlib-library-for-python-in-windows-10-57348ba1117f I forgot to install visual studio.

Hi Lucas, I am facing same error, How did you get it resolved.

I used this tuturial. https://medium.com/analytics-vidhya/how-to-install-dlib-library-for-python-in-windows-10-57348ba1117f I forgot to install visual studio.

Hi Lucas! I got same as yours and I applied the same solution as yours and I also followed the above article given in above link but I'm still facing the same issue and I cannot get it install. Can you please guide?

LucasNiesen commented 1 year ago

I only folowed the manual and it works. But on a 5th device i did it but it was not working so i deleted camke in python + deinstalled camke + deinstalled visual studio. And delete python and all of the remaining folders. I did the instalation manual again and it works.

Manisha911 commented 1 year ago

Hi lucas, do you have any solution for this :

(env) PS C:\Users\Manisha GM\Desktop\Keyless Entry System In Virtual Door Using Face Recognition> pip install dlib Collecting dlib Using cached dlib-19.24.0.tar.gz (3.2 MB) Preparing metadata (setup.py) ... done Building wheels for collected packages: dlib Building wheel for dlib (setup.py) ... error error: subprocess-exited-with-error

× python setup.py bdist_wheel did not run successfully. │ exit code: 1 ╰─> [95 lines of output] running bdist_wheel running build running build_py running build_ext C:\Users\Manisha GM\AppData\Local\Temp\pip-install-y8n7zeoj\dlib_66e2dd6a8e5b45099f095b805930d6dd\setup.py:129: DeprecationWarning: distutils Version classes are deprecated. Use packaging.version instead. if LooseVersion(cmake_version) < '3.1.0': Building extension for Python 3.10.10 (tags/v3.10.10:aad5f6a, Feb 7 2023, 17:20:36) [MSC v.1929 64 bit (AMD64)] Invoking CMake setup: 'cmake C:\Users\Manisha GM\AppData\Local\Temp\pip-install-y8n7zeoj\dlib_66e2dd6a8e5b45099f095b805930d6dd\tools\python -DCMAKE_LIBRARY_OUTPUT_DIRECTORY=C:\Users\Manisha GM\AppData\Local\Temp\pip-install-y8n7zeoj\dlib_66e2dd6a8e5b45099f095b805930d6dd\build\lib.win-amd64-cpython-310 -DPYTHON_EXECUTABLE=C:\Users\Manisha GM\Desktop\Keyless Entry System In Virtual Door Using Face Recognition\env\Scripts\python.exe -DCMAKE_LIBRARY_OUTPUT_DIRECTORY_RELEASE=C:\Users\Manisha GM\AppData\Local\Temp\pip-install-y8n7zeoj\dlib_66e2dd6a8e5b45099f095b805930d6dd\build\lib.win-amd64-cpython-310 -A x64' -- Building for: Visual Studio 17 2022 -- The C compiler identification is MSVC 19.35.32215.0 -- The CXX compiler identification is MSVC 19.35.32215.0 -- Detecting C compiler ABI info -- Detecting C compiler ABI info - failed -- Check for working C compiler: C:/Program Files/Microsoft Visual Studio/2022/Community/VC/Tools/MSVC/14.35.32215/bin/Hostx64/x64/cl.exe -- Check for working C compiler: C:/Program Files/Microsoft Visual Studio/2022/Community/VC/Tools/MSVC/14.35.32215/bin/Hostx64/x64/cl.exe - broken
CMake Error at C:/Users/Manisha GM/Desktop/Keyless Entry System In Virtual Door Using Face Recognition/env/Lib/site-packages/cmake/data/share/cmake-3.25/Modules/CMakeTestCCompiler.cmake:70 (message): The C compiler

      "C:/Program Files/Microsoft Visual Studio/2022/Community/VC/Tools/MSVC/14.35.32215/bin/Hostx64/x64/cl.exe"

    is not able to compile a simple test program.

    It fails with the following output:

      Change Dir: C:/Users/Manisha GM/AppData/Local/Temp/pip-install-y8n7zeoj/dlib_66e2dd6a8e5b45099f095b805930d6dd/build/temp.win-amd64-cpython-310/Release/CMakeFiles/CMakeScratch/TryCompile-t6tclb

      Run Build Command(s):C:/Program Files/Microsoft Visual Studio/2022/Community/MSBuild/Current/Bin/amd64/MSBuild.exe cmTC_a26ec.vcxproj /p:Configuration=Debug /p:Platform=x64 /p:VisualStudioVersion=17.0 /v:m && MSBuild version 17.5.0+6f08c67f3 for .NET Framework

        Microsoft (R) C/C++ Optimizing Compiler Version 19.35.32215 for x64
        Copyright (C) Microsoft Corporation.  All rights reserved.
        testCCompiler.c
        cl /c /Zi /W3 /WX- /diagnostics:column /Od /Ob0 /D _MBCS /D WIN32 /D _WINDOWS /D "CMAKE_INTDIR=\"Debug\"" /Gm- /RTC1 /MDd /GS /fp:precise /Zc:wchar_t /Zc:forScope /Zc:inline /Fo"cmTC_a26ec.dir\Debug\\" /Fd"cmTC_a26ec.dir\Debug\vc143.pdb" /external:W3 /Gd /TC /errorReport:queue "C:\Users\Manisha GM\AppData\Local\Temp\pip-install-y8n7zeoj\dlib_66e2dd6a8e5b45099f095b805930d6dd\build\temp.win-amd64-cpython-310\Release\CMakeFiles\CMakeScratch\TryCompile-t6tclb\testCCompiler.c"
      C:\Program Files\Microsoft Visual Studio\2022\Community\MSBuild\Microsoft\VC\v170\Microsoft.CppCommon.targets(1096,5): error MSB6003: The specified task executable "link.exe" could not be run. System.IO.DirectoryNotFoundException: Could not find a part of the path 'C:\Users\Manisha GM\AppData\Local\Temp\pip-install-y8n7zeoj\dlib_66e2dd6a8e5b45099f095b805930d6dd\build\temp.win-amd64-cpython-310\Release\CMakeFiles\CMakeScratch\TryCompile-t6tclb\cmTC_a26ec.dir\Debug\cmTC_a26ec.tlog'. [C:\Users\Manisha GM\AppData\Local\Temp\pip-install-y8n7zeoj\dlib_66e2dd6a8e5b45099f095b805930d6dd\build\temp.win-amd64-cpython-310\Release\CMakeFiles\CMakeScratch\TryCompile-t6tclb\cmTC_a26ec.vcxproj]
      C:\Program Files\Microsoft Visual Studio\2022\Community\MSBuild\Microsoft\VC\v170\Microsoft.CppCommon.targets(1096,5): error MSB6003:    at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath) [C:\Users\Manisha GM\AppData\Local\Temp\pip-install-y8n7zeoj\dlib_66e2dd6a8e5b45099f095b805930d6dd\build\temp.win-amd64-cpython-310\Release\CMakeFiles\CMakeScratch\TryCompile-t6tclb\cmTC_a26ec.vcxproj]
      C:\Program Files\Microsoft Visual Studio\2022\Community\MSBuild\Microsoft\VC\v170\Microsoft.CppCommon.targets(1096,5): error MSB6003:    at System.IO.FileSystemEnumerableIterator`1.CommonInit() [C:\Users\Manisha GM\AppData\Local\Temp\pip-install-y8n7zeoj\dlib_66e2dd6a8e5b45099f095b805930d6dd\build\temp.win-amd64-cpython-310\Release\CMakeFiles\CMakeScratch\TryCompile-t6tclb\cmTC_a26ec.vcxproj]
      C:\Program Files\Microsoft Visual Studio\2022\Community\MSBuild\Microsoft\VC\v170\Microsoft.CppCommon.targets(1096,5): error MSB6003:    at System.IO.FileSystemEnumerableIterator`1..ctor(String path, String originalUserPath, String searchPattern, SearchOption searchOption, SearchResultHandler`1 resultHandler, Boolean checkHost) [C:\Users\Manisha GM\AppData\Local\Temp\pip-install-y8n7zeoj\dlib_66e2dd6a8e5b45099f095b805930d6dd\build\temp.win-amd64-cpython-310\Release\CMakeFiles\CMakeScratch\TryCompile-t6tclb\cmTC_a26ec.vcxproj]
      C:\Program Files\Microsoft Visual Studio\2022\Community\MSBuild\Microsoft\VC\v170\Microsoft.CppCommon.targets(1096,5): error MSB6003:    at System.IO.Directory.GetFiles(String path, String searchPattern) [C:\Users\Manisha GM\AppData\Local\Temp\pip-install-y8n7zeoj\dlib_66e2dd6a8e5b45099f095b805930d6dd\build\temp.win-amd64-cpython-310\Release\CMakeFiles\CMakeScratch\TryCompile-t6tclb\cmTC_a26ec.vcxproj]
      C:\Program Files\Microsoft Visual Studio\2022\Community\MSBuild\Microsoft\VC\v170\Microsoft.CppCommon.targets(1096,5): error MSB6003:    at Microsoft.Build.Utilities.TrackedDependencies.ExpandWildcards(ITaskItem[] expand) [C:\Users\Manisha GM\AppData\Local\Temp\pip-install-y8n7zeoj\dlib_66e2dd6a8e5b45099f095b805930d6dd\build\temp.win-amd64-cpython-310\Release\CMakeFiles\CMakeScratch\TryCompile-t6tclb\cmTC_a26ec.vcxproj]
      C:\Program Files\Microsoft Visual Studio\2022\Community\MSBuild\Microsoft\VC\v170\Microsoft.CppCommon.targets(1096,5): error MSB6003:    at Microsoft.Build.Utilities.CanonicalTrackedOutputFiles.InternalConstruct(ITask ownerTask, ITaskItem[] tlogFiles, Boolean constructOutputsFromTLogs) [C:\Users\Manisha GM\AppData\Local\Temp\pip-install-y8n7zeoj\dlib_66e2dd6a8e5b45099f095b805930d6dd\build\temp.win-amd64-cpython-310\Release\CMakeFiles\CMakeScratch\TryCompile-t6tclb\cmTC_a26ec.vcxproj]
      C:\Program Files\Microsoft Visual Studio\2022\Community\MSBuild\Microsoft\VC\v170\Microsoft.CppCommon.targets(1096,5): error MSB6003:    at Microsoft.Build.CPPTasks.TrackedVCToolTask.PostExecuteTool(Int32 exitCode) [C:\Users\Manisha GM\AppData\Local\Temp\pip-install-y8n7zeoj\dlib_66e2dd6a8e5b45099f095b805930d6dd\build\temp.win-amd64-cpython-310\Release\CMakeFiles\CMakeScratch\TryCompile-t6tclb\cmTC_a26ec.vcxproj]
      C:\Program Files\Microsoft Visual Studio\2022\Community\MSBuild\Microsoft\VC\v170\Microsoft.CppCommon.targets(1096,5): error MSB6003:    at Microsoft.Build.CPPTasks.TrackedVCToolTask.ExecuteTool(String pathToTool, String responseFileCommands, String commandLineCommands) [C:\Users\Manisha GM\AppData\Local\Temp\pip-install-y8n7zeoj\dlib_66e2dd6a8e5b45099f095b805930d6dd\build\temp.win-amd64-cpython-310\Release\CMakeFiles\CMakeScratch\TryCompile-t6tclb\cmTC_a26ec.vcxproj]
      C:\Program Files\Microsoft Visual Studio\2022\Community\MSBuild\Microsoft\VC\v170\Microsoft.CppCommon.targets(1096,5): error MSB6003:    at Microsoft.Build.Utilities.ToolTask.Execute() [C:\Users\Manisha GM\AppData\Local\Temp\pip-install-y8n7zeoj\dlib_66e2dd6a8e5b45099f095b805930d6dd\build\temp.win-amd64-cpython-310\Release\CMakeFiles\CMakeScratch\TryCompile-t6tclb\cmTC_a26ec.vcxproj]

    CMake will not be able to correctly generate this project.
  Call Stack (most recent call first):
    CMakeLists.txt:14 (project)

  -- Configuring incomplete, errors occurred!
  See also "C:/Users/Manisha GM/AppData/Local/Temp/pip-install-y8n7zeoj/dlib_66e2dd6a8e5b45099f095b805930d6dd/build/temp.win-amd64-cpython-310/Release/CMakeFiles/CMakeOutput.log".
  See also "C:/Users/Manisha GM/AppData/Local/Temp/pip-install-y8n7zeoj/dlib_66e2dd6a8e5b45099f095b805930d6dd/build/temp.win-amd64-cpython-310/Release/CMakeFiles/CMakeError.log".
  Traceback (most recent call last):
    File "<string>", line 2, in <module>
    File "<pip-setuptools-caller>", line 34, in <module>
    File "C:\Users\Manisha GM\AppData\Local\Temp\pip-install-y8n7zeoj\dlib_66e2dd6a8e5b45099f095b805930d6dd\setup.py", line 222, in <module>
      setup(
    File "C:\Users\Manisha GM\Desktop\Keyless Entry System In Virtual Door Using Face Recognition\env\lib\site-packages\setuptools\__init__.py", line 87, in setup
      return distutils.core.setup(**attrs)
    File "C:\Users\Manisha GM\Desktop\Keyless Entry System In Virtual Door Using Face Recognition\env\lib\site-packages\setuptools\_distutils\core.py", line 185, in setup
      return run_commands(dist)
    File "C:\Users\Manisha GM\Desktop\Keyless Entry System In Virtual Door Using Face Recognition\env\lib\site-packages\setuptools\_distutils\core.py", line 201, in run_commands
      dist.run_commands()
    File "C:\Users\Manisha GM\Desktop\Keyless Entry System In Virtual Door Using Face Recognition\env\lib\site-packages\setuptools\_distutils\dist.py", line 968, in run_commands
      self.run_command(cmd)
    File "C:\Users\Manisha GM\Desktop\Keyless Entry System In Virtual Door Using Face Recognition\env\lib\site-packages\setuptools\dist.py", line 1217, in run_command
      super().run_command(command)
    File "C:\Users\Manisha GM\Desktop\Keyless Entry System In Virtual Door Using Face Recognition\env\lib\site-packages\setuptools\_distutils\dist.py", line 987, in run_command
      cmd_obj.run()
    File "C:\Users\Manisha GM\Desktop\Keyless Entry System In Virtual Door Using Face Recognition\env\lib\site-packages\wheel\bdist_wheel.py", line 325, in run
      self.run_command("build")
    File "C:\Users\Manisha GM\Desktop\Keyless Entry System In Virtual Door Using Face Recognition\env\lib\site-packages\setuptools\_distutils\cmd.py", line 319, in run_command
      self.distribution.run_command(command)
    File "C:\Users\Manisha GM\Desktop\Keyless Entry System In Virtual Door Using Face Recognition\env\lib\site-packages\setuptools\dist.py", line 1217, in run_command
      super().run_command(command)
    File "C:\Users\Manisha GM\Desktop\Keyless Entry System In Virtual Door Using Face Recognition\env\lib\site-packages\setuptools\_distutils\dist.py", line 987, in run_command
      cmd_obj.run()
    File "C:\Users\Manisha GM\Desktop\Keyless Entry System In Virtual Door Using Face Recognition\env\lib\site-packages\setuptools\_distutils\command\build.py", line 132, in run
      self.run_command(cmd_name)
    File "C:\Users\Manisha GM\Desktop\Keyless Entry System In Virtual Door Using Face Recognition\env\lib\site-packages\setuptools\_distutils\cmd.py", line 319, in run_command
      self.distribution.run_command(command)
    File "C:\Users\Manisha GM\Desktop\Keyless Entry System In Virtual Door Using Face Recognition\env\lib\site-packages\setuptools\dist.py", line 1217, in run_command
      super().run_command(command)
    File "C:\Users\Manisha GM\Desktop\Keyless Entry System In Virtual Door Using Face Recognition\env\lib\site-packages\setuptools\_distutils\dist.py", line 987, in run_command
      cmd_obj.run()
    File "C:\Users\Manisha GM\AppData\Local\Temp\pip-install-y8n7zeoj\dlib_66e2dd6a8e5b45099f095b805930d6dd\setup.py", line 134, in run
      self.build_extension(ext)
    File "C:\Users\Manisha GM\AppData\Local\Temp\pip-install-y8n7zeoj\dlib_66e2dd6a8e5b45099f095b805930d6dd\setup.py", line 171, in build_extension    
      subprocess.check_call(cmake_setup, cwd=build_folder)
    File "C:\Program Files\WindowsApps\PythonSoftwareFoundation.Python.3.10_3.10.2800.0_x64__qbz5n2kfra8p0\lib\subprocess.py", line 369, in check_call 
      raise CalledProcessError(retcode, cmd)
  subprocess.CalledProcessError: Command '['cmake', 'C:\\Users\\Manisha GM\\AppData\\Local\\Temp\\pip-install-y8n7zeoj\\dlib_66e2dd6a8e5b45099f095b805930d6dd\\tools\\python', '-DCMAKE_LIBRARY_OUTPUT_DIRECTORY=C:\\Users\\Manisha GM\\AppData\\Local\\Temp\\pip-install-y8n7zeoj\\dlib_66e2dd6a8e5b45099f095b805930d6dd\\build\\lib.win-amd64-cpython-310', '-DPYTHON_EXECUTABLE=C:\\Users\\Manisha GM\\Desktop\\Keyless Entry System In Virtual Door Using Face Recognition\\env\\Scripts\\python.exe', '-DCMAKE_LIBRARY_OUTPUT_DIRECTORY_RELEASE=C:\\Users\\Manisha GM\\AppData\\Local\\Temp\\pip-install-y8n7zeoj\\dlib_66e2dd6a8e5b45099f095b805930d6dd\\build\\lib.win-amd64-cpython-310', '-A', 'x64']' returned non-zero exit status 1.
  [end of output]

note: This error originates from a subprocess, and is likely not a problem with pip. ERROR: Failed building wheel for dlib Running setup.py clean for dlib Failed to build dlib Installing collected packages: dlib Running setup.py install for dlib ... error error: subprocess-exited-with-error

× Running setup.py install for dlib did not run successfully. │ exit code: 1 ╰─> [99 lines of output] running install C:\Users\Manisha GM\Desktop\Keyless Entry System In Virtual Door Using Face Recognition\env\lib\site-packages\setuptools\command\install.py:34: SetuptoolsDeprecationWarning: setup.py install is deprecated. Use build and pip and other standards-based tools. warnings.warn( running build running build_py running build_ext C:\Users\Manisha GM\AppData\Local\Temp\pip-install-y8n7zeoj\dlib_66e2dd6a8e5b45099f095b805930d6dd\setup.py:129: DeprecationWarning: distutils Version classes are deprecated. Use packaging.version instead. if LooseVersion(cmake_version) < '3.1.0': Building extension for Python 3.10.10 (tags/v3.10.10:aad5f6a, Feb 7 2023, 17:20:36) [MSC v.1929 64 bit (AMD64)] Invoking CMake setup: 'cmake C:\Users\Manisha GM\AppData\Local\Temp\pip-install-y8n7zeoj\dlib_66e2dd6a8e5b45099f095b805930d6dd\tools\python -DCMAKE_LIBRARY_OUTPUT_DIRECTORY=C:\Users\Manisha GM\AppData\Local\Temp\pip-install-y8n7zeoj\dlib_66e2dd6a8e5b45099f095b805930d6dd\build\lib.win-amd64-cpython-310 -DPYTHON_EXECUTABLE=C:\Users\Manisha GM\Desktop\Keyless Entry System In Virtual Door Using Face Recognition\env\Scripts\python.exe -DCMAKE_LIBRARY_OUTPUT_DIRECTORY_RELEASE=C:\Users\Manisha GM\AppData\Local\Temp\pip-install-y8n7zeoj\dlib_66e2dd6a8e5b45099f095b805930d6dd\build\lib.win-amd64-cpython-310 -A x64'
-- Building for: Visual Studio 17 2022 -- The C compiler identification is MSVC 19.35.32215.0 -- The CXX compiler identification is MSVC 19.35.32215.0 -- Detecting C compiler ABI info -- Detecting C compiler ABI info - failed -- Check for working C compiler: C:/Program Files/Microsoft Visual Studio/2022/Community/VC/Tools/MSVC/14.35.32215/bin/Hostx64/x64/cl.exe -- Check for working C compiler: C:/Program Files/Microsoft Visual Studio/2022/Community/VC/Tools/MSVC/14.35.32215/bin/Hostx64/x64/cl.exe - broken
CMake Error at C:/Users/Manisha GM/Desktop/Keyless Entry System In Virtual Door Using Face Recognition/env/Lib/site-packages/cmake/data/share/cmake-3.25/Modules/CMakeTestCCompiler.cmake:70 (message): The C compiler

      "C:/Program Files/Microsoft Visual Studio/2022/Community/VC/Tools/MSVC/14.35.32215/bin/Hostx64/x64/cl.exe"

    is not able to compile a simple test program.

    It fails with the following output:

      Change Dir: C:/Users/Manisha GM/AppData/Local/Temp/pip-install-y8n7zeoj/dlib_66e2dd6a8e5b45099f095b805930d6dd/build/temp.win-amd64-cpython-310/Release/CMakeFiles/CMakeScratch/TryCompile-vanaip

      Run Build Command(s):C:/Program Files/Microsoft Visual Studio/2022/Community/MSBuild/Current/Bin/amd64/MSBuild.exe cmTC_a7d10.vcxproj /p:Configuration=Debug /p:Platform=x64 /p:VisualStudioVersion=17.0 /v:m && MSBuild version 17.5.0+6f08c67f3 for .NET Framework

        Microsoft (R) C/C++ Optimizing Compiler Version 19.35.32215 for x64
        Copyright (C) Microsoft Corporation.  All rights reserved.
        testCCompiler.c
        cl /c /Zi /W3 /WX- /diagnostics:column /Od /Ob0 /D _MBCS /D WIN32 /D _WINDOWS /D "CMAKE_INTDIR=\"Debug\"" /Gm- /RTC1 /MDd /GS /fp:precise /Zc:wchar_t /Zc:forScope /Zc:inline /Fo"cmTC_a7d10.dir\Debug\\" /Fd"cmTC_a7d10.dir\Debug\vc143.pdb" /external:W3 /Gd /TC /errorReport:queue "C:\Users\Manisha GM\AppData\Local\Temp\pip-install-y8n7zeoj\dlib_66e2dd6a8e5b45099f095b805930d6dd\build\temp.win-amd64-cpython-310\Release\CMakeFiles\CMakeScratch\TryCompile-vanaip\testCCompiler.c"
      C:\Program Files\Microsoft Visual Studio\2022\Community\MSBuild\Microsoft\VC\v170\Microsoft.CppCommon.targets(1096,5): error MSB6003: The specified task executable "link.exe" could not be run. System.IO.DirectoryNotFoundException: Could not find a part of the path 'C:\Users\Manisha GM\AppData\Local\Temp\pip-install-y8n7zeoj\dlib_66e2dd6a8e5b45099f095b805930d6dd\build\temp.win-amd64-cpython-310\Release\CMakeFiles\CMakeScratch\TryCompile-vanaip\cmTC_a7d10.dir\Debug\cmTC_a7d10.tlog'. [C:\Users\Manisha GM\AppData\Local\Temp\pip-install-y8n7zeoj\dlib_66e2dd6a8e5b45099f095b805930d6dd\build\temp.win-amd64-cpython-310\Release\CMakeFiles\CMakeScratch\TryCompile-vanaip\cmTC_a7d10.vcxproj]
      C:\Program Files\Microsoft Visual Studio\2022\Community\MSBuild\Microsoft\VC\v170\Microsoft.CppCommon.targets(1096,5): error MSB6003:    at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath) [C:\Users\Manisha GM\AppData\Local\Temp\pip-install-y8n7zeoj\dlib_66e2dd6a8e5b45099f095b805930d6dd\build\temp.win-amd64-cpython-310\Release\CMakeFiles\CMakeScratch\TryCompile-vanaip\cmTC_a7d10.vcxproj]
      C:\Program Files\Microsoft Visual Studio\2022\Community\MSBuild\Microsoft\VC\v170\Microsoft.CppCommon.targets(1096,5): error MSB6003:    at System.IO.FileSystemEnumerableIterator`1.CommonInit() [C:\Users\Manisha GM\AppData\Local\Temp\pip-install-y8n7zeoj\dlib_66e2dd6a8e5b45099f095b805930d6dd\build\temp.win-amd64-cpython-310\Release\CMakeFiles\CMakeScratch\TryCompile-vanaip\cmTC_a7d10.vcxproj]
      C:\Program Files\Microsoft Visual Studio\2022\Community\MSBuild\Microsoft\VC\v170\Microsoft.CppCommon.targets(1096,5): error MSB6003:    at System.IO.FileSystemEnumerableIterator`1..ctor(String path, String originalUserPath, String searchPattern, SearchOption searchOption, SearchResultHandler`1 resultHandler, Boolean checkHost) [C:\Users\Manisha GM\AppData\Local\Temp\pip-install-y8n7zeoj\dlib_66e2dd6a8e5b45099f095b805930d6dd\build\temp.win-amd64-cpython-310\Release\CMakeFiles\CMakeScratch\TryCompile-vanaip\cmTC_a7d10.vcxproj]
      C:\Program Files\Microsoft Visual Studio\2022\Community\MSBuild\Microsoft\VC\v170\Microsoft.CppCommon.targets(1096,5): error MSB6003:    at System.IO.Directory.GetFiles(String path, String searchPattern) [C:\Users\Manisha GM\AppData\Local\Temp\pip-install-y8n7zeoj\dlib_66e2dd6a8e5b45099f095b805930d6dd\build\temp.win-amd64-cpython-310\Release\CMakeFiles\CMakeScratch\TryCompile-vanaip\cmTC_a7d10.vcxproj]
      C:\Program Files\Microsoft Visual Studio\2022\Community\MSBuild\Microsoft\VC\v170\Microsoft.CppCommon.targets(1096,5): error MSB6003:    at Microsoft.Build.Utilities.TrackedDependencies.ExpandWildcards(ITaskItem[] expand) [C:\Users\Manisha GM\AppData\Local\Temp\pip-install-y8n7zeoj\dlib_66e2dd6a8e5b45099f095b805930d6dd\build\temp.win-amd64-cpython-310\Release\CMakeFiles\CMakeScratch\TryCompile-vanaip\cmTC_a7d10.vcxproj]
      C:\Program Files\Microsoft Visual Studio\2022\Community\MSBuild\Microsoft\VC\v170\Microsoft.CppCommon.targets(1096,5): error MSB6003:    at Microsoft.Build.Utilities.CanonicalTrackedOutputFiles.InternalConstruct(ITask ownerTask, ITaskItem[] tlogFiles, Boolean constructOutputsFromTLogs) [C:\Users\Manisha GM\AppData\Local\Temp\pip-install-y8n7zeoj\dlib_66e2dd6a8e5b45099f095b805930d6dd\build\temp.win-amd64-cpython-310\Release\CMakeFiles\CMakeScratch\TryCompile-vanaip\cmTC_a7d10.vcxproj]
      C:\Program Files\Microsoft Visual Studio\2022\Community\MSBuild\Microsoft\VC\v170\Microsoft.CppCommon.targets(1096,5): error MSB6003:    at Microsoft.Build.CPPTasks.TrackedVCToolTask.PostExecuteTool(Int32 exitCode) [C:\Users\Manisha GM\AppData\Local\Temp\pip-install-y8n7zeoj\dlib_66e2dd6a8e5b45099f095b805930d6dd\build\temp.win-amd64-cpython-310\Release\CMakeFiles\CMakeScratch\TryCompile-vanaip\cmTC_a7d10.vcxproj]
      C:\Program Files\Microsoft Visual Studio\2022\Community\MSBuild\Microsoft\VC\v170\Microsoft.CppCommon.targets(1096,5): error MSB6003:    at Microsoft.Build.CPPTasks.TrackedVCToolTask.ExecuteTool(String pathToTool, String responseFileCommands, String commandLineCommands) [C:\Users\Manisha GM\AppData\Local\Temp\pip-install-y8n7zeoj\dlib_66e2dd6a8e5b45099f095b805930d6dd\build\temp.win-amd64-cpython-310\Release\CMakeFiles\CMakeScratch\TryCompile-vanaip\cmTC_a7d10.vcxproj]
      C:\Program Files\Microsoft Visual Studio\2022\Community\MSBuild\Microsoft\VC\v170\Microsoft.CppCommon.targets(1096,5): error MSB6003:    at Microsoft.Build.Utilities.ToolTask.Execute() [C:\Users\Manisha GM\AppData\Local\Temp\pip-install-y8n7zeoj\dlib_66e2dd6a8e5b45099f095b805930d6dd\build\temp.win-amd64-cpython-310\Release\CMakeFiles\CMakeScratch\TryCompile-vanaip\cmTC_a7d10.vcxproj]

    CMake will not be able to correctly generate this project.
  Call Stack (most recent call first):
    CMakeLists.txt:14 (project)

  -- Configuring incomplete, errors occurred!
  See also "C:/Users/Manisha GM/AppData/Local/Temp/pip-install-y8n7zeoj/dlib_66e2dd6a8e5b45099f095b805930d6dd/build/temp.win-amd64-cpython-310/Release/CMakeFiles/CMakeOutput.log".
  See also "C:/Users/Manisha GM/AppData/Local/Temp/pip-install-y8n7zeoj/dlib_66e2dd6a8e5b45099f095b805930d6dd/build/temp.win-amd64-cpython-310/Release/CMakeFiles/CMakeError.log".
  Traceback (most recent call last):
    File "<string>", line 2, in <module>
    File "<pip-setuptools-caller>", line 34, in <module>
    File "C:\Users\Manisha GM\AppData\Local\Temp\pip-install-y8n7zeoj\dlib_66e2dd6a8e5b45099f095b805930d6dd\setup.py", line 222, in <module>
      setup(
    File "C:\Users\Manisha GM\Desktop\Keyless Entry System In Virtual Door Using Face Recognition\env\lib\site-packages\setuptools\__init__.py", line 87, in setup
      return distutils.core.setup(**attrs)
    File "C:\Users\Manisha GM\Desktop\Keyless Entry System In Virtual Door Using Face Recognition\env\lib\site-packages\setuptools\_distutils\core.py", line 185, in setup
      return run_commands(dist)
    File "C:\Users\Manisha GM\Desktop\Keyless Entry System In Virtual Door Using Face Recognition\env\lib\site-packages\setuptools\_distutils\core.py", line 201, in run_commands
      dist.run_commands()
    File "C:\Users\Manisha GM\Desktop\Keyless Entry System In Virtual Door Using Face Recognition\env\lib\site-packages\setuptools\_distutils\dist.py", line 968, in run_commands
      self.run_command(cmd)
    File "C:\Users\Manisha GM\Desktop\Keyless Entry System In Virtual Door Using Face Recognition\env\lib\site-packages\setuptools\dist.py", line 1217, in run_command
      super().run_command(command)
    File "C:\Users\Manisha GM\Desktop\Keyless Entry System In Virtual Door Using Face Recognition\env\lib\site-packages\setuptools\_distutils\dist.py", line 987, in run_command
      cmd_obj.run()
    File "C:\Users\Manisha GM\Desktop\Keyless Entry System In Virtual Door Using Face Recognition\env\lib\site-packages\setuptools\command\install.py", line 68, in run
      return orig.install.run(self)
    File "C:\Users\Manisha GM\Desktop\Keyless Entry System In Virtual Door Using Face Recognition\env\lib\site-packages\setuptools\_distutils\command\install.py", line 698, in run
      self.run_command('build')
    File "C:\Users\Manisha GM\Desktop\Keyless Entry System In Virtual Door Using Face Recognition\env\lib\site-packages\setuptools\_distutils\cmd.py", line 319, in run_command
      self.distribution.run_command(command)
    File "C:\Users\Manisha GM\Desktop\Keyless Entry System In Virtual Door Using Face Recognition\env\lib\site-packages\setuptools\dist.py", line 1217, in run_command
      super().run_command(command)
    File "C:\Users\Manisha GM\Desktop\Keyless Entry System In Virtual Door Using Face Recognition\env\lib\site-packages\setuptools\_distutils\dist.py", line 987, in run_command
      cmd_obj.run()
    File "C:\Users\Manisha GM\Desktop\Keyless Entry System In Virtual Door Using Face Recognition\env\lib\site-packages\setuptools\_distutils\command\build.py", line 132, in run
      self.run_command(cmd_name)
    File "C:\Users\Manisha GM\Desktop\Keyless Entry System In Virtual Door Using Face Recognition\env\lib\site-packages\setuptools\_distutils\cmd.py", line 319, in run_command
      self.distribution.run_command(command)
    File "C:\Users\Manisha GM\Desktop\Keyless Entry System In Virtual Door Using Face Recognition\env\lib\site-packages\setuptools\dist.py", line 1217, in run_command
      super().run_command(command)
    File "C:\Users\Manisha GM\Desktop\Keyless Entry System In Virtual Door Using Face Recognition\env\lib\site-packages\setuptools\_distutils\dist.py", line 987, in run_command
      cmd_obj.run()
    File "C:\Users\Manisha GM\AppData\Local\Temp\pip-install-y8n7zeoj\dlib_66e2dd6a8e5b45099f095b805930d6dd\setup.py", line 134, in run
      self.build_extension(ext)
    File "C:\Users\Manisha GM\AppData\Local\Temp\pip-install-y8n7zeoj\dlib_66e2dd6a8e5b45099f095b805930d6dd\setup.py", line 171, in build_extension    
      subprocess.check_call(cmake_setup, cwd=build_folder)
    File "C:\Program Files\WindowsApps\PythonSoftwareFoundation.Python.3.10_3.10.2800.0_x64__qbz5n2kfra8p0\lib\subprocess.py", line 369, in check_call 
      raise CalledProcessError(retcode, cmd)
  subprocess.CalledProcessError: Command '['cmake', 'C:\\Users\\Manisha GM\\AppData\\Local\\Temp\\pip-install-y8n7zeoj\\dlib_66e2dd6a8e5b45099f095b805930d6dd\\tools\\python', '-DCMAKE_LIBRARY_OUTPUT_DIRECTORY=C:\\Users\\Manisha GM\\AppData\\Local\\Temp\\pip-install-y8n7zeoj\\dlib_66e2dd6a8e5b45099f095b805930d6dd\\build\\lib.win-amd64-cpython-310', '-DPYTHON_EXECUTABLE=C:\\Users\\Manisha GM\\Desktop\\Keyless Entry System In Virtual Door Using Face Recognition\\env\\Scripts\\python.exe', '-DCMAKE_LIBRARY_OUTPUT_DIRECTORY_RELEASE=C:\\Users\\Manisha GM\\AppData\\Local\\Temp\\pip-install-y8n7zeoj\\dlib_66e2dd6a8e5b45099f095b805930d6dd\\build\\lib.win-amd64-cpython-310', '-A', 'x64']' returned non-zero exit status 1.
  [end of output]

note: This error originates from a subprocess, and is likely not a problem with pip. error: legacy-install-failure

× Encountered error while trying to install package. ╰─> dlib

note: This is an issue with the package mentioned above, not pip. hint: See above for output from the failure.

LucasNiesen commented 1 year ago

Hi lucas, do you have any solution for this :

(env) PS C:\Users\Manisha GM\Desktop\Keyless Entry System In Virtual Door Using Face Recognition> pip install dlib Collecting dlib Using cached dlib-19.24.0.tar.gz (3.2 MB) Preparing metadata (setup.py) ... done Building wheels for collected packages: dlib Building wheel for dlib (setup.py) ... error error: subprocess-exited-with-error

× python setup.py bdist_wheel did not run successfully. │ exit code: 1 ╰─> [95 lines of output] running bdist_wheel running build running build_py running build_ext C:\Users\Manisha GM\AppData\Local\Temp\pip-install-y8n7zeoj\dlib_66e2dd6a8e5b45099f095b805930d6dd\setup.py:129: DeprecationWarning: distutils Version classes are deprecated. Use packaging.version instead. if LooseVersion(cmake_version) < '3.1.0': Building extension for Python 3.10.10 (tags/v3.10.10:aad5f6a, Feb 7 2023, 17:20:36) [MSC v.1929 64 bit (AMD64)] Invoking CMake setup: 'cmake C:\Users\Manisha GM\AppData\Local\Temp\pip-install-y8n7zeoj\dlib_66e2dd6a8e5b45099f095b805930d6dd\tools\python -DCMAKE_LIBRARY_OUTPUT_DIRECTORY=C:\Users\Manisha GM\AppData\Local\Temp\pip-install-y8n7zeoj\dlib_66e2dd6a8e5b45099f095b805930d6dd\build\lib.win-amd64-cpython-310 -DPYTHON_EXECUTABLE=C:\Users\Manisha GM\Desktop\Keyless Entry System In Virtual Door Using Face Recognition\env\Scripts\python.exe -DCMAKE_LIBRARY_OUTPUT_DIRECTORY_RELEASE=C:\Users\Manisha GM\AppData\Local\Temp\pip-install-y8n7zeoj\dlib_66e2dd6a8e5b45099f095b805930d6dd\build\lib.win-amd64-cpython-310 -A x64' -- Building for: Visual Studio 17 2022 -- The C compiler identification is MSVC 19.35.32215.0 -- The CXX compiler identification is MSVC 19.35.32215.0 -- Detecting C compiler ABI info -- Detecting C compiler ABI info - failed -- Check for working C compiler: C:/Program Files/Microsoft Visual Studio/2022/Community/VC/Tools/MSVC/14.35.32215/bin/Hostx64/x64/cl.exe -- Check for working C compiler: C:/Program Files/Microsoft Visual Studio/2022/Community/VC/Tools/MSVC/14.35.32215/bin/Hostx64/x64/cl.exe - broken CMake Error at C:/Users/Manisha GM/Desktop/Keyless Entry System In Virtual Door Using Face Recognition/env/Lib/site-packages/cmake/data/share/cmake-3.25/Modules/CMakeTestCCompiler.cmake:70 (message): The C compiler

      "C:/Program Files/Microsoft Visual Studio/2022/Community/VC/Tools/MSVC/14.35.32215/bin/Hostx64/x64/cl.exe"

    is not able to compile a simple test program.

    It fails with the following output:

      Change Dir: C:/Users/Manisha GM/AppData/Local/Temp/pip-install-y8n7zeoj/dlib_66e2dd6a8e5b45099f095b805930d6dd/build/temp.win-amd64-cpython-310/Release/CMakeFiles/CMakeScratch/TryCompile-t6tclb

      Run Build Command(s):C:/Program Files/Microsoft Visual Studio/2022/Community/MSBuild/Current/Bin/amd64/MSBuild.exe cmTC_a26ec.vcxproj /p:Configuration=Debug /p:Platform=x64 /p:VisualStudioVersion=17.0 /v:m && MSBuild version 17.5.0+6f08c67f3 for .NET Framework

        Microsoft (R) C/C++ Optimizing Compiler Version 19.35.32215 for x64
        Copyright (C) Microsoft Corporation.  All rights reserved.
        testCCompiler.c
        cl /c /Zi /W3 /WX- /diagnostics:column /Od /Ob0 /D _MBCS /D WIN32 /D _WINDOWS /D "CMAKE_INTDIR=\"Debug\"" /Gm- /RTC1 /MDd /GS /fp:precise /Zc:wchar_t /Zc:forScope /Zc:inline /Fo"cmTC_a26ec.dir\Debug\\" /Fd"cmTC_a26ec.dir\Debug\vc143.pdb" /external:W3 /Gd /TC /errorReport:queue "C:\Users\Manisha GM\AppData\Local\Temp\pip-install-y8n7zeoj\dlib_66e2dd6a8e5b45099f095b805930d6dd\build\temp.win-amd64-cpython-310\Release\CMakeFiles\CMakeScratch\TryCompile-t6tclb\testCCompiler.c"
      C:\Program Files\Microsoft Visual Studio\2022\Community\MSBuild\Microsoft\VC\v170\Microsoft.CppCommon.targets(1096,5): error MSB6003: The specified task executable "link.exe" could not be run. System.IO.DirectoryNotFoundException: Could not find a part of the path 'C:\Users\Manisha GM\AppData\Local\Temp\pip-install-y8n7zeoj\dlib_66e2dd6a8e5b45099f095b805930d6dd\build\temp.win-amd64-cpython-310\Release\CMakeFiles\CMakeScratch\TryCompile-t6tclb\cmTC_a26ec.dir\Debug\cmTC_a26ec.tlog'. [C:\Users\Manisha GM\AppData\Local\Temp\pip-install-y8n7zeoj\dlib_66e2dd6a8e5b45099f095b805930d6dd\build\temp.win-amd64-cpython-310\Release\CMakeFiles\CMakeScratch\TryCompile-t6tclb\cmTC_a26ec.vcxproj]
      C:\Program Files\Microsoft Visual Studio\2022\Community\MSBuild\Microsoft\VC\v170\Microsoft.CppCommon.targets(1096,5): error MSB6003:    at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath) [C:\Users\Manisha GM\AppData\Local\Temp\pip-install-y8n7zeoj\dlib_66e2dd6a8e5b45099f095b805930d6dd\build\temp.win-amd64-cpython-310\Release\CMakeFiles\CMakeScratch\TryCompile-t6tclb\cmTC_a26ec.vcxproj]
      C:\Program Files\Microsoft Visual Studio\2022\Community\MSBuild\Microsoft\VC\v170\Microsoft.CppCommon.targets(1096,5): error MSB6003:    at System.IO.FileSystemEnumerableIterator`1.CommonInit() [C:\Users\Manisha GM\AppData\Local\Temp\pip-install-y8n7zeoj\dlib_66e2dd6a8e5b45099f095b805930d6dd\build\temp.win-amd64-cpython-310\Release\CMakeFiles\CMakeScratch\TryCompile-t6tclb\cmTC_a26ec.vcxproj]
      C:\Program Files\Microsoft Visual Studio\2022\Community\MSBuild\Microsoft\VC\v170\Microsoft.CppCommon.targets(1096,5): error MSB6003:    at System.IO.FileSystemEnumerableIterator`1..ctor(String path, String originalUserPath, String searchPattern, SearchOption searchOption, SearchResultHandler`1 resultHandler, Boolean checkHost) [C:\Users\Manisha GM\AppData\Local\Temp\pip-install-y8n7zeoj\dlib_66e2dd6a8e5b45099f095b805930d6dd\build\temp.win-amd64-cpython-310\Release\CMakeFiles\CMakeScratch\TryCompile-t6tclb\cmTC_a26ec.vcxproj]
      C:\Program Files\Microsoft Visual Studio\2022\Community\MSBuild\Microsoft\VC\v170\Microsoft.CppCommon.targets(1096,5): error MSB6003:    at System.IO.Directory.GetFiles(String path, String searchPattern) [C:\Users\Manisha GM\AppData\Local\Temp\pip-install-y8n7zeoj\dlib_66e2dd6a8e5b45099f095b805930d6dd\build\temp.win-amd64-cpython-310\Release\CMakeFiles\CMakeScratch\TryCompile-t6tclb\cmTC_a26ec.vcxproj]
      C:\Program Files\Microsoft Visual Studio\2022\Community\MSBuild\Microsoft\VC\v170\Microsoft.CppCommon.targets(1096,5): error MSB6003:    at Microsoft.Build.Utilities.TrackedDependencies.ExpandWildcards(ITaskItem[] expand) [C:\Users\Manisha GM\AppData\Local\Temp\pip-install-y8n7zeoj\dlib_66e2dd6a8e5b45099f095b805930d6dd\build\temp.win-amd64-cpython-310\Release\CMakeFiles\CMakeScratch\TryCompile-t6tclb\cmTC_a26ec.vcxproj]
      C:\Program Files\Microsoft Visual Studio\2022\Community\MSBuild\Microsoft\VC\v170\Microsoft.CppCommon.targets(1096,5): error MSB6003:    at Microsoft.Build.Utilities.CanonicalTrackedOutputFiles.InternalConstruct(ITask ownerTask, ITaskItem[] tlogFiles, Boolean constructOutputsFromTLogs) [C:\Users\Manisha GM\AppData\Local\Temp\pip-install-y8n7zeoj\dlib_66e2dd6a8e5b45099f095b805930d6dd\build\temp.win-amd64-cpython-310\Release\CMakeFiles\CMakeScratch\TryCompile-t6tclb\cmTC_a26ec.vcxproj]
      C:\Program Files\Microsoft Visual Studio\2022\Community\MSBuild\Microsoft\VC\v170\Microsoft.CppCommon.targets(1096,5): error MSB6003:    at Microsoft.Build.CPPTasks.TrackedVCToolTask.PostExecuteTool(Int32 exitCode) [C:\Users\Manisha GM\AppData\Local\Temp\pip-install-y8n7zeoj\dlib_66e2dd6a8e5b45099f095b805930d6dd\build\temp.win-amd64-cpython-310\Release\CMakeFiles\CMakeScratch\TryCompile-t6tclb\cmTC_a26ec.vcxproj]
      C:\Program Files\Microsoft Visual Studio\2022\Community\MSBuild\Microsoft\VC\v170\Microsoft.CppCommon.targets(1096,5): error MSB6003:    at Microsoft.Build.CPPTasks.TrackedVCToolTask.ExecuteTool(String pathToTool, String responseFileCommands, String commandLineCommands) [C:\Users\Manisha GM\AppData\Local\Temp\pip-install-y8n7zeoj\dlib_66e2dd6a8e5b45099f095b805930d6dd\build\temp.win-amd64-cpython-310\Release\CMakeFiles\CMakeScratch\TryCompile-t6tclb\cmTC_a26ec.vcxproj]
      C:\Program Files\Microsoft Visual Studio\2022\Community\MSBuild\Microsoft\VC\v170\Microsoft.CppCommon.targets(1096,5): error MSB6003:    at Microsoft.Build.Utilities.ToolTask.Execute() [C:\Users\Manisha GM\AppData\Local\Temp\pip-install-y8n7zeoj\dlib_66e2dd6a8e5b45099f095b805930d6dd\build\temp.win-amd64-cpython-310\Release\CMakeFiles\CMakeScratch\TryCompile-t6tclb\cmTC_a26ec.vcxproj]

    CMake will not be able to correctly generate this project.
  Call Stack (most recent call first):
    CMakeLists.txt:14 (project)

  -- Configuring incomplete, errors occurred!
  See also "C:/Users/Manisha GM/AppData/Local/Temp/pip-install-y8n7zeoj/dlib_66e2dd6a8e5b45099f095b805930d6dd/build/temp.win-amd64-cpython-310/Release/CMakeFiles/CMakeOutput.log".
  See also "C:/Users/Manisha GM/AppData/Local/Temp/pip-install-y8n7zeoj/dlib_66e2dd6a8e5b45099f095b805930d6dd/build/temp.win-amd64-cpython-310/Release/CMakeFiles/CMakeError.log".
  Traceback (most recent call last):
    File "<string>", line 2, in <module>
    File "<pip-setuptools-caller>", line 34, in <module>
    File "C:\Users\Manisha GM\AppData\Local\Temp\pip-install-y8n7zeoj\dlib_66e2dd6a8e5b45099f095b805930d6dd\setup.py", line 222, in <module>
      setup(
    File "C:\Users\Manisha GM\Desktop\Keyless Entry System In Virtual Door Using Face Recognition\env\lib\site-packages\setuptools\__init__.py", line 87, in setup
      return distutils.core.setup(**attrs)
    File "C:\Users\Manisha GM\Desktop\Keyless Entry System In Virtual Door Using Face Recognition\env\lib\site-packages\setuptools\_distutils\core.py", line 185, in setup
      return run_commands(dist)
    File "C:\Users\Manisha GM\Desktop\Keyless Entry System In Virtual Door Using Face Recognition\env\lib\site-packages\setuptools\_distutils\core.py", line 201, in run_commands
      dist.run_commands()
    File "C:\Users\Manisha GM\Desktop\Keyless Entry System In Virtual Door Using Face Recognition\env\lib\site-packages\setuptools\_distutils\dist.py", line 968, in run_commands
      self.run_command(cmd)
    File "C:\Users\Manisha GM\Desktop\Keyless Entry System In Virtual Door Using Face Recognition\env\lib\site-packages\setuptools\dist.py", line 1217, in run_command
      super().run_command(command)
    File "C:\Users\Manisha GM\Desktop\Keyless Entry System In Virtual Door Using Face Recognition\env\lib\site-packages\setuptools\_distutils\dist.py", line 987, in run_command
      cmd_obj.run()
    File "C:\Users\Manisha GM\Desktop\Keyless Entry System In Virtual Door Using Face Recognition\env\lib\site-packages\wheel\bdist_wheel.py", line 325, in run
      self.run_command("build")
    File "C:\Users\Manisha GM\Desktop\Keyless Entry System In Virtual Door Using Face Recognition\env\lib\site-packages\setuptools\_distutils\cmd.py", line 319, in run_command
      self.distribution.run_command(command)
    File "C:\Users\Manisha GM\Desktop\Keyless Entry System In Virtual Door Using Face Recognition\env\lib\site-packages\setuptools\dist.py", line 1217, in run_command
      super().run_command(command)
    File "C:\Users\Manisha GM\Desktop\Keyless Entry System In Virtual Door Using Face Recognition\env\lib\site-packages\setuptools\_distutils\dist.py", line 987, in run_command
      cmd_obj.run()
    File "C:\Users\Manisha GM\Desktop\Keyless Entry System In Virtual Door Using Face Recognition\env\lib\site-packages\setuptools\_distutils\command\build.py", line 132, in run
      self.run_command(cmd_name)
    File "C:\Users\Manisha GM\Desktop\Keyless Entry System In Virtual Door Using Face Recognition\env\lib\site-packages\setuptools\_distutils\cmd.py", line 319, in run_command
      self.distribution.run_command(command)
    File "C:\Users\Manisha GM\Desktop\Keyless Entry System In Virtual Door Using Face Recognition\env\lib\site-packages\setuptools\dist.py", line 1217, in run_command
      super().run_command(command)
    File "C:\Users\Manisha GM\Desktop\Keyless Entry System In Virtual Door Using Face Recognition\env\lib\site-packages\setuptools\_distutils\dist.py", line 987, in run_command
      cmd_obj.run()
    File "C:\Users\Manisha GM\AppData\Local\Temp\pip-install-y8n7zeoj\dlib_66e2dd6a8e5b45099f095b805930d6dd\setup.py", line 134, in run
      self.build_extension(ext)
    File "C:\Users\Manisha GM\AppData\Local\Temp\pip-install-y8n7zeoj\dlib_66e2dd6a8e5b45099f095b805930d6dd\setup.py", line 171, in build_extension    
      subprocess.check_call(cmake_setup, cwd=build_folder)
    File "C:\Program Files\WindowsApps\PythonSoftwareFoundation.Python.3.10_3.10.2800.0_x64__qbz5n2kfra8p0\lib\subprocess.py", line 369, in check_call 
      raise CalledProcessError(retcode, cmd)
  subprocess.CalledProcessError: Command '['cmake', 'C:\\Users\\Manisha GM\\AppData\\Local\\Temp\\pip-install-y8n7zeoj\\dlib_66e2dd6a8e5b45099f095b805930d6dd\\tools\\python', '-DCMAKE_LIBRARY_OUTPUT_DIRECTORY=C:\\Users\\Manisha GM\\AppData\\Local\\Temp\\pip-install-y8n7zeoj\\dlib_66e2dd6a8e5b45099f095b805930d6dd\\build\\lib.win-amd64-cpython-310', '-DPYTHON_EXECUTABLE=C:\\Users\\Manisha GM\\Desktop\\Keyless Entry System In Virtual Door Using Face Recognition\\env\\Scripts\\python.exe', '-DCMAKE_LIBRARY_OUTPUT_DIRECTORY_RELEASE=C:\\Users\\Manisha GM\\AppData\\Local\\Temp\\pip-install-y8n7zeoj\\dlib_66e2dd6a8e5b45099f095b805930d6dd\\build\\lib.win-amd64-cpython-310', '-A', 'x64']' returned non-zero exit status 1.
  [end of output]

note: This error originates from a subprocess, and is likely not a problem with pip. ERROR: Failed building wheel for dlib Running setup.py clean for dlib Failed to build dlib Installing collected packages: dlib Running setup.py install for dlib ... error error: subprocess-exited-with-error

× Running setup.py install for dlib did not run successfully. │ exit code: 1 ╰─> [99 lines of output] running install C:\Users\Manisha GM\Desktop\Keyless Entry System In Virtual Door Using Face Recognition\env\lib\site-packages\setuptools\command\install.py:34: SetuptoolsDeprecationWarning: setup.py install is deprecated. Use build and pip and other standards-based tools. warnings.warn( running build running build_py running build_ext C:\Users\Manisha GM\AppData\Local\Temp\pip-install-y8n7zeoj\dlib_66e2dd6a8e5b45099f095b805930d6dd\setup.py:129: DeprecationWarning: distutils Version classes are deprecated. Use packaging.version instead. if LooseVersion(cmake_version) < '3.1.0': Building extension for Python 3.10.10 (tags/v3.10.10:aad5f6a, Feb 7 2023, 17:20:36) [MSC v.1929 64 bit (AMD64)] Invoking CMake setup: 'cmake C:\Users\Manisha GM\AppData\Local\Temp\pip-install-y8n7zeoj\dlib_66e2dd6a8e5b45099f095b805930d6dd\tools\python -DCMAKE_LIBRARY_OUTPUT_DIRECTORY=C:\Users\Manisha GM\AppData\Local\Temp\pip-install-y8n7zeoj\dlib_66e2dd6a8e5b45099f095b805930d6dd\build\lib.win-amd64-cpython-310 -DPYTHON_EXECUTABLE=C:\Users\Manisha GM\Desktop\Keyless Entry System In Virtual Door Using Face Recognition\env\Scripts\python.exe -DCMAKE_LIBRARY_OUTPUT_DIRECTORY_RELEASE=C:\Users\Manisha GM\AppData\Local\Temp\pip-install-y8n7zeoj\dlib_66e2dd6a8e5b45099f095b805930d6dd\build\lib.win-amd64-cpython-310 -A x64' -- Building for: Visual Studio 17 2022 -- The C compiler identification is MSVC 19.35.32215.0 -- The CXX compiler identification is MSVC 19.35.32215.0 -- Detecting C compiler ABI info -- Detecting C compiler ABI info - failed -- Check for working C compiler: C:/Program Files/Microsoft Visual Studio/2022/Community/VC/Tools/MSVC/14.35.32215/bin/Hostx64/x64/cl.exe -- Check for working C compiler: C:/Program Files/Microsoft Visual Studio/2022/Community/VC/Tools/MSVC/14.35.32215/bin/Hostx64/x64/cl.exe - broken CMake Error at C:/Users/Manisha GM/Desktop/Keyless Entry System In Virtual Door Using Face Recognition/env/Lib/site-packages/cmake/data/share/cmake-3.25/Modules/CMakeTestCCompiler.cmake:70 (message): The C compiler

      "C:/Program Files/Microsoft Visual Studio/2022/Community/VC/Tools/MSVC/14.35.32215/bin/Hostx64/x64/cl.exe"

    is not able to compile a simple test program.

    It fails with the following output:

      Change Dir: C:/Users/Manisha GM/AppData/Local/Temp/pip-install-y8n7zeoj/dlib_66e2dd6a8e5b45099f095b805930d6dd/build/temp.win-amd64-cpython-310/Release/CMakeFiles/CMakeScratch/TryCompile-vanaip

      Run Build Command(s):C:/Program Files/Microsoft Visual Studio/2022/Community/MSBuild/Current/Bin/amd64/MSBuild.exe cmTC_a7d10.vcxproj /p:Configuration=Debug /p:Platform=x64 /p:VisualStudioVersion=17.0 /v:m && MSBuild version 17.5.0+6f08c67f3 for .NET Framework

        Microsoft (R) C/C++ Optimizing Compiler Version 19.35.32215 for x64
        Copyright (C) Microsoft Corporation.  All rights reserved.
        testCCompiler.c
        cl /c /Zi /W3 /WX- /diagnostics:column /Od /Ob0 /D _MBCS /D WIN32 /D _WINDOWS /D "CMAKE_INTDIR=\"Debug\"" /Gm- /RTC1 /MDd /GS /fp:precise /Zc:wchar_t /Zc:forScope /Zc:inline /Fo"cmTC_a7d10.dir\Debug\\" /Fd"cmTC_a7d10.dir\Debug\vc143.pdb" /external:W3 /Gd /TC /errorReport:queue "C:\Users\Manisha GM\AppData\Local\Temp\pip-install-y8n7zeoj\dlib_66e2dd6a8e5b45099f095b805930d6dd\build\temp.win-amd64-cpython-310\Release\CMakeFiles\CMakeScratch\TryCompile-vanaip\testCCompiler.c"
      C:\Program Files\Microsoft Visual Studio\2022\Community\MSBuild\Microsoft\VC\v170\Microsoft.CppCommon.targets(1096,5): error MSB6003: The specified task executable "link.exe" could not be run. System.IO.DirectoryNotFoundException: Could not find a part of the path 'C:\Users\Manisha GM\AppData\Local\Temp\pip-install-y8n7zeoj\dlib_66e2dd6a8e5b45099f095b805930d6dd\build\temp.win-amd64-cpython-310\Release\CMakeFiles\CMakeScratch\TryCompile-vanaip\cmTC_a7d10.dir\Debug\cmTC_a7d10.tlog'. [C:\Users\Manisha GM\AppData\Local\Temp\pip-install-y8n7zeoj\dlib_66e2dd6a8e5b45099f095b805930d6dd\build\temp.win-amd64-cpython-310\Release\CMakeFiles\CMakeScratch\TryCompile-vanaip\cmTC_a7d10.vcxproj]
      C:\Program Files\Microsoft Visual Studio\2022\Community\MSBuild\Microsoft\VC\v170\Microsoft.CppCommon.targets(1096,5): error MSB6003:    at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath) [C:\Users\Manisha GM\AppData\Local\Temp\pip-install-y8n7zeoj\dlib_66e2dd6a8e5b45099f095b805930d6dd\build\temp.win-amd64-cpython-310\Release\CMakeFiles\CMakeScratch\TryCompile-vanaip\cmTC_a7d10.vcxproj]
      C:\Program Files\Microsoft Visual Studio\2022\Community\MSBuild\Microsoft\VC\v170\Microsoft.CppCommon.targets(1096,5): error MSB6003:    at System.IO.FileSystemEnumerableIterator`1.CommonInit() [C:\Users\Manisha GM\AppData\Local\Temp\pip-install-y8n7zeoj\dlib_66e2dd6a8e5b45099f095b805930d6dd\build\temp.win-amd64-cpython-310\Release\CMakeFiles\CMakeScratch\TryCompile-vanaip\cmTC_a7d10.vcxproj]
      C:\Program Files\Microsoft Visual Studio\2022\Community\MSBuild\Microsoft\VC\v170\Microsoft.CppCommon.targets(1096,5): error MSB6003:    at System.IO.FileSystemEnumerableIterator`1..ctor(String path, String originalUserPath, String searchPattern, SearchOption searchOption, SearchResultHandler`1 resultHandler, Boolean checkHost) [C:\Users\Manisha GM\AppData\Local\Temp\pip-install-y8n7zeoj\dlib_66e2dd6a8e5b45099f095b805930d6dd\build\temp.win-amd64-cpython-310\Release\CMakeFiles\CMakeScratch\TryCompile-vanaip\cmTC_a7d10.vcxproj]
      C:\Program Files\Microsoft Visual Studio\2022\Community\MSBuild\Microsoft\VC\v170\Microsoft.CppCommon.targets(1096,5): error MSB6003:    at System.IO.Directory.GetFiles(String path, String searchPattern) [C:\Users\Manisha GM\AppData\Local\Temp\pip-install-y8n7zeoj\dlib_66e2dd6a8e5b45099f095b805930d6dd\build\temp.win-amd64-cpython-310\Release\CMakeFiles\CMakeScratch\TryCompile-vanaip\cmTC_a7d10.vcxproj]
      C:\Program Files\Microsoft Visual Studio\2022\Community\MSBuild\Microsoft\VC\v170\Microsoft.CppCommon.targets(1096,5): error MSB6003:    at Microsoft.Build.Utilities.TrackedDependencies.ExpandWildcards(ITaskItem[] expand) [C:\Users\Manisha GM\AppData\Local\Temp\pip-install-y8n7zeoj\dlib_66e2dd6a8e5b45099f095b805930d6dd\build\temp.win-amd64-cpython-310\Release\CMakeFiles\CMakeScratch\TryCompile-vanaip\cmTC_a7d10.vcxproj]
      C:\Program Files\Microsoft Visual Studio\2022\Community\MSBuild\Microsoft\VC\v170\Microsoft.CppCommon.targets(1096,5): error MSB6003:    at Microsoft.Build.Utilities.CanonicalTrackedOutputFiles.InternalConstruct(ITask ownerTask, ITaskItem[] tlogFiles, Boolean constructOutputsFromTLogs) [C:\Users\Manisha GM\AppData\Local\Temp\pip-install-y8n7zeoj\dlib_66e2dd6a8e5b45099f095b805930d6dd\build\temp.win-amd64-cpython-310\Release\CMakeFiles\CMakeScratch\TryCompile-vanaip\cmTC_a7d10.vcxproj]
      C:\Program Files\Microsoft Visual Studio\2022\Community\MSBuild\Microsoft\VC\v170\Microsoft.CppCommon.targets(1096,5): error MSB6003:    at Microsoft.Build.CPPTasks.TrackedVCToolTask.PostExecuteTool(Int32 exitCode) [C:\Users\Manisha GM\AppData\Local\Temp\pip-install-y8n7zeoj\dlib_66e2dd6a8e5b45099f095b805930d6dd\build\temp.win-amd64-cpython-310\Release\CMakeFiles\CMakeScratch\TryCompile-vanaip\cmTC_a7d10.vcxproj]
      C:\Program Files\Microsoft Visual Studio\2022\Community\MSBuild\Microsoft\VC\v170\Microsoft.CppCommon.targets(1096,5): error MSB6003:    at Microsoft.Build.CPPTasks.TrackedVCToolTask.ExecuteTool(String pathToTool, String responseFileCommands, String commandLineCommands) [C:\Users\Manisha GM\AppData\Local\Temp\pip-install-y8n7zeoj\dlib_66e2dd6a8e5b45099f095b805930d6dd\build\temp.win-amd64-cpython-310\Release\CMakeFiles\CMakeScratch\TryCompile-vanaip\cmTC_a7d10.vcxproj]
      C:\Program Files\Microsoft Visual Studio\2022\Community\MSBuild\Microsoft\VC\v170\Microsoft.CppCommon.targets(1096,5): error MSB6003:    at Microsoft.Build.Utilities.ToolTask.Execute() [C:\Users\Manisha GM\AppData\Local\Temp\pip-install-y8n7zeoj\dlib_66e2dd6a8e5b45099f095b805930d6dd\build\temp.win-amd64-cpython-310\Release\CMakeFiles\CMakeScratch\TryCompile-vanaip\cmTC_a7d10.vcxproj]

    CMake will not be able to correctly generate this project.
  Call Stack (most recent call first):
    CMakeLists.txt:14 (project)

  -- Configuring incomplete, errors occurred!
  See also "C:/Users/Manisha GM/AppData/Local/Temp/pip-install-y8n7zeoj/dlib_66e2dd6a8e5b45099f095b805930d6dd/build/temp.win-amd64-cpython-310/Release/CMakeFiles/CMakeOutput.log".
  See also "C:/Users/Manisha GM/AppData/Local/Temp/pip-install-y8n7zeoj/dlib_66e2dd6a8e5b45099f095b805930d6dd/build/temp.win-amd64-cpython-310/Release/CMakeFiles/CMakeError.log".
  Traceback (most recent call last):
    File "<string>", line 2, in <module>
    File "<pip-setuptools-caller>", line 34, in <module>
    File "C:\Users\Manisha GM\AppData\Local\Temp\pip-install-y8n7zeoj\dlib_66e2dd6a8e5b45099f095b805930d6dd\setup.py", line 222, in <module>
      setup(
    File "C:\Users\Manisha GM\Desktop\Keyless Entry System In Virtual Door Using Face Recognition\env\lib\site-packages\setuptools\__init__.py", line 87, in setup
      return distutils.core.setup(**attrs)
    File "C:\Users\Manisha GM\Desktop\Keyless Entry System In Virtual Door Using Face Recognition\env\lib\site-packages\setuptools\_distutils\core.py", line 185, in setup
      return run_commands(dist)
    File "C:\Users\Manisha GM\Desktop\Keyless Entry System In Virtual Door Using Face Recognition\env\lib\site-packages\setuptools\_distutils\core.py", line 201, in run_commands
      dist.run_commands()
    File "C:\Users\Manisha GM\Desktop\Keyless Entry System In Virtual Door Using Face Recognition\env\lib\site-packages\setuptools\_distutils\dist.py", line 968, in run_commands
      self.run_command(cmd)
    File "C:\Users\Manisha GM\Desktop\Keyless Entry System In Virtual Door Using Face Recognition\env\lib\site-packages\setuptools\dist.py", line 1217, in run_command
      super().run_command(command)
    File "C:\Users\Manisha GM\Desktop\Keyless Entry System In Virtual Door Using Face Recognition\env\lib\site-packages\setuptools\_distutils\dist.py", line 987, in run_command
      cmd_obj.run()
    File "C:\Users\Manisha GM\Desktop\Keyless Entry System In Virtual Door Using Face Recognition\env\lib\site-packages\setuptools\command\install.py", line 68, in run
      return orig.install.run(self)
    File "C:\Users\Manisha GM\Desktop\Keyless Entry System In Virtual Door Using Face Recognition\env\lib\site-packages\setuptools\_distutils\command\install.py", line 698, in run
      self.run_command('build')
    File "C:\Users\Manisha GM\Desktop\Keyless Entry System In Virtual Door Using Face Recognition\env\lib\site-packages\setuptools\_distutils\cmd.py", line 319, in run_command
      self.distribution.run_command(command)
    File "C:\Users\Manisha GM\Desktop\Keyless Entry System In Virtual Door Using Face Recognition\env\lib\site-packages\setuptools\dist.py", line 1217, in run_command
      super().run_command(command)
    File "C:\Users\Manisha GM\Desktop\Keyless Entry System In Virtual Door Using Face Recognition\env\lib\site-packages\setuptools\_distutils\dist.py", line 987, in run_command
      cmd_obj.run()
    File "C:\Users\Manisha GM\Desktop\Keyless Entry System In Virtual Door Using Face Recognition\env\lib\site-packages\setuptools\_distutils\command\build.py", line 132, in run
      self.run_command(cmd_name)
    File "C:\Users\Manisha GM\Desktop\Keyless Entry System In Virtual Door Using Face Recognition\env\lib\site-packages\setuptools\_distutils\cmd.py", line 319, in run_command
      self.distribution.run_command(command)
    File "C:\Users\Manisha GM\Desktop\Keyless Entry System In Virtual Door Using Face Recognition\env\lib\site-packages\setuptools\dist.py", line 1217, in run_command
      super().run_command(command)
    File "C:\Users\Manisha GM\Desktop\Keyless Entry System In Virtual Door Using Face Recognition\env\lib\site-packages\setuptools\_distutils\dist.py", line 987, in run_command
      cmd_obj.run()
    File "C:\Users\Manisha GM\AppData\Local\Temp\pip-install-y8n7zeoj\dlib_66e2dd6a8e5b45099f095b805930d6dd\setup.py", line 134, in run
      self.build_extension(ext)
    File "C:\Users\Manisha GM\AppData\Local\Temp\pip-install-y8n7zeoj\dlib_66e2dd6a8e5b45099f095b805930d6dd\setup.py", line 171, in build_extension    
      subprocess.check_call(cmake_setup, cwd=build_folder)
    File "C:\Program Files\WindowsApps\PythonSoftwareFoundation.Python.3.10_3.10.2800.0_x64__qbz5n2kfra8p0\lib\subprocess.py", line 369, in check_call 
      raise CalledProcessError(retcode, cmd)
  subprocess.CalledProcessError: Command '['cmake', 'C:\\Users\\Manisha GM\\AppData\\Local\\Temp\\pip-install-y8n7zeoj\\dlib_66e2dd6a8e5b45099f095b805930d6dd\\tools\\python', '-DCMAKE_LIBRARY_OUTPUT_DIRECTORY=C:\\Users\\Manisha GM\\AppData\\Local\\Temp\\pip-install-y8n7zeoj\\dlib_66e2dd6a8e5b45099f095b805930d6dd\\build\\lib.win-amd64-cpython-310', '-DPYTHON_EXECUTABLE=C:\\Users\\Manisha GM\\Desktop\\Keyless Entry System In Virtual Door Using Face Recognition\\env\\Scripts\\python.exe', '-DCMAKE_LIBRARY_OUTPUT_DIRECTORY_RELEASE=C:\\Users\\Manisha GM\\AppData\\Local\\Temp\\pip-install-y8n7zeoj\\dlib_66e2dd6a8e5b45099f095b805930d6dd\\build\\lib.win-amd64-cpython-310', '-A', 'x64']' returned non-zero exit status 1.
  [end of output]

note: This error originates from a subprocess, and is likely not a problem with pip. error: legacy-install-failure

× Encountered error while trying to install package. ╰─> dlib

note: This is an issue with the package mentioned above, not pip. hint: See above for output from the failure.

Did you folow the instructions?

TekyaygilFethi commented 1 year ago

You can do the following:

  1. Clone or download the project: https://github.com/sachadee/Dlib
  2. Please note that dlib works with Python 3.7, 3.8 and 3.9
  3. Open cmd in the directory of project
  4. According to your python version (cp37 is python 3.7, cp38 is python 3.8, cp39 is python 3.9) pip install the library. Example: pip install dlib-19.22.99-cp38-cp38-win_amd64.whl

The solution does not belong to me. Source: https://www.youtube.com/watch?v=BUu6hrcYI_c

I hope that solves your problem

TimBilliet commented 1 year ago

My solution for this problem was: 1 Download the dlib zip from https://pypi.org/project/dlib/#files 2 Extract and cd into the folder with powershell(running as admin) 3 Execute python setup.py install Done

tanmaymishra1551 commented 1 year ago

16838615752462759177002424192195 Taking too long is it installing or there is an error?

davisking commented 1 year ago

It will finish.

On Thu, May 11, 2023 at 11:21 PM tanmaymishra1551 @.***> wrote:

[image: 16838615752462759177002424192195] https://user-images.githubusercontent.com/83284368/237860868-e698c2fe-3d1c-4aaa-9b0f-4bcb34f357cb.jpg Taking too long is it installing or there is an error?

— Reply to this email directly, view it on GitHub https://github.com/davisking/dlib/issues/2671#issuecomment-1545053633, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABPYFR3C4N23FVADJKCHAWLXFWUCNANCNFSM6AAAAAAQYAIAOM . You are receiving this because you commented.Message ID: @.***>

jrajpal5-singularity commented 1 year ago

i tried this conda install -c conda-forge dlib and it worked

lnxdx commented 1 year ago

After 2 days trying installing dlib, I found that it's IMPOSSIBLE to install it. There is no working solution on the internet.

pip install dlib
Collecting dlib
  Using cached dlib-19.24.2.tar.gz (11.8 MB)
  Installing build dependencies ... done
  Getting requirements to build wheel ... done
  Preparing metadata (pyproject.toml) ... done
Building wheels for collected packages: dlib
  Building wheel for dlib (pyproject.toml) ... error
  error: subprocess-exited-with-error

  × Building wheel for dlib (pyproject.toml) did not run successfully.
  │ exit code: 1
  ╰─> [319 lines of output]
      running bdist_wheel
      running build
      running build_ext
      <string>:125: DeprecationWarning: distutils Version classes are deprecated. Use packaging.version instead.
      Building extension for Python 3.10.5 (tags/v3.10.5:f377153, Jun  6 2022, 16:14:13) [MSC v.1929 64 bit (AMD64)]
      Invoking CMake setup: 'cmake C:\Users\M\AppData\Local\Temp\pip-install-9w773etl\dlib_23f269c253c1473abb630c0d026c8554\tools\python -DCMAKE_LIBRARY_OUTPUT_DIRECTORY=C:\Users\M\AppData\Local\Temp\pip-install-9w773etl\dlib_23f269c253c1473abb630c0d026c8554\build\lib.win-amd64-cpython-310 -DPYTHON_EXECUTABLE=C:\Program Files\Python310\python.exe -DCMAKE_LIBRARY_OUTPUT_DIRECTORY_RELEASE=C:\Users\M\AppData\Local\Temp\pip-install-9w773etl\dlib_23f269c253c1473abb630c0d026c8554\build\lib.win-amd64-cpython-310 -A x64'
      -- Building for: Visual Studio 16 2019
      -- Selecting Windows SDK version 10.0.18362.0 to target Windows 10.0.22621.
      -- The C compiler identification is MSVC 19.24.28316.0
      -- The CXX compiler identification is MSVC 19.24.28316.0
      -- Detecting C compiler ABI info
      -- Detecting C compiler ABI info - done
      -- Check for working C compiler: C:/Program Files (x86)/Microsoft Visual Studio/2019/Community/VC/Tools/MSVC/14.24.28314/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/Community/VC/Tools/MSVC/14.24.28314/bin/Hostx64/x64/cl.exe - skipped
      -- Detecting CXX compile features
      -- Detecting CXX compile features - done
      -- pybind11 v2.10.0
      -- Found PythonInterp: C:/Program Files/Python310/python.exe (found suitable version "3.10.5", minimum required is "3.6")
      -- Found PythonLibs: C:/Program Files/Python310/libs/python310.lib
      -- Performing Test HAS_MSVC_GL_LTCG
      -- Performing Test HAS_MSVC_GL_LTCG - Success
      -- Using CMake version: 3.26.4
      -- Compiling dlib version: 19.24.2
      -- 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 SSE2 instructions
      -- Searching for BLAS and LAPACK
      -- Searching for BLAS and LAPACK
      -- Performing Test CMAKE_HAVE_LIBC_PTHREAD
      -- Performing Test CMAKE_HAVE_LIBC_PTHREAD - Failed
      -- Looking for pthread_create in pthreads
      -- Looking for pthread_create in pthreads - not found
      -- Looking for pthread_create in pthread
      -- Looking for pthread_create in pthread - not found
      -- Found Threads: TRUE
      -- Could NOT find CUDA (missing: CUDA_INCLUDE_DIRS CUDA_CUDART_LIBRARY) (found suitable version "12.0", minimum required is "7.5")
      -- 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.
      -- DID NOT FIND CUDA
      -- Disabling CUDA support for dlib.  DLIB WILL NOT USE CUDA
      -- Searching for FFMPEG/LIBAV
      -- Could NOT find PkgConfig (missing: PKG_CONFIG_EXECUTABLE)
      -- PkgConfig could not be found, FFMPEG won't be available
      -- Configuring done (16.4s)
      -- Generating done (0.1s)
      -- Build files have been written to: C:/Users/M/AppData/Local/Temp/pip-install-9w773etl/dlib_23f269c253c1473abb630c0d026c8554/build/temp.win-amd64-cpython-310/Release
      Invoking CMake build: 'cmake --build . --config Release -- /m'
      Microsoft (R) Build Engine version 16.4.0+e901037fe for .NET Framework
      Copyright (C) Microsoft Corporation. All rights reserved.

      C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\MSBuild\Microsoft\VC\v160\Microsoft.CppBuild.targets(467,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\M\AppData\Local\Temp\pip-install-9w773etl\dlib_23f269c253c1473abb630c0d026c8554\build\temp.win-amd64-cpython-310\Release\ZERO_CHECK.vcxproj]
        Checking Build System
      C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\MSBuild\Microsoft\VC\v160\Microsoft.CppBuild.targets(467,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\M\AppData\Local\Temp\pip-install-9w773etl\dlib_23f269c253c1473abb630c0d026c8554\build\temp.win-amd64-cpython-310\Release\dlib_build\dlib.vcxproj]
        Building Custom Rule C:/Users/M/AppData/Local/Temp/pip-install-9w773etl/dlib_23f269c253c1473abb630c0d026c8554/dlib/CMakeLists.txt
        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
        fft.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
        arm_init.c
        filter_neon_intrinsics.c
        palette_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
      C:\Users\M\AppData\Local\Temp\pip-install-9w773etl\dlib_23f269c253c1473abb630c0d026c8554\dlib\external\zlib\gzread.c(319,20): warning C4267: '=': conversion from 'size_t' to 'unsigned int', possible loss of data [C:\Users\M\AppData\Local\Temp\pip-install-9w773etl\dlib_23f269c253c1473abb630c0d026c8554\build\temp.win-amd64-cpython-310\Release\dlib_build\dlib.vcxproj]
      C:\Users\M\AppData\Local\Temp\pip-install-9w773etl\dlib_23f269c253c1473abb630c0d026c8554\dlib\external\zlib\gzread.c(400,35): warning C4267: '=': conversion from 'size_t' to 'unsigned int', possible loss of data [C:\Users\M\AppData\Local\Temp\pip-install-9w773etl\dlib_23f269c253c1473abb630c0d026c8554\build\temp.win-amd64-cpython-310\Release\dlib_build\dlib.vcxproj]
      C:\Users\M\AppData\Local\Temp\pip-install-9w773etl\dlib_23f269c253c1473abb630c0d026c8554\dlib\external\zlib\gzread.c(472,33): warning C4267: '=': conversion from 'size_t' to 'int', possible loss of data [C:\Users\M\AppData\Local\Temp\pip-install-9w773etl\dlib_23f269c253c1473abb630c0d026c8554\build\temp.win-amd64-cpython-310\Release\dlib_build\dlib.vcxproj]
        inffast.c
        inflate.c
      C:\Users\M\AppData\Local\Temp\pip-install-9w773etl\dlib_23f269c253c1473abb630c0d026c8554\dlib\external\zlib\gzwrite.c(212,27): warning C4267: '=': conversion from 'size_t' to 'unsigned int', possible loss of data [C:\Users\M\AppData\Local\Temp\pip-install-9w773etl\dlib_23f269c253c1473abb630c0d026c8554\build\temp.win-amd64-cpython-310\Release\dlib_build\dlib.vcxproj]
      C:\Users\M\AppData\Local\Temp\pip-install-9w773etl\dlib_23f269c253c1473abb630c0d026c8554\dlib\external\zlib\gzwrite.c(232,24): warning C4267: '=': conversion from 'size_t' to 'unsigned int', possible loss of data [C:\Users\M\AppData\Local\Temp\pip-install-9w773etl\dlib_23f269c253c1473abb630c0d026c8554\build\temp.win-amd64-cpython-310\Release\dlib_build\dlib.vcxproj]
      C:\Users\M\AppData\Local\Temp\pip-install-9w773etl\dlib_23f269c253c1473abb630c0d026c8554\dlib\external\zlib\gzwrite.c(371,36): warning C4267: '=': conversion from 'size_t' to 'int', possible loss of data [C:\Users\M\AppData\Local\Temp\pip-install-9w773etl\dlib_23f269c253c1473abb630c0d026c8554\build\temp.win-amd64-cpython-310\Release\dlib_build\dlib.vcxproj]
        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
        jdmainct.c
        jdmarker.c
        jdmaster.c
        jdmerge.c
        jdpostct.c
      C:\Users\M\AppData\Local\Temp\pip-install-9w773etl\dlib_23f269c253c1473abb630c0d026c8554\dlib\external\libjpeg\jdmarker.c(331,1): warning C4996: 'strncpy': This function or variable may be unsafe. Consider using strncpy_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details. [C:\Users\M\AppData\Local\Temp\pip-install-9w773etl\dlib_23f269c253c1473abb630c0d026c8554\build\temp.win-amd64-cpython-310\Release\dlib_build\dlib.vcxproj]
      C:\Program Files (x86)\Windows Kits\10\Include\10.0.18362.0\ucrt\string.h(338): message : see declaration of 'strncpy' [C:\Users\M\AppData\Local\Temp\pip-install-9w773etl\dlib_23f269c253c1473abb630c0d026c8554\build\temp.win-amd64-cpython-310\Release\dlib_build\dlib.vcxproj]
      C:\Users\M\AppData\Local\Temp\pip-install-9w773etl\dlib_23f269c253c1473abb630c0d026c8554\dlib\external\libjpeg\jdmarker.c(654,1): warning C4996: 'strncpy': This function or variable may be unsafe. Consider using strncpy_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details. [C:\Users\M\AppData\Local\Temp\pip-install-9w773etl\dlib_23f269c253c1473abb630c0d026c8554\build\temp.win-amd64-cpython-310\Release\dlib_build\dlib.vcxproj]
      C:\Program Files (x86)\Windows Kits\10\Include\10.0.18362.0\ucrt\string.h(338): message : see declaration of 'strncpy' [C:\Users\M\AppData\Local\Temp\pip-install-9w773etl\dlib_23f269c253c1473abb630c0d026c8554\build\temp.win-amd64-cpython-310\Release\dlib_build\dlib.vcxproj]
        jdsample.c
        jerror.c
        jfdctflt.c
      C:\Users\M\AppData\Local\Temp\pip-install-9w773etl\dlib_23f269c253c1473abb630c0d026c8554\dlib\external\libjpeg\jerror.c(194,1): 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.jfdctfst.c [C:\Users\M\AppData\Local\Temp\pip-install-9w773etl\dlib_23f269c253c1473abb630c0d026c8554\build\temp.win-amd64-cpython-310\Release\dlib_build\dlib.vcxproj]
      C:\Program Files (x86)\Windows Kits\10\Include\10.0.18362.0\ucrt\stdio.h(1774): message : see declaration of 'sprintf' [C:\Users\M\AppData\Local\Temp\pip-install-9w773etl\dlib_23f269c253c1473abb630c0d026c8554\build\temp.win-amd64-cpython-310\Release\dlib_build\dlib.vcxproj]
        jfdctint.c
      C:\Users\M\AppData\Local\Temp\pip-install-9w773etl\dlib_23f269c253c1473abb630c0d026c8554\dlib\external\libjpeg\jerror.c(196,1): 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\M\AppData\Local\Temp\pip-install-9w773etl\dlib_23f269c253c1473abb630c0d026c8554\build\temp.win-amd64-cpython-310\Release\dlib_build\dlib.vcxproj]
        jidctflt.c
      C:\Program Files (x86)\Windows Kits\10\Include\10.0.18362.0\ucrt\stdio.h(1774): message : see declaration of 'sprintf' [C:\Users\M\AppData\Local\Temp\pip-install-9w773etl\dlib_23f269c253c1473abb630c0d026c8554\build\temp.win-amd64-cpython-310\Release\dlib_build\dlib.vcxproj]
        jidctfst.c
        jidctint.c
        jmemmgr.c
        jmemnobs.c
        jquant1.c
        jquant2.c
      C:\Users\M\AppData\Local\Temp\pip-install-9w773etl\dlib_23f269c253c1473abb630c0d026c8554\dlib\external\libjpeg\jmemmgr.c(1103,1): 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\M\AppData\Local\Temp\pip-install-9w773etl\dlib_23f269c253c1473abb630c0d026c8554\build\temp.win-amd64-cpython-310\Release\dlib_build\dlib.vcxproj]
      C:\Program Files (x86)\Windows Kits\10\Include\10.0.18362.0\ucrt\stdlib.h(1191): message : see declaration of 'getenv' [C:\Users\M\AppData\Local\Temp\pip-install-9w773etl\dlib_23f269c253c1473abb630c0d026c8554\build\temp.win-amd64-cpython-310\Release\dlib_build\dlib.vcxproj]
      C:\Users\M\AppData\Local\Temp\pip-install-9w773etl\dlib_23f269c253c1473abb630c0d026c8554\dlib\external\libjpeg\jmemmgr.c(1106,1): 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\M\AppData\Local\Temp\pip-install-9w773etl\dlib_23f269c253c1473abb630c0d026c8554\build\temp.win-amd64-cpython-310\Release\dlib_build\dlib.vcxproj]
      C:\Program Files (x86)\Windows Kits\10\Include\10.0.18362.0\ucrt\stdio.h(2263): message : see declaration of 'sscanf' [C:\Users\M\AppData\Local\Temp\pip-install-9w773etl\dlib_23f269c253c1473abb630c0d026c8554\build\temp.win-amd64-cpython-310\Release\dlib_build\dlib.vcxproj]
        jutils.c
        dlib.vcxproj -> C:\Users\M\AppData\Local\Temp\pip-install-9w773etl\dlib_23f269c253c1473abb630c0d026c8554\build\temp.win-amd64-cpython-310\Release\dlib_build\Release\dlib19.24.2_release_64bit_msvc1924.lib
      C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\MSBuild\Microsoft\VC\v160\Microsoft.CppBuild.targets(467,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\M\AppData\Local\Temp\pip-install-9w773etl\dlib_23f269c253c1473abb630c0d026c8554\build\temp.win-amd64-cpython-310\Release\_dlib_pybind11.vcxproj]
        Building Custom Rule C:/Users/M/AppData/Local/Temp/pip-install-9w773etl/dlib_23f269c253c1473abb630c0d026c8554/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
      C:\Users\M\AppData\Local\Temp\pip-install-9w773etl\dlib_23f269c253c1473abb630c0d026c8554\dlib\external\pybind11\include\pybind11\detail/common.h(1040,54): error C2737: 'pybind11::overload_cast': 'constexpr' object must be initialized (compiling source file C:\Users\M\AppData\Local\Temp\pip-install-9w773etl\dlib_23f269c253c1473abb630c0d026c8554\tools\python\src\decision_functions.cpp) [C:\Users\M\AppData\Local\Temp\pip-install-9w773etl\dlib_23f269c253c1473abb630c0d026c8554\build\temp.win-amd64-cpython-310\Release\_dlib_pybind11.vcxproj]
      C:\Users\M\AppData\Local\Temp\pip-install-9w773etl\dlib_23f269c253c1473abb630c0d026c8554\dlib\external\pybind11\include\pybind11\detail/common.h(1040,54): error C2737: 'pybind11::overload_cast': 'constexpr' object must be initialized (compiling source file C:\Users\M\AppData\Local\Temp\pip-install-9w773etl\dlib_23f269c253c1473abb630c0d026c8554\tools\python\src\matrix.cpp) [C:\Users\M\AppData\Local\Temp\pip-install-9w773etl\dlib_23f269c253c1473abb630c0d026c8554\build\temp.win-amd64-cpython-310\Release\_dlib_pybind11.vcxproj]
      C:\Users\M\AppData\Local\Temp\pip-install-9w773etl\dlib_23f269c253c1473abb630c0d026c8554\dlib\external\pybind11\include\pybind11\detail/common.h(1040,54): error C2737: 'pybind11::overload_cast': 'constexpr' object must be initialized (compiling source file C:\Users\M\AppData\Local\Temp\pip-install-9w773etl\dlib_23f269c253c1473abb630c0d026c8554\tools\python\src\svm_rank_trainer.cpp) [C:\Users\M\AppData\Local\Temp\pip-install-9w773etl\dlib_23f269c253c1473abb630c0d026c8554\build\temp.win-amd64-cpython-310\Release\_dlib_pybind11.vcxproj]
      C:\Users\M\AppData\Local\Temp\pip-install-9w773etl\dlib_23f269c253c1473abb630c0d026c8554\dlib\external\pybind11\include\pybind11\detail/common.h(1040,54): error C2737: 'pybind11::overload_cast': 'constexpr' object must be initialized (compiling source file C:\Users\M\AppData\Local\Temp\pip-install-9w773etl\dlib_23f269c253c1473abb630c0d026c8554\tools\python\src\svm_c_trainer.cpp) [C:\Users\M\AppData\Local\Temp\pip-install-9w773etl\dlib_23f269c253c1473abb630c0d026c8554\build\temp.win-amd64-cpython-310\Release\_dlib_pybind11.vcxproj]
      C:\Users\M\AppData\Local\Temp\pip-install-9w773etl\dlib_23f269c253c1473abb630c0d026c8554\dlib\external\pybind11\include\pybind11\detail/common.h(1040,54): error C2737: 'pybind11::overload_cast': 'constexpr' object must be initialized (compiling source file C:\Users\M\AppData\Local\Temp\pip-install-9w773etl\dlib_23f269c253c1473abb630c0d026c8554\tools\python\src\basic.cpp) [C:\Users\M\AppData\Local\Temp\pip-install-9w773etl\dlib_23f269c253c1473abb630c0d026c8554\build\temp.win-amd64-cpython-310\Release\_dlib_pybind11.vcxproj]
      C:\Users\M\AppData\Local\Temp\pip-install-9w773etl\dlib_23f269c253c1473abb630c0d026c8554\dlib\external\pybind11\include\pybind11\detail/common.h(1040,54): error C2737: 'pybind11::overload_cast': 'constexpr' object must be initialized (compiling source file C:\Users\M\AppData\Local\Temp\pip-install-9w773etl\dlib_23f269c253c1473abb630c0d026c8554\tools\python\src\vector.cpp) [C:\Users\M\AppData\Local\Temp\pip-install-9w773etl\dlib_23f269c253c1473abb630c0d026c8554\build\temp.win-amd64-cpython-310\Release\_dlib_pybind11.vcxproj]
      C:\Users\M\AppData\Local\Temp\pip-install-9w773etl\dlib_23f269c253c1473abb630c0d026c8554\dlib\external\pybind11\include\pybind11\detail/common.h(1040,54): error C2737: 'pybind11::overload_cast': 'constexpr' object must be initialized (compiling source file C:\Users\M\AppData\Local\Temp\pip-install-9w773etl\dlib_23f269c253c1473abb630c0d026c8554\tools\python\src\dlib.cpp) [C:\Users\M\AppData\Local\Temp\pip-install-9w773etl\dlib_23f269c253c1473abb630c0d026c8554\build\temp.win-amd64-cpython-310\Release\_dlib_pybind11.vcxproj]
      C:\Users\M\AppData\Local\Temp\pip-install-9w773etl\dlib_23f269c253c1473abb630c0d026c8554\dlib\external\pybind11\include\pybind11\detail/common.h(1040,54): error C2737: 'pybind11::overload_cast': 'constexpr' object must be initialized (compiling source file C:\Users\M\AppData\Local\Temp\pip-install-9w773etl\dlib_23f269c253c1473abb630c0d026c8554\tools\python\src\other.cpp) [C:\Users\M\AppData\Local\Temp\pip-install-9w773etl\dlib_23f269c253c1473abb630c0d026c8554\build\temp.win-amd64-cpython-310\Release\_dlib_pybind11.vcxproj]
        cca.cpp
        sequence_segmenter.cpp
        svm_struct.cpp
        image.cpp
        image2.cpp
        image3.cpp
        image4.cpp
        rectangles.cpp
      C:\Users\M\AppData\Local\Temp\pip-install-9w773etl\dlib_23f269c253c1473abb630c0d026c8554\dlib\external\pybind11\include\pybind11\detail/common.h(1040,54): error C2737: 'pybind11::overload_cast': 'constexpr' object must be initialized (compiling source file C:\Users\M\AppData\Local\Temp\pip-install-9w773etl\dlib_23f269c253c1473abb630c0d026c8554\tools\python\src\cca.cpp) [C:\Users\M\AppData\Local\Temp\pip-install-9w773etl\dlib_23f269c253c1473abb630c0d026c8554\build\temp.win-amd64-cpython-310\Release\_dlib_pybind11.vcxproj]
      C:\Users\M\AppData\Local\Temp\pip-install-9w773etl\dlib_23f269c253c1473abb630c0d026c8554\dlib\external\pybind11\include\pybind11\detail/common.h(1040,54): error C2737: 'pybind11::overload_cast': 'constexpr' object must be initialized (compiling source file C:\Users\M\AppData\Local\Temp\pip-install-9w773etl\dlib_23f269c253c1473abb630c0d026c8554\tools\python\src\sequence_segmenter.cpp) [C:\Users\M\AppData\Local\Temp\pip-install-9w773etl\dlib_23f269c253c1473abb630c0d026c8554\build\temp.win-amd64-cpython-310\Release\_dlib_pybind11.vcxproj]
      C:\Users\M\AppData\Local\Temp\pip-install-9w773etl\dlib_23f269c253c1473abb630c0d026c8554\dlib\external\pybind11\include\pybind11\detail/common.h(1040,54): error C2737: 'pybind11::overload_cast': 'constexpr' object must be initialized (compiling source file C:\Users\M\AppData\Local\Temp\pip-install-9w773etl\dlib_23f269c253c1473abb630c0d026c8554\tools\python\src\svm_struct.cpp) [C:\Users\M\AppData\Local\Temp\pip-install-9w773etl\dlib_23f269c253c1473abb630c0d026c8554\build\temp.win-amd64-cpython-310\Release\_dlib_pybind11.vcxproj]
      C:\Users\M\AppData\Local\Temp\pip-install-9w773etl\dlib_23f269c253c1473abb630c0d026c8554\dlib\external\pybind11\include\pybind11\detail/common.h(1040,54): error C2737: 'pybind11::overload_cast': 'constexpr' object must be initialized (compiling source file C:\Users\M\AppData\Local\Temp\pip-install-9w773etl\dlib_23f269c253c1473abb630c0d026c8554\tools\python\src\image.cpp) [C:\Users\M\AppData\Local\Temp\pip-install-9w773etl\dlib_23f269c253c1473abb630c0d026c8554\build\temp.win-amd64-cpython-310\Release\_dlib_pybind11.vcxproj]
      C:\Users\M\AppData\Local\Temp\pip-install-9w773etl\dlib_23f269c253c1473abb630c0d026c8554\dlib\external\pybind11\include\pybind11\detail/common.h(1040,54): error C2737: 'pybind11::overload_cast': 'constexpr' object must be initialized (compiling source file C:\Users\M\AppData\Local\Temp\pip-install-9w773etl\dlib_23f269c253c1473abb630c0d026c8554\tools\python\src\image2.cpp) [C:\Users\M\AppData\Local\Temp\pip-install-9w773etl\dlib_23f269c253c1473abb630c0d026c8554\build\temp.win-amd64-cpython-310\Release\_dlib_pybind11.vcxproj]
      C:\Users\M\AppData\Local\Temp\pip-install-9w773etl\dlib_23f269c253c1473abb630c0d026c8554\dlib\external\pybind11\include\pybind11\detail/common.h(1040,54): error C2737: 'pybind11::overload_cast': 'constexpr' object must be initialized (compiling source file C:\Users\M\AppData\Local\Temp\pip-install-9w773etl\dlib_23f269c253c1473abb630c0d026c8554\tools\python\src\image3.cpp) [C:\Users\M\AppData\Local\Temp\pip-install-9w773etl\dlib_23f269c253c1473abb630c0d026c8554\build\temp.win-amd64-cpython-310\Release\_dlib_pybind11.vcxproj]
      C:\Users\M\AppData\Local\Temp\pip-install-9w773etl\dlib_23f269c253c1473abb630c0d026c8554\dlib\external\pybind11\include\pybind11\detail/common.h(1040,54): error C2737: 'pybind11::overload_cast': 'constexpr' object must be initialized (compiling source file C:\Users\M\AppData\Local\Temp\pip-install-9w773etl\dlib_23f269c253c1473abb630c0d026c8554\tools\python\src\image4.cpp) [C:\Users\M\AppData\Local\Temp\pip-install-9w773etl\dlib_23f269c253c1473abb630c0d026c8554\build\temp.win-amd64-cpython-310\Release\_dlib_pybind11.vcxproj]
      C:\Users\M\AppData\Local\Temp\pip-install-9w773etl\dlib_23f269c253c1473abb630c0d026c8554\dlib\external\pybind11\include\pybind11\detail/common.h(1040,54): error C2737: 'pybind11::overload_cast': 'constexpr' object must be initialized (compiling source file C:\Users\M\AppData\Local\Temp\pip-install-9w773etl\dlib_23f269c253c1473abb630c0d026c8554\tools\python\src\rectangles.cpp) [C:\Users\M\AppData\Local\Temp\pip-install-9w773etl\dlib_23f269c253c1473abb630c0d026c8554\build\temp.win-amd64-cpython-310\Release\_dlib_pybind11.vcxproj]
        object_detection.cpp
        shape_predictor.cpp
      C:\Users\M\AppData\Local\Temp\pip-install-9w773etl\dlib_23f269c253c1473abb630c0d026c8554\dlib\external\pybind11\include\pybind11\detail/common.h(1040,54): error C2737: 'pybind11::overload_cast': 'constexpr' object must be initialized (compiling source file C:\Users\M\AppData\Local\Temp\pip-install-9w773etl\dlib_23f269c253c1473abb630c0d026c8554\tools\python\src\object_detection.cpp) [C:\Users\M\AppData\Local\Temp\pip-install-9w773etl\dlib_23f269c253c1473abb630c0d026c8554\build\temp.win-amd64-cpython-310\Release\_dlib_pybind11.vcxproj]
        correlation_tracker.cpp
        face_recognition.cpp
      C:\Users\M\AppData\Local\Temp\pip-install-9w773etl\dlib_23f269c253c1473abb630c0d026c8554\dlib\external\pybind11\include\pybind11\detail/common.h(1040,54): error C2737: 'pybind11::overload_cast': 'constexpr' object must be initialized (compiling source file C:\Users\M\AppData\Local\Temp\pip-install-9w773etl\dlib_23f269c253c1473abb630c0d026c8554\tools\python\src\shape_predictor.cpp) [C:\Users\M\AppData\Local\Temp\pip-install-9w773etl\dlib_23f269c253c1473abb630c0d026c8554\build\temp.win-amd64-cpython-310\Release\_dlib_pybind11.vcxproj]
        cnn_face_detector.cpp
      C:\Users\M\AppData\Local\Temp\pip-install-9w773etl\dlib_23f269c253c1473abb630c0d026c8554\dlib\external\pybind11\include\pybind11\detail/common.h(1040,54): error C2737: 'pybind11::overload_cast': 'constexpr' object must be initialized (compiling source file C:\Users\M\AppData\Local\Temp\pip-install-9w773etl\dlib_23f269c253c1473abb630c0d026c8554\tools\python\src\correlation_tracker.cpp) [C:\Users\M\AppData\Local\Temp\pip-install-9w773etl\dlib_23f269c253c1473abb630c0d026c8554\build\temp.win-amd64-cpython-310\Release\_dlib_pybind11.vcxproj]
      C:\Users\M\AppData\Local\Temp\pip-install-9w773etl\dlib_23f269c253c1473abb630c0d026c8554\dlib\external\pybind11\include\pybind11\detail/common.h(1040,54): error C2737: 'pybind11::overload_cast': 'constexpr' object must be initialized (compiling source file C:\Users\M\AppData\Local\Temp\pip-install-9w773etl\dlib_23f269c253c1473abb630c0d026c8554\tools\python\src\face_recognition.cpp) [C:\Users\M\AppData\Local\Temp\pip-install-9w773etl\dlib_23f269c253c1473abb630c0d026c8554\build\temp.win-amd64-cpython-310\Release\_dlib_pybind11.vcxproj]
        global_optimization.cpp
        image_dataset_metadata.cpp
        numpy_returns.cpp
      C:\Users\M\AppData\Local\Temp\pip-install-9w773etl\dlib_23f269c253c1473abb630c0d026c8554\dlib\external\pybind11\include\pybind11\detail/common.h(1040,54): error C2737: 'pybind11::overload_cast': 'constexpr' object must be initialized (compiling source file C:\Users\M\AppData\Local\Temp\pip-install-9w773etl\dlib_23f269c253c1473abb630c0d026c8554\tools\python\src\cnn_face_detector.cpp) [C:\Users\M\AppData\Local\Temp\pip-install-9w773etl\dlib_23f269c253c1473abb630c0d026c8554\build\temp.win-amd64-cpython-310\Release\_dlib_pybind11.vcxproj]
      C:\Users\M\AppData\Local\Temp\pip-install-9w773etl\dlib_23f269c253c1473abb630c0d026c8554\dlib\external\pybind11\include\pybind11\detail/common.h(1040,54): error C2737: 'pybind11::overload_cast': 'constexpr' object must be initialized (compiling source file C:\Users\M\AppData\Local\Temp\pip-install-9w773etl\dlib_23f269c253c1473abb630c0d026c8554\tools\python\src\global_optimization.cpp) [C:\Users\M\AppData\Local\Temp\pip-install-9w773etl\dlib_23f269c253c1473abb630c0d026c8554\build\temp.win-amd64-cpython-310\Release\_dlib_pybind11.vcxproj]
      C:\Users\M\AppData\Local\Temp\pip-install-9w773etl\dlib_23f269c253c1473abb630c0d026c8554\dlib\external\pybind11\include\pybind11\detail/common.h(1040,54): error C2737: 'pybind11::overload_cast': 'constexpr' object must be initialized (compiling source file C:\Users\M\AppData\Local\Temp\pip-install-9w773etl\dlib_23f269c253c1473abb630c0d026c8554\tools\python\src\image_dataset_metadata.cpp) [C:\Users\M\AppData\Local\Temp\pip-install-9w773etl\dlib_23f269c253c1473abb630c0d026c8554\build\temp.win-amd64-cpython-310\Release\_dlib_pybind11.vcxproj]
      C:\Users\M\AppData\Local\Temp\pip-install-9w773etl\dlib_23f269c253c1473abb630c0d026c8554\dlib\external\pybind11\include\pybind11\detail/common.h(1040,54): error C2737: 'pybind11::overload_cast': 'constexpr' object must be initialized (compiling source file C:\Users\M\AppData\Local\Temp\pip-install-9w773etl\dlib_23f269c253c1473abb630c0d026c8554\tools\python\src\numpy_returns.cpp) [C:\Users\M\AppData\Local\Temp\pip-install-9w773etl\dlib_23f269c253c1473abb630c0d026c8554\build\temp.win-amd64-cpython-310\Release\_dlib_pybind11.vcxproj]
        line.cpp
        gui.cpp
      C:\Users\M\AppData\Local\Temp\pip-install-9w773etl\dlib_23f269c253c1473abb630c0d026c8554\dlib\external\pybind11\include\pybind11\detail/common.h(1040,54): error C2737: 'pybind11::overload_cast': 'constexpr' object must be initialized (compiling source file C:\Users\M\AppData\Local\Temp\pip-install-9w773etl\dlib_23f269c253c1473abb630c0d026c8554\tools\python\src\line.cpp) [C:\Users\M\AppData\Local\Temp\pip-install-9w773etl\dlib_23f269c253c1473abb630c0d026c8554\build\temp.win-amd64-cpython-310\Release\_dlib_pybind11.vcxproj]
      C:\Users\M\AppData\Local\Temp\pip-install-9w773etl\dlib_23f269c253c1473abb630c0d026c8554\dlib\external\pybind11\include\pybind11\detail/common.h(1040,54): error C2737: 'pybind11::overload_cast': 'constexpr' object must be initialized (compiling source file C:\Users\M\AppData\Local\Temp\pip-install-9w773etl\dlib_23f269c253c1473abb630c0d026c8554\tools\python\src\gui.cpp) [C:\Users\M\AppData\Local\Temp\pip-install-9w773etl\dlib_23f269c253c1473abb630c0d026c8554\build\temp.win-amd64-cpython-310\Release\_dlib_pybind11.vcxproj]
      Traceback (most recent call last):
        File "C:\Program Files\Python310\lib\site-packages\pip\_vendor\pyproject_hooks\_in_process\_in_process.py", line 353, in <module>
          main()
        File "C:\Program Files\Python310\lib\site-packages\pip\_vendor\pyproject_hooks\_in_process\_in_process.py", line 335, in main
          json_out['return_val'] = hook(**hook_input['kwargs'])
        File "C:\Program Files\Python310\lib\site-packages\pip\_vendor\pyproject_hooks\_in_process\_in_process.py", line 251, in build_wheel
          return _build_backend().build_wheel(wheel_directory, config_settings,
        File "C:\Users\M\AppData\Local\Temp\pip-build-env-456v1vww\overlay\Lib\site-packages\setuptools\build_meta.py", line 416, in build_wheel
          return self._build_with_temp_dir(['bdist_wheel'], '.whl',
        File "C:\Users\M\AppData\Local\Temp\pip-build-env-456v1vww\overlay\Lib\site-packages\setuptools\build_meta.py", line 401, in _build_with_temp_dir
          self.run_setup()
        File "C:\Users\M\AppData\Local\Temp\pip-build-env-456v1vww\overlay\Lib\site-packages\setuptools\build_meta.py", line 338, in run_setup
          exec(code, locals())
        File "<string>", line 218, in <module>
        File "C:\Users\M\AppData\Local\Temp\pip-build-env-456v1vww\overlay\Lib\site-packages\setuptools\__init__.py", line 107, in setup
          return distutils.core.setup(**attrs)
        File "C:\Users\M\AppData\Local\Temp\pip-build-env-456v1vww\overlay\Lib\site-packages\setuptools\_distutils\core.py", line 185, in setup
          return run_commands(dist)
        File "C:\Users\M\AppData\Local\Temp\pip-build-env-456v1vww\overlay\Lib\site-packages\setuptools\_distutils\core.py", line 201, in run_commands
          dist.run_commands()
        File "C:\Users\M\AppData\Local\Temp\pip-build-env-456v1vww\overlay\Lib\site-packages\setuptools\_distutils\dist.py", line 969, in run_commands
          self.run_command(cmd)
        File "C:\Users\M\AppData\Local\Temp\pip-build-env-456v1vww\overlay\Lib\site-packages\setuptools\dist.py", line 1234, in run_command
          super().run_command(command)
        File "C:\Users\M\AppData\Local\Temp\pip-build-env-456v1vww\overlay\Lib\site-packages\setuptools\_distutils\dist.py", line 988, in run_command
          cmd_obj.run()
        File "C:\Users\M\AppData\Local\Temp\pip-build-env-456v1vww\overlay\Lib\site-packages\wheel\bdist_wheel.py", line 343, in run
          self.run_command("build")
        File "C:\Users\M\AppData\Local\Temp\pip-build-env-456v1vww\overlay\Lib\site-packages\setuptools\_distutils\cmd.py", line 318, in run_command
          self.distribution.run_command(command)
        File "C:\Users\M\AppData\Local\Temp\pip-build-env-456v1vww\overlay\Lib\site-packages\setuptools\dist.py", line 1234, in run_command
          super().run_command(command)
        File "C:\Users\M\AppData\Local\Temp\pip-build-env-456v1vww\overlay\Lib\site-packages\setuptools\_distutils\dist.py", line 988, in run_command
          cmd_obj.run()
        File "C:\Users\M\AppData\Local\Temp\pip-build-env-456v1vww\overlay\Lib\site-packages\setuptools\_distutils\command\build.py", line 131, in run
          self.run_command(cmd_name)
        File "C:\Users\M\AppData\Local\Temp\pip-build-env-456v1vww\overlay\Lib\site-packages\setuptools\_distutils\cmd.py", line 318, in run_command
          self.distribution.run_command(command)
        File "C:\Users\M\AppData\Local\Temp\pip-build-env-456v1vww\overlay\Lib\site-packages\setuptools\dist.py", line 1234, in run_command
          super().run_command(command)
        File "C:\Users\M\AppData\Local\Temp\pip-build-env-456v1vww\overlay\Lib\site-packages\setuptools\_distutils\dist.py", line 988, in run_command
          cmd_obj.run()
        File "<string>", line 130, in run
        File "<string>", line 170, in build_extension
        File "C:\Program Files\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.
      [end of output]

  note: This error originates from a subprocess, and is likely not a problem with pip.
  ERROR: Failed building wheel for dlib
Failed to build dlib
ERROR: Could not build wheels for dlib, which is required to install pyproject.toml-based projects
davisking commented 1 year ago

It looks like the version of visual studio you have is too old and is giving errors it shouldn't. Try Visual Studio 17 or one of the newer versions. That should work fine.

lnxdx commented 1 year ago

@davisking I use visual studio 2019.

davisking commented 1 year ago

You are using Visual Studio 16 2019. v16 is old. Try at least v17.

ZitongLan commented 1 year ago

@lnxdx the same error with you, did you figure out a solution to it?

MinaSaher788 commented 1 year ago

note: This error originates from a subprocess, and is likely not a problem with pip. ERROR: Failed building wheel for dlib Failed to build dlib ERROR: Could not build wheels for dlib, which is required to install pyproject.toml-based projects i install pyproject.toml-based projects and i get same error

lnxdx commented 1 year ago

@lnxdx the same error with you, did you figure out a solution to it?

Yes. I installed a newer version of visual studio (VS 2022 Version 17.6.3) and it solved the problem. The previous version of my visual studio was 16.

If you cannot update your visual studio, install an older version of dlib. It works too.

yuqilol commented 10 months ago

Hello i'm trying to install dlib using pip install dlibbut i get an error,I found that it's impossible to install it. There is no working solution on the internet

This is the error:pip install dlib Collecting dlib Using cached dlib-19.24.2.tar.gz (11.8 MB) Installing build dependencies ... done Getting requirements to build wheel ... done Preparing metadata (pyproject.toml) ... done Building wheels for collected packages: dlib Building wheel for dlib (pyproject.toml) ... error error: subprocess-exited-with-error

× Building wheel for dlib (pyproject.toml) did not run successfully. │ exit code: 1 ╰─> [179 lines of output] running bdist_wheel running build running build_ext

:125: DeprecationWarning: distutils Version classes are deprecated. Use packaging.version instead. Building extension for Python 3.11.4 | packaged by Anaconda, Inc. | (main, Jul 5 2023, 13:38:37) [MSC v.1916 64 bit (AMD64)] Invoking CMake setup: 'cmake C:\Users\Admin\AppData\Local\Temp\pip-install-i2hv9wmd\dlib_f9295363cbb04261a954619 7b7d35461\tools\python -DCMAKE_LIBRARY_OUTPUT_DIRECTORY=C:\Users\Admin\AppData\Local\Temp\pip-install-i2hv9wmd\dlib_f9 295363cbb04261a9546197b7d35461\build\lib.win-amd64-cpython-311 -DPYTHON_EXECUTABLE=F:\Anaconda\python.exe -DCMAKE_LIBR ARY_OUTPUT_DIRECTORY_RELEASE=C:\Users\Admin\AppData\Local\Temp\pip-install-i2hv9wmd\dlib_f9295363cbb04261a9546197b7d35461\build\lib.win-amd64-cpython-311 -A x64' -- Building for: Visual Studio 17 2022 -- Selecting Windows SDK version 10.0.22621.0 to target Windows 10.0.22631. -- The C compiler identification is MSVC 19.38.33133.0 -- The CXX compiler identification is MSVC 19.38.33133.0 -- Detecting C compiler ABI info -- Detecting C compiler ABI info - done -- Check for working C compiler: G:/VisualStudio/community2023/VC/Tools/MSVC/14.38.33130/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: G:/VisualStudio/community2023/VC/Tools/MSVC/14.38.33130/bin/Hostx64/x64/cl.exe - skipped -- Detecting CXX compile features -- Detecting CXX compile features - done CMake Deprecation Warning at C:/Users/Admin/AppData/Local/Temp/pip-install-i2hv9wmd/dlib_f9295363cbb04261a9546197b7d35461/dlib/external/pybind11/CMakeLists.txt:8 (cmake_minimum_required): Compatibility with CMake < 3.5 will be removed from a future version of CMake. Update the VERSION argument value or use a ... suffix to tell CMake that the project does not need compatibility with older versions. -- pybind11 v2.10.0 CMake Warning (dev) at C:/Users/Admin/AppData/Local/Temp/pip-install-i2hv9wmd/dlib_f9295363cbb04261a9546197b7d35461/dlib/external/pybind11/tools/FindPythonLibsNew.cmake:98 (find_package): Policy CMP0148 is not set: The FindPythonInterp and FindPythonLibs modules are removed. Run "cmake --help-policy CMP0148" for policy details. Use the cmake_policy command to set the policy and suppress this warning. Call Stack (most recent call first): C:/Users/Admin/AppData/Local/Temp/pip-install-i2hv9wmd/dlib_f9295363cbb04261a9546197b7d35461/dlib/external/pybind11/tools/pybind11Tools.cmake:50 (find_package) C:/Users/Admin/AppData/Local/Temp/pip-install-i2hv9wmd/dlib_f9295363cbb04261a9546197b7d35461/dlib/external/pybind11/tools/pybind11Common.cmake:180 (include) C:/Users/Admin/AppData/Local/Temp/pip-install-i2hv9wmd/dlib_f9295363cbb04261a9546197b7d35461/dlib/external/pybind11/CMakeLists.txt:200 (include) This warning is for project developers. Use -Wno-dev to suppress it. -- Found PythonInterp: F:/Anaconda/python.exe (found suitable version "3.11.4", minimum required is "3.6") -- Found PythonLibs: F:/Anaconda/libs/python311.lib -- Performing Test HAS_MSVC_GL_LTCG -- Performing Test HAS_MSVC_GL_LTCG - Success -- Using CMake version: 3.27.9 -- Compiling dlib version: 19.24.2 -- 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 SSE2 instructions -- Could NOT find WebP (missing: WEBP_LIBRARY) -- Searching for BLAS and LAPACK -- Searching for BLAS and LAPACK -- Performing Test CMAKE_HAVE_LIBC_PTHREAD -- Performing Test CMAKE_HAVE_LIBC_PTHREAD - Failed -- Looking for pthread_create in pthreads -- Looking for pthread_create in pthreads - not found -- Looking for pthread_create in pthread -- Looking for pthread_create in pthread - not found -- Found Threads: TRUE CMake Warning (dev) at C:/Users/Admin/AppData/Local/Temp/pip-install-i2hv9wmd/dlib_f9295363cbb04261a9546197b7d35461/dlib/CMakeLists.txt:628 (find_package): Policy CMP0146 is not set: The FindCUDA module is removed. Run "cmake --help-policy CMP0146" for policy details. Use the cmake_policy command to set the policy and suppress this warning. This warning is for project developers. Use -Wno-dev to suppress it. CUDA_TOOLKIT_ROOT_DIR not found or specified -- 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") -- 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. -- DID NOT FIND CUDA -- Disabling CUDA support for dlib. DLIB WILL NOT USE CUDA -- Searching for FFMPEG/LIBAV -- Could NOT find PkgConfig (missing: PKG_CONFIG_EXECUTABLE) -- PkgConfig could not be found, FFMPEG won't be available -- Configuring done (31.1s) -- Generating done (0.0s) -- Build files have been written to: C:/Users/Admin/AppData/Local/Temp/pip-install-i2hv9wmd/dlib_f9295363cbb04261a9546197b7d35461/build/temp.win-amd64-cpython-311/Release Invoking CMake build: 'cmake --build . --config Release -- /m' 适用于 .NET Framework MSBuild 版本 17.8.3+195e7f5a3 G:\VisualStudio\community2023\MSBuild\Microsoft\VC\v170\Microsoft.CppBuild.targets(541,5): warning MSB8029: 中间 录或输出目录无法驻留在临时目录下,因为这可能会导致增量生成出现问题。 [C:\Users\Admin\AppData\Local\Temp\pip-install- -i2hv9wmd\dlib_f9295363cbb04261a9546197b7d35461\build\temp.win-amd64-cpython-311\Release\ZERO_CHECK.vcxproj] 1>Checking Build System G:\VisualStudio\community2023\MSBuild\Microsoft\VC\v170\Microsoft.CppBuild.targets(541,5): warning MSB8029: 中间 录或输出目录无法驻留在临时目录下,因为这可能会导致增量生成出现问题。 [C:\Users\Admin\AppData\Local\Temp\pip-install- -i2hv9wmd\dlib_f9295363cbb04261a9546197b7d35461\build\temp.win-amd64-cpython-311\Release\dlib_build\dlib.vcxproj] Building Custom Rule C:/Users/Admin/AppData/Local/Temp/pip-install-i2hv9wmd/dlib_f9295363cbb04261a9546197b7d35461/dlib/CMakeLists.txt 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 fft.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 未经处理的异常: OutOfMemoryException. Traceback (most recent call last): File "F:\Anaconda\Lib\site-packages\pip\_vendor\pyproject_hooks\_in_process\_in_process.py", line 353, in main() File "F:\Anaconda\Lib\site-packages\pip\_vendor\pyproject_hooks\_in_process\_in_process.py", line 335, in main json_out['return_val'] = hook(**hook_input['kwargs']) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "F:\Anaconda\Lib\site-packages\pip\_vendor\pyproject_hooks\_in_process\_in_process.py", line 251, in build_wheel return _build_backend().build_wheel(wheel_directory, config_settings, ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "C:\Users\Admin\AppData\Local\Temp\pip-build-env-gr1hyoxj\overlay\Lib\site-packages\setuptools\build_meta.py", line 404, in build_wheel return self._build_with_temp_dir( ^^^^^^^^^^^^^^^^^^^^^^^^^^ File "C:\Users\Admin\AppData\Local\Temp\pip-build-env-gr1hyoxj\overlay\Lib\site-packages\setuptools\build_meta.py", line 389, in _build_with_temp_dir self.run_setup() File "C:\Users\Admin\AppData\Local\Temp\pip-build-env-gr1hyoxj\overlay\Lib\site-packages\setuptools\build_meta.py", line 311, in run_setup exec(code, locals()) File "", line 218, in File "C:\Users\Admin\AppData\Local\Temp\pip-build-env-gr1hyoxj\overlay\Lib\site-packages\setuptools\__init__.py", line 103, in setup return distutils.core.setup(**attrs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "C:\Users\Admin\AppData\Local\Temp\pip-build-env-gr1hyoxj\overlay\Lib\site-packages\setuptools\_distutils\core.py", line 185, in setup return run_commands(dist) ^^^^^^^^^^^^^^^^^^ File "C:\Users\Admin\AppData\Local\Temp\pip-build-env-gr1hyoxj\overlay\Lib\site-packages\setuptools\_distutils\core.py", line 201, in run_commands dist.run_commands() File "C:\Users\Admin\AppData\Local\Temp\pip-build-env-gr1hyoxj\overlay\Lib\site-packages\setuptools\_distutils\dist.py", line 969, in run_commands self.run_command(cmd) File "C:\Users\Admin\AppData\Local\Temp\pip-build-env-gr1hyoxj\overlay\Lib\site-packages\setuptools\dist.py", line 963, in run_command super().run_command(command) File "C:\Users\Admin\AppData\Local\Temp\pip-build-env-gr1hyoxj\overlay\Lib\site-packages\setuptools\_distutils\dist.py", line 988, in run_command cmd_obj.run() File "C:\Users\Admin\AppData\Local\Temp\pip-build-env-gr1hyoxj\overlay\Lib\site-packages\wheel\bdist_wheel.py", line 368, in run self.run_command("build") File "C:\Users\Admin\AppData\Local\Temp\pip-build-env-gr1hyoxj\overlay\Lib\site-packages\setuptools\_distutils\cmd.py", line 318, in run_command self.distribution.run_command(command) File "C:\Users\Admin\AppData\Local\Temp\pip-build-env-gr1hyoxj\overlay\Lib\site-packages\setuptools\dist.py", line 963, in run_command super().run_command(command) File "C:\Users\Admin\AppData\Local\Temp\pip-build-env-gr1hyoxj\overlay\Lib\site-packages\setuptools\_distutils\dist.py", line 988, in run_command cmd_obj.run() File "C:\Users\Admin\AppData\Local\Temp\pip-build-env-gr1hyoxj\overlay\Lib\site-packages\setuptools\_distutils\command\build.py", line 131, in run self.run_command(cmd_name) File "C:\Users\Admin\AppData\Local\Temp\pip-build-env-gr1hyoxj\overlay\Lib\site-packages\setuptools\_distutils\cmd.py", line 318, in run_command self.distribution.run_command(command) File "C:\Users\Admin\AppData\Local\Temp\pip-build-env-gr1hyoxj\overlay\Lib\site-packages\setuptools\dist.py", line 963, in run_command ERROR: Failed building wheel for dlib Failed to build dlib ERROR: Could not build wheels for dlib, which is required to install pyproject.toml-based projects
luan-coelho commented 9 months ago

@yuqilol did you manage to solve the problem? I'm also facing him.

subh05sus commented 8 months ago
$ pip install dlib
DEPRECATION: Loading egg at c:\python311\lib\site-packages\vboxapi-1.0-py3.11.egg is deprecated. pip 24.3 will enforce this behaviour change. A possible replacement is to use pip for package installation.. Discussion can be found at https://github.com/pypa/pip/issues/12330
Collecting dlib
  Using cached dlib-19.24.2.tar.gz (11.8 MB)
  Installing build dependencies ... done
  Getting requirements to build wheel ... done
  Preparing metadata (pyproject.toml) ... done
Building wheels for collected packages: dlib
  Building wheel for dlib (pyproject.toml) ... error
  error: subprocess-exited-with-error

  × Building wheel for dlib (pyproject.toml) did not run successfully.
  │ exit code: 1
  ╰─> [78 lines of output]
      running bdist_wheel
      running build
      running build_ext
      <string>:125: DeprecationWarning: distutils Version classes are deprecated. Use packaging.version instead.
      Building extension for Python 3.11.4 (tags/v3.11.4:d2340ef, Jun  7 2023, 05:45:37) [MSC v.1934 64 bit (AMD64)]
      Invoking CMake setup: 'cmake C:\Users\sahas\AppData\Local\Temp\pip-install-fdfknim3\dlib_44c0af6084ac4e15855016c62d6e4325\tools\python -DCMAKE_LIBRARY_OUTPUT_DIRECTORY=C:\Users\sahas\AppData\Local\Temp\pip-install-fdfknim3\dlib_44c0af6084ac4e15855016c62d6e4325\build\lib.win-amd64-cpython-311 -DPYTHON_EXECUTABLE=C:\Python311\python.exe -DCMAKE_LIBRARY_OUTPUT_DIRECTORY_RELEASE=C:\Users\sahas\AppData\Local\Temp\pip-install-fdfknim3\dlib_44c0af6084ac4e15855016c62d6e4325\build\lib.win-amd64-cpython-311 -A x64'
      -- Building for: NMake Makefiles
      CMake Error at CMakeLists.txt:5 (message):

        !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!

        You must use Visual Studio to build a python extension on windows.  If you
        are getting this error it means you have not installed Visual C++.  Note
        that there are many flavors of Visual Studio, like Visual Studio for C#
        development.  You need to install Visual Studio for C++.

        !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!

      -- Configuring incomplete, errors occurred!
      Traceback (most recent call last):
        File "C:\Users\sahas\AppData\Roaming\Python\Python311\site-packages\pip\_vendor\pyproject_hooks\_in_process\_in_process.py", line 353, in <module>
          main()
        File "C:\Users\sahas\AppData\Roaming\Python\Python311\site-packages\pip\_vendor\pyproject_hooks\_in_process\_in_process.py", line 335, in main
          json_out['return_val'] = hook(**hook_input['kwargs'])
                                   ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
        File "C:\Users\sahas\AppData\Roaming\Python\Python311\site-packages\pip\_vendor\pyproject_hooks\_in_process\_in_process.py", line 251, in build_wheel
          return _build_backend().build_wheel(wheel_directory, config_settings,
                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
        File "C:\Users\sahas\AppData\Local\Temp\pip-build-env-myezgd60\overlay\Lib\site-packages\setuptools\build_meta.py", line 404, in build_wheel
          return self._build_with_temp_dir(
                 ^^^^^^^^^^^^^^^^^^^^^^^^^^
        File "C:\Users\sahas\AppData\Local\Temp\pip-build-env-myezgd60\overlay\Lib\site-packages\setuptools\build_meta.py", line 389, in _build_with_temp_dir
          self.run_setup()
        File "C:\Users\sahas\AppData\Local\Temp\pip-build-env-myezgd60\overlay\Lib\site-packages\setuptools\build_meta.py", line 311, in run_setup
          exec(code, locals())
        File "<string>", line 218, in <module>
        File "C:\Users\sahas\AppData\Local\Temp\pip-build-env-myezgd60\overlay\Lib\site-packages\setuptools\__init__.py", line 103, in setup
          return distutils.core.setup(**attrs)
                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
        File "C:\Users\sahas\AppData\Local\Temp\pip-build-env-myezgd60\overlay\Lib\site-packages\setuptools\_distutils\core.py", line 185, in setup
          return run_commands(dist)
                 ^^^^^^^^^^^^^^^^^^
        File "C:\Users\sahas\AppData\Local\Temp\pip-build-env-myezgd60\overlay\Lib\site-packages\setuptools\_distutils\core.py", line 201, in run_commands
          dist.run_commands()
        File "C:\Users\sahas\AppData\Local\Temp\pip-build-env-myezgd60\overlay\Lib\site-packages\setuptools\_distutils\dist.py", line 969, in run_commands
          self.run_command(cmd)
        File "C:\Users\sahas\AppData\Local\Temp\pip-build-env-myezgd60\overlay\Lib\site-packages\setuptools\dist.py", line 963, in run_command
          super().run_command(command)
        File "C:\Users\sahas\AppData\Local\Temp\pip-build-env-myezgd60\overlay\Lib\site-packages\setuptools\_distutils\dist.py", line 988, in run_command
          cmd_obj.run()
        File "C:\Users\sahas\AppData\Local\Temp\pip-build-env-myezgd60\overlay\Lib\site-packages\wheel\bdist_wheel.py", line 368, in run
          self.run_command("build")
        File "C:\Users\sahas\AppData\Local\Temp\pip-build-env-myezgd60\overlay\Lib\site-packages\setuptools\_distutils\cmd.py", line 318, in run_command
          self.distribution.run_command(command)
        File "C:\Users\sahas\AppData\Local\Temp\pip-build-env-myezgd60\overlay\Lib\site-packages\setuptools\dist.py", line 963, in run_command
          super().run_command(command)
        File "C:\Users\sahas\AppData\Local\Temp\pip-build-env-myezgd60\overlay\Lib\site-packages\setuptools\_distutils\dist.py", line 988, in run_command
          cmd_obj.run()
        File "C:\Users\sahas\AppData\Local\Temp\pip-build-env-myezgd60\overlay\Lib\site-packages\setuptools\_distutils\command\build.py", line 131, in run
          self.run_command(cmd_name)
        File "C:\Users\sahas\AppData\Local\Temp\pip-build-env-myezgd60\overlay\Lib\site-packages\setuptools\_distutils\cmd.py", line 318, in run_command
          self.distribution.run_command(command)
        File "C:\Users\sahas\AppData\Local\Temp\pip-build-env-myezgd60\overlay\Lib\site-packages\setuptools\dist.py", line 963, in run_command
          super().run_command(command)
        File "C:\Users\sahas\AppData\Local\Temp\pip-build-env-myezgd60\overlay\Lib\site-packages\setuptools\_distutils\dist.py", line 988, in run_command
          cmd_obj.run()
        File "<string>", line 130, in run
        File "<string>", line 167, in build_extension
        File "C:\Python311\Lib\subprocess.py", line 413, in check_call
          raise CalledProcessError(retcode, cmd)
      subprocess.CalledProcessError: Command '['cmake', 'C:\\Users\\sahas\\AppData\\Local\\Temp\\pip-install-fdfknim3\\dlib_44c0af6084ac4e15855016c62d6e4325\\tools\\python', '-DCMAKE_LIBRARY_OUTPUT_DIRECTORY=C:\\Users\\sahas\\AppData\\Local\\Temp\\pip-install-fdfknim3\\dlib_44c0af6084ac4e15855016c62d6e4325\\build\\lib.win-amd64-cpython-311', '-DPYTHON_EXECUTABLE=C:\\Python311\\python.exe', '-DCMAKE_LIBRARY_OUTPUT_DIRECTORY_RELEASE=C:\\Users\\sahas\\AppData\\Local\\Temp\\pip-install-fdfknim3\\dlib_44c0af6084ac4e15855016c62d6e4325\\build\\lib.win-amd64-cpython-311', '-A', 'x64']' returned non-zero exit status 1. 
      [end of output]

  note: This error originates from a subprocess, and is likely not a problem with pip.
  ERROR: Failed building wheel for dlib
Failed to build dlib
ERROR: Could not build wheels for dlib, which is required to install pyproject.toml-based projects

FACING THE SAME PROBLEM

IceyWuu commented 8 months ago

Before install dlib, I install cmake and run sudo apt-get install build-essential to install gcc and g++ environment, and it works for me. (ubuntu2204 with python 3.8

Syna-20 commented 8 months ago

Collecting dlib==19.24.0 Using cached dlib-19.24.0.tar.gz (3.2 MB) Preparing metadata (setup.py): started Preparing metadata (setup.py): finished with status 'done' Building wheels for collected packages: dlib Building wheel for dlib (setup.py): started Building wheel for dlib (setup.py): finished with status 'error' Running setup.py clean for dlib Failed to build dlib Installing collected packages: dlib Running setup.py install for dlib: started Running setup.py install for dlib: finished with status 'error'

ERROR: Command errored out with exit status 1: command: 'C:\Users\HP\PycharmProjects\FaceRecognitionRealTime\venv\Scripts\python.exe' -u -c 'import io, os, sys, setuptools, tokenize; sys.argv[0] = '"'"'C:\Users\HP\AppData\Local\Temp\pip-install-uqfplxdz\dlib_4d5c2e0ec61f4c228f2dc7828c073e11\setup.py'"'"'; file='"'"'C:\Users\HP\AppData\Local\Temp\pip-install-uqfplxdz\dlib_4d5c2e0ec61f4c228f2dc7828c073e11\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\HP\AppData\Local\Temp\pip-wheel-9talaa25' cwd: C:\Users\HP\AppData\Local\Temp\pip-install-uqfplxdz\dlib_4d5c2e0ec61f4c228f2dc7828c073e11\ Complete output (506 lines): running bdist_wheel running build running build_py package init file 'tools\python\dlib__init__.py' not found (or not a regular file) running build_ext Building extension for Python 3.6.0 (v3.6.0:41df79263a11, Dec 23 2016, 08:06:12) [MSC v.1900 64 bit (AMD64)] Invoking CMake setup: 'cmake C:\Users\HP\AppData\Local\Temp\pip-install-uqfplxdz\dlib_4d5c2e0ec61f4c228f2dc7828c073e11\tools\python -DCMAKE_LIBRARY_OUTPUT_DIRECTORY=C:\Users\HP\AppData\Local\Temp\pip-install-uqfplxdz\dlib_4d5c2e0ec61f4c228f2dc7828c073e11\build\lib.win-amd64-3.6 -DPYTHON_EXECUTABLE=C:\Users\HP\PycharmProjects\FaceRecognitionRealTime\venv\Scripts\python.exe -DCMAKE_LIBRARY_OUTPUT_DIRECTORY_RELEASE=C:\Users\HP\AppData\Local\Temp\pip-install-uqfplxdz\dlib_4d5c2e0ec61f4c228f2dc7828c073e11\build\lib.win-amd64-3.6 -A x64' -- Building for: Visual Studio 17 2022 CMake Deprecation Warning at CMakeLists.txt:2 (CMAKE_MINIMUM_REQUIRED): Compatibility with CMake < 3.5 will be removed from a future version of CMake.

Update the VERSION argument <min> value or use a ...<max> suffix to tell
CMake that the project does not need compatibility with older versions.

-- Selecting Windows SDK version 10.0.22621.0 to target Windows 10.0.22631. -- The C compiler identification is MSVC 19.39.33519.0 -- The CXX compiler identification is MSVC 19.39.33519.0 -- Detecting C compiler ABI info -- Detecting C compiler ABI info - done -- Check for working C compiler: C:/Program Files/Microsoft Visual Studio/2022/Community/VC/Tools/MSVC/14.39.33519/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/Microsoft Visual Studio/2022/Community/VC/Tools/MSVC/14.39.33519/bin/Hostx64/x64/cl.exe - skipped -- Detecting CXX compile features -- Detecting CXX compile features - done CMake Deprecation Warning at C:/Users/HP/AppData/Local/Temp/pip-install-uqfplxdz/dlib_4d5c2e0ec61f4c228f2dc7828c073e11/dlib/cmake_utils/tell_visual_studio_to_use_static_runtime.cmake:5 (cmake_minimum_required): Compatibility with CMake < 3.5 will be removed from a future version of CMake.

Update the VERSION argument <min> value or use a ...<max> suffix to tell
CMake that the project does not need compatibility with older versions.

Call Stack (most recent call first): CMakeLists.txt:35 (include)

CMake Deprecation Warning at C:/Users/HP/AppData/Local/Temp/pip-install-uqfplxdz/dlib_4d5c2e0ec61f4c228f2dc7828c073e11/dlib/external/pybind11/CMakeLists.txt:8 (cmake_minimum_required): Compatibility with CMake < 3.5 will be removed from a future version of CMake.

Update the VERSION argument <min> value or use a ...<max> suffix to tell
CMake that the project does not need compatibility with older versions.

CMake Deprecation Warning at C:/Users/HP/AppData/Local/Temp/pip-install-uqfplxdz/dlib_4d5c2e0ec61f4c228f2dc7828c073e11/dlib/external/pybind11/tools/pybind11Tools.cmake:8 (cmake_minimum_required): Compatibility with CMake < 3.5 will be removed from a future version of CMake.

Update the VERSION argument <min> value or use a ...<max> suffix to tell
CMake that the project does not need compatibility with older versions.

Call Stack (most recent call first): C:/Users/HP/AppData/Local/Temp/pip-install-uqfplxdz/dlib_4d5c2e0ec61f4c228f2dc7828c073e11/dlib/external/pybind11/CMakeLists.txt:33 (include)

CMake Warning (dev) at C:/Users/HP/AppData/Local/Temp/pip-install-uqfplxdz/dlib_4d5c2e0ec61f4c228f2dc7828c073e11/dlib/external/pybind11/tools/FindPythonLibsNew.cmake:60 (find_package): Policy CMP0148 is not set: The FindPythonInterp and FindPythonLibs modules are removed. Run "cmake --help-policy CMP0148" for policy details. Use the cmake_policy command to set the policy and suppress this warning.

Call Stack (most recent call first): C:/Users/HP/AppData/Local/Temp/pip-install-uqfplxdz/dlib_4d5c2e0ec61f4c228f2dc7828c073e11/dlib/external/pybind11/tools/pybind11Tools.cmake:16 (find_package) C:/Users/HP/AppData/Local/Temp/pip-install-uqfplxdz/dlib_4d5c2e0ec61f4c228f2dc7828c073e11/dlib/external/pybind11/CMakeLists.txt:33 (include) This warning is for project developers. Use -Wno-dev to suppress it.

-- Found PythonInterp: C:/Users/HP/PycharmProjects/FaceRecognitionRealTime/venv/Scripts/python.exe (found version "3.6") -- Found PythonLibs: C:/Users/HP/AppData/Local/Programs/Python/Python36/libs/Python36.lib -- pybind11 v2.2.4 CMake Deprecation Warning at C:/Users/HP/AppData/Local/Temp/pip-install-uqfplxdz/dlib_4d5c2e0ec61f4c228f2dc7828c073e11/dlib/CMakeLists.txt:7 (cmake_minimum_required): Compatibility with CMake < 3.5 will be removed from a future version of CMake.

Update the VERSION argument <min> value or use a ...<max> suffix to tell
CMake that the project does not need compatibility with older versions.

-- Using CMake version: 3.28.3 -- Compiling dlib version: 19.24.0 CMake Deprecation Warning at C:/Users/HP/AppData/Local/Temp/pip-install-uqfplxdz/dlib_4d5c2e0ec61f4c228f2dc7828c073e11/dlib/cmake_utils/set_compiler_specific_options.cmake:2 (cmake_minimum_required): Compatibility with CMake < 3.5 will be removed from a future version of CMake.

Update the VERSION argument <min> value or use a ...<max> suffix to tell
CMake that the project does not need compatibility with older versions.

Call Stack (most recent call first): C:/Users/HP/AppData/Local/Temp/pip-install-uqfplxdz/dlib_4d5c2e0ec61f4c228f2dc7828c073e11/dlib/CMakeLists.txt:33 (include)

CMake Deprecation Warning at C:/Users/HP/AppData/Local/Temp/pip-install-uqfplxdz/dlib_4d5c2e0ec61f4c228f2dc7828c073e11/dlib/cmake_utils/check_if_sse4_instructions_executable_on_host.cmake:3 (cmake_minimum_required): Compatibility with CMake < 3.5 will be removed from a future version of CMake.

Update the VERSION argument <min> value or use a ...<max> suffix to tell
CMake that the project does not need compatibility with older versions.

Call Stack (most recent call first): C:/Users/HP/AppData/Local/Temp/pip-install-uqfplxdz/dlib_4d5c2e0ec61f4c228f2dc7828c073e11/dlib/cmake_utils/set_compiler_specific_options.cmake:13 (include) C:/Users/HP/AppData/Local/Temp/pip-install-uqfplxdz/dlib_4d5c2e0ec61f4c228f2dc7828c073e11/dlib/CMakeLists.txt:33 (include)

CMake Deprecation Warning at C:/Users/HP/AppData/Local/Temp/pip-install-uqfplxdz/dlib_4d5c2e0ec61f4c228f2dc7828c073e11/dlib/cmake_utils/test_for_sse4/CMakeLists.txt:2 (cmake_minimum_required): Compatibility with CMake < 3.5 will be removed from a future version of CMake.

Update the VERSION argument <min> value or use a ...<max> suffix to tell
CMake that the project does not need compatibility with older versions.

CMake Deprecation Warning at C:/Users/HP/AppData/Local/Temp/pip-install-uqfplxdz/dlib_4d5c2e0ec61f4c228f2dc7828c073e11/dlib/cmake_utils/set_compiler_specific_options.cmake:2 (cmake_minimum_required): Compatibility with CMake < 3.5 will be removed from a future version of CMake.

Update the VERSION argument <min> value or use a ...<max> suffix to tell
CMake that the project does not need compatibility with older versions.

Call Stack (most recent call first): C:/Users/HP/AppData/Local/Temp/pip-install-uqfplxdz/dlib_4d5c2e0ec61f4c228f2dc7828c073e11/dlib/cmake_utils/test_for_sse4/CMakeLists.txt:8 (include)

CMake Deprecation Warning at C:/Users/HP/AppData/Local/Temp/pip-install-uqfplxdz/dlib_4d5c2e0ec61f4c228f2dc7828c073e11/dlib/cmake_utils/check_if_avx_instructions_executable_on_host.cmake:3 (cmake_minimum_required): Compatibility with CMake < 3.5 will be removed from a future version of CMake.

Update the VERSION argument <min> value or use a ...<max> suffix to tell
CMake that the project does not need compatibility with older versions.

Call Stack (most recent call first): C:/Users/HP/AppData/Local/Temp/pip-install-uqfplxdz/dlib_4d5c2e0ec61f4c228f2dc7828c073e11/dlib/cmake_utils/set_compiler_specific_options.cmake:17 (include) C:/Users/HP/AppData/Local/Temp/pip-install-uqfplxdz/dlib_4d5c2e0ec61f4c228f2dc7828c073e11/dlib/CMakeLists.txt:33 (include)

CMake Deprecation Warning at C:/Users/HP/AppData/Local/Temp/pip-install-uqfplxdz/dlib_4d5c2e0ec61f4c228f2dc7828c073e11/dlib/cmake_utils/test_for_avx/CMakeLists.txt:2 (cmake_minimum_required): Compatibility with CMake < 3.5 will be removed from a future version of CMake.

Update the VERSION argument <min> value or use a ...<max> suffix to tell
CMake that the project does not need compatibility with older versions.

CMake Deprecation Warning at C:/Users/HP/AppData/Local/Temp/pip-install-uqfplxdz/dlib_4d5c2e0ec61f4c228f2dc7828c073e11/dlib/cmake_utils/set_compiler_specific_options.cmake:2 (cmake_minimum_required): Compatibility with CMake < 3.5 will be removed from a future version of CMake.

Update the VERSION argument <min> value or use a ...<max> suffix to tell
CMake that the project does not need compatibility with older versions.

Call Stack (most recent call first): C:/Users/HP/AppData/Local/Temp/pip-install-uqfplxdz/dlib_4d5c2e0ec61f4c228f2dc7828c073e11/dlib/cmake_utils/test_for_avx/CMakeLists.txt:8 (include)

CMake Deprecation Warning at C:/Users/HP/AppData/Local/Temp/pip-install-uqfplxdz/dlib_4d5c2e0ec61f4c228f2dc7828c073e11/dlib/cmake_utils/check_if_neon_available.cmake:3 (cmake_minimum_required): Compatibility with CMake < 3.5 will be removed from a future version of CMake.

Update the VERSION argument <min> value or use a ...<max> suffix to tell
CMake that the project does not need compatibility with older versions.

Call Stack (most recent call first): C:/Users/HP/AppData/Local/Temp/pip-install-uqfplxdz/dlib_4d5c2e0ec61f4c228f2dc7828c073e11/dlib/cmake_utils/set_compiler_specific_options.cmake:21 (include) C:/Users/HP/AppData/Local/Temp/pip-install-uqfplxdz/dlib_4d5c2e0ec61f4c228f2dc7828c073e11/dlib/CMakeLists.txt:33 (include)

CMake Deprecation Warning at C:/Users/HP/AppData/Local/Temp/pip-install-uqfplxdz/dlib_4d5c2e0ec61f4c228f2dc7828c073e11/dlib/cmake_utils/test_for_neon/CMakeLists.txt:2 (cmake_minimum_required): Compatibility with CMake < 3.5 will be removed from a future version of CMake.

Update the VERSION argument <min> value or use a ...<max> suffix to tell
CMake that the project does not need compatibility with older versions.

-- 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 SSE2 instructions CMake Deprecation Warning at C:/Users/HP/AppData/Local/Temp/pip-install-uqfplxdz/dlib_4d5c2e0ec61f4c228f2dc7828c073e11/dlib/cmake_utils/use_cpp_11.cmake:5 (cmake_minimum_required): Compatibility with CMake < 3.5 will be removed from a future version of CMake.

Update the VERSION argument <min> value or use a ...<max> suffix to tell
CMake that the project does not need compatibility with older versions.

Call Stack (most recent call first): C:/Users/HP/AppData/Local/Temp/pip-install-uqfplxdz/dlib_4d5c2e0ec61f4c228f2dc7828c073e11/dlib/CMakeLists.txt:50 (include)

CMake Deprecation Warning at C:/Users/HP/AppData/Local/Temp/pip-install-uqfplxdz/dlib_4d5c2e0ec61f4c228f2dc7828c073e11/dlib/cmake_utils/find_libpng.cmake:4 (cmake_minimum_required): Compatibility with CMake < 3.5 will be removed from a future version of CMake.

Update the VERSION argument <min> value or use a ...<max> suffix to tell
CMake that the project does not need compatibility with older versions.

Call Stack (most recent call first): C:/Users/HP/AppData/Local/Temp/pip-install-uqfplxdz/dlib_4d5c2e0ec61f4c228f2dc7828c073e11/dlib/CMakeLists.txt:443 (include)

CMake Deprecation Warning at C:/Users/HP/AppData/Local/Temp/pip-install-uqfplxdz/dlib_4d5c2e0ec61f4c228f2dc7828c073e11/dlib/cmake_utils/check_if_neon_available.cmake:3 (cmake_minimum_required): Compatibility with CMake < 3.5 will be removed from a future version of CMake.

Update the VERSION argument <min> value or use a ...<max> suffix to tell
CMake that the project does not need compatibility with older versions.

Call Stack (most recent call first): C:/Users/HP/AppData/Local/Temp/pip-install-uqfplxdz/dlib_4d5c2e0ec61f4c228f2dc7828c073e11/dlib/CMakeLists.txt:485 (include)

CMake Deprecation Warning at C:/Users/HP/AppData/Local/Temp/pip-install-uqfplxdz/dlib_4d5c2e0ec61f4c228f2dc7828c073e11/dlib/cmake_utils/find_libjpeg.cmake:4 (cmake_minimum_required): Compatibility with CMake < 3.5 will be removed from a future version of CMake.

Update the VERSION argument <min> value or use a ...<max> suffix to tell
CMake that the project does not need compatibility with older versions.

Call Stack (most recent call first): C:/Users/HP/AppData/Local/Temp/pip-install-uqfplxdz/dlib_4d5c2e0ec61f4c228f2dc7828c073e11/dlib/CMakeLists.txt:504 (include)

-- Searching for BLAS and LAPACK -- Searching for BLAS and LAPACK -- Performing Test CMAKE_HAVE_LIBC_PTHREAD -- Performing Test CMAKE_HAVE_LIBC_PTHREAD - Failed -- Looking for pthread_create in pthreads -- Looking for pthread_create in pthreads - not found -- Looking for pthread_create in pthread -- Looking for pthread_create in pthread - not found -- Found Threads: TRUE CMake Warning (dev) at C:/Users/HP/AppData/Local/Temp/pip-install-uqfplxdz/dlib_4d5c2e0ec61f4c228f2dc7828c073e11/dlib/CMakeLists.txt:628 (find_package): Policy CMP0146 is not set: The FindCUDA module is removed. Run "cmake --help-policy CMP0146" for policy details. Use the cmake_policy command to set the policy and suppress this warning.

This warning is for project developers. Use -Wno-dev to suppress it.

CUDA_TOOLKIT_ROOT_DIR not found or specified -- 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") -- 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. -- DID NOT FIND CUDA -- Disabling CUDA support for dlib. DLIB WILL NOT USE CUDA -- C++11 activated. -- Configuring done (38.7s) -- Generating done (0.2s) -- Build files have been written to: C:/Users/HP/AppData/Local/Temp/pip-install-uqfplxdz/dlib_4d5c2e0ec61f4c228f2dc7828c073e11/build/temp.win-amd64-3.6/Release Invoking CMake build: 'cmake --build . --config Release -- /m' MSBuild version 17.9.5+33de0b227 for .NET Framework

C:\Program Files\Microsoft Visual Studio\2022\Community\MSBuild\Microsoft\VC\v170\Microsoft.CppBuild.targets(541,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\HP\AppData\Local\Temp\pip-install-uqfplxdz\dlib_4d5c2e0ec61f4c228f2dc7828c073e11\build\temp.win-amd64-3.6\Release\ZERO_CHECK.vcxproj] 1>Checking Build System C:\Program Files\Microsoft Visual Studio\2022\Community\MSBuild\Microsoft\VC\v170\Microsoft.CppBuild.targets(541,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\HP\AppData\Local\Temp\pip-install-uqfplxdz\dlib_4d5c2e0ec61f4c228f2dc7828c073e11\build\temp.win-amd64-3.6\Release\dlib_build\dlib.vcxproj] Building Custom Rule C:/Users/HP/AppData/Local/Temp/pip-install-uqfplxdz/dlib_4d5c2e0ec61f4c228f2dc7828c073e11/dlib/CMakeLists.txt 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 C:\Users\HP\AppData\Local\Temp\pip-install-uqfplxdz\dlib_4d5c2e0ec61f4c228f2dc7828c073e11\dlib\bit_stream\bit_stream_kernel_1.cpp(1,1): error C1356: unable to find mspdbcore.dll [C:\Users\HP\AppData\Local\Temp\pip-install-uqfplxdz\dlib_4d5c2e0ec61f4c228f2dc7828c073e11\build\temp.win-amd64-3.6\Release\dlib_build\dlib.vcxproj] (compiling source file '../../../../dlib/bit_stream/bit_stream_kernel_1.cpp')

sockets_kernel_1.cpp

C:\Users\HP\AppData\Local\Temp\pip-install-uqfplxdz\dlib_4d5c2e0ec61f4c228f2dc7828c073e11\dlib\entropy_decoder\entropy_decoder_kernel_1.cpp(1,1): error C1356: unable to find mspdbcore.dll [C:\Users\HP\AppData\Local\Temp\pip-install-uqfplxdz\dlib_4d5c2e0ec61f4c228f2dc7828c073e11\build\temp.win-amd64-3.6\Release\dlib_build\dlib.vcxproj] (compiling source file '../../../../dlib/entropy_decoder/entropy_decoder_kernel_1.cpp')

C:\Users\HP\AppData\Local\Temp\pip-install-uqfplxdz\dlib_4d5c2e0ec61f4c228f2dc7828c073e11\dlib\entropy_decoder\entropy_decoder_kernel_2.cpp(1,1): error C1356: unable to find mspdbcore.dll [C:\Users\HP\AppData\Local\Temp\pip-install-uqfplxdz\dlib_4d5c2e0ec61f4c228f2dc7828c073e11\build\temp.win-amd64-3.6\Release\dlib_build\dlib.vcxproj] (compiling source file '../../../../dlib/entropy_decoder/entropy_decoder_kernel_2.cpp')

C:\Users\HP\AppData\Local\Temp\pip-install-uqfplxdz\dlib_4d5c2e0ec61f4c228f2dc7828c073e11\dlib\entropy_encoder\entropy_encoder_kernel_2.cpp(1,1): error C1356: unable to find mspdbcore.dll [C:\Users\HP\AppData\Local\Temp\pip-install-uqfplxdz\dlib_4d5c2e0ec61f4c228f2dc7828c073e11\build\temp.win-amd64-3.6\Release\dlib_build\dlib.vcxproj] (compiling source file '../../../../dlib/entropy_encoder/entropy_encoder_kernel_2.cpp')

C:\Users\HP\AppData\Local\Temp\pip-install-uqfplxdz\dlib_4d5c2e0ec61f4c228f2dc7828c073e11\dlib\entropy_encoder\entropy_encoder_kernel_1.cpp(1,1): error C1356: unable to find mspdbcore.dll [C:\Users\HP\AppData\Local\Temp\pip-install-uqfplxdz\dlib_4d5c2e0ec61f4c228f2dc7828c073e11\build\temp.win-amd64-3.6\Release\dlib_build\dlib.vcxproj] (compiling source file '../../../../dlib/entropy_encoder/entropy_encoder_kernel_1.cpp')

C:\Users\HP\AppData\Local\Temp\pip-install-uqfplxdz\dlib_4d5c2e0ec61f4c228f2dc7828c073e11\dlib\tokenizer\tokenizer_kernel_1.cpp(1,1): error C1356: unable to find mspdbcore.dll [C:\Users\HP\AppData\Local\Temp\pip-install-uqfplxdz\dlib_4d5c2e0ec61f4c228f2dc7828c073e11\build\temp.win-amd64-3.6\Release\dlib_build\dlib.vcxproj] (compiling source file '../../../../dlib/tokenizer/tokenizer_kernel_1.cpp')

C:\Users\HP\AppData\Local\Temp\pip-install-uqfplxdz\dlib_4d5c2e0ec61f4c228f2dc7828c073e11\dlib\md5\md5_kernel_1.cpp(1,1): error C1356: unable to find mspdbcore.dll [C:\Users\HP\AppData\Local\Temp\pip-install-uqfplxdz\dlib_4d5c2e0ec61f4c228f2dc7828c073e11\build\temp.win-amd64-3.6\Release\dlib_build\dlib.vcxproj] (compiling source file '../../../../dlib/md5/md5_kernel_1.cpp')

C:\Users\HP\AppData\Local\Temp\pip-install-uqfplxdz\dlib_4d5c2e0ec61f4c228f2dc7828c073e11\dlib\test_for_odr_violations.cpp(1,1): error C1356: unable to find mspdbcore.dll [C:\Users\HP\AppData\Local\Temp\pip-install-uqfplxdz\dlib_4d5c2e0ec61f4c228f2dc7828c073e11\build\temp.win-amd64-3.6\Release\dlib_build\dlib.vcxproj] (compiling source file '../../../../dlib/test_for_odr_violations.cpp')

C:\Users\HP\AppData\Local\Temp\pip-install-uqfplxdz\dlib_4d5c2e0ec61f4c228f2dc7828c073e11\dlib\unicode\unicode.cpp(1,1): error C1356: unable to find mspdbcore.dll [C:\Users\HP\AppData\Local\Temp\pip-install-uqfplxdz\dlib_4d5c2e0ec61f4c228f2dc7828c073e11\build\temp.win-amd64-3.6\Release\dlib_build\dlib.vcxproj] (compiling source file '../../../../dlib/unicode/unicode.cpp')

bsp.cpp
dir_nav_kernel_1.cpp
dir_nav_kernel_2.cpp

C:\Users\HP\AppData\Local\Temp\pip-install-uqfplxdz\dlib_4d5c2e0ec61f4c228f2dc7828c073e11\dlib\sockets\sockets_kernel_1.cpp(1,1): error C1356: unable to find mspdbcore.dll [C:\Users\HP\AppData\Local\Temp\pip-install-uqfplxdz\dlib_4d5c2e0ec61f4c228f2dc7828c073e11\build\temp.win-amd64-3.6\Release\dlib_build\dlib.vcxproj] (compiling source file '../../../../dlib/sockets/sockets_kernel_1.cpp')

C:\Users\HP\AppData\Local\Temp\pip-install-uqfplxdz\dlib_4d5c2e0ec61f4c228f2dc7828c073e11\dlib\bsp\bsp.cpp(1,1): error C1356: unable to find mspdbcore.dll [C:\Users\HP\AppData\Local\Temp\pip-install-uqfplxdz\dlib_4d5c2e0ec61f4c228f2dc7828c073e11\build\temp.win-amd64-3.6\Release\dlib_build\dlib.vcxproj] (compiling source file '../../../../dlib/bsp/bsp.cpp')

dir_nav_extensions.cpp

C:\Users\HP\AppData\Local\Temp\pip-install-uqfplxdz\dlib_4d5c2e0ec61f4c228f2dc7828c073e11\dlib\dir_nav\dir_nav_kernel_1.cpp(1,1): error C1356: unable to find mspdbcore.dll [C:\Users\HP\AppData\Local\Temp\pip-install-uqfplxdz\dlib_4d5c2e0ec61f4c228f2dc7828c073e11\build\temp.win-amd64-3.6\Release\dlib_build\dlib.vcxproj] (compiling source file '../../../../dlib/dir_nav/dir_nav_kernel_1.cpp')

C:\Users\HP\AppData\Local\Temp\pip-install-uqfplxdz\dlib_4d5c2e0ec61f4c228f2dc7828c073e11\dlib\dir_nav\dir_nav_kernel_2.cpp(1,1): error C1356: unable to find mspdbcore.dll [C:\Users\HP\AppData\Local\Temp\pip-install-uqfplxdz\dlib_4d5c2e0ec61f4c228f2dc7828c073e11\build\temp.win-amd64-3.6\Release\dlib_build\dlib.vcxproj] (compiling source file '../../../../dlib/dir_nav/dir_nav_kernel_2.cpp')

C:\Users\HP\AppData\Local\Temp\pip-install-uqfplxdz\dlib_4d5c2e0ec61f4c228f2dc7828c073e11\dlib\dir_nav\dir_nav_extensions.cpp(1,1): error C1356: unable to find mspdbcore.dll [C:\Users\HP\AppData\Local\Temp\pip-install-uqfplxdz\dlib_4d5c2e0ec61f4c228f2dc7828c073e11\build\temp.win-amd64-3.6\Release\dlib_build\dlib.vcxproj] (compiling source file '../../../../dlib/dir_nav/dir_nav_extensions.cpp')

fonts.cpp
linker_kernel_1.cpp
extra_logger_headers.cpp
logger_kernel_1.cpp
logger_config_file.cpp

C:\Users\HP\AppData\Local\Temp\pip-install-uqfplxdz\dlib_4d5c2e0ec61f4c228f2dc7828c073e11\dlib\gui_widgets\fonts.cpp(1,1): error C1356: unable to find mspdbcore.dll [C:\Users\HP\AppData\Local\Temp\pip-install-uqfplxdz\dlib_4d5c2e0ec61f4c228f2dc7828c073e11\build\temp.win-amd64-3.6\Release\dlib_build\dlib.vcxproj] (compiling source file '../../../../dlib/gui_widgets/fonts.cpp')

C:\Users\HP\AppData\Local\Temp\pip-install-uqfplxdz\dlib_4d5c2e0ec61f4c228f2dc7828c073e11\dlib\linker\linker_kernel_1.cpp(1,1): error C1356: unable to find mspdbcore.dll [C:\Users\HP\AppData\Local\Temp\pip-install-uqfplxdz\dlib_4d5c2e0ec61f4c228f2dc7828c073e11\build\temp.win-amd64-3.6\Release\dlib_build\dlib.vcxproj] (compiling source file '../../../../dlib/linker/linker_kernel_1.cpp')

C:\Users\HP\AppData\Local\Temp\pip-install-uqfplxdz\dlib_4d5c2e0ec61f4c228f2dc7828c073e11\dlib\logger\extra_logger_headers.cpp(1,1): error C1356: unable to find mspdbcore.dll [C:\Users\HP\AppData\Local\Temp\pip-install-uqfplxdz\dlib_4d5c2e0ec61f4c228f2dc7828c073e11\build\temp.win-amd64-3.6\Release\dlib_build\dlib.vcxproj] (compiling source file '../../../../dlib/logger/extra_logger_headers.cpp')

C:\Users\HP\AppData\Local\Temp\pip-install-uqfplxdz\dlib_4d5c2e0ec61f4c228f2dc7828c073e11\dlib\logger\logger_kernel_1.cpp(1,1): error C1356: unable to find mspdbcore.dll [C:\Users\HP\AppData\Local\Temp\pip-install-uqfplxdz\dlib_4d5c2e0ec61f4c228f2dc7828c073e11\build\temp.win-amd64-3.6\Release\dlib_build\dlib.vcxproj] (compiling source file '../../../../dlib/logger/logger_kernel_1.cpp')

misc_api_kernel_1.cpp
misc_api_kernel_2.cpp

C:\Users\HP\AppData\Local\Temp\pip-install-uqfplxdz\dlib_4d5c2e0ec61f4c228f2dc7828c073e11\dlib\logger\logger_config_file.cpp(1,1): error C1356: unable to find mspdbcore.dll [C:\Users\HP\AppData\Local\Temp\pip-install-uqfplxdz\dlib_4d5c2e0ec61f4c228f2dc7828c073e11\build\temp.win-amd64-3.6\Release\dlib_build\dlib.vcxproj] (compiling source file '../../../../dlib/logger/logger_config_file.cpp')

sockets_extensions.cpp
sockets_kernel_2.cpp
sockstreambuf.cpp

C:\Users\HP\AppData\Local\Temp\pip-install-uqfplxdz\dlib_4d5c2e0ec61f4c228f2dc7828c073e11\dlib\misc_api\misc_api_kernel_1.cpp(1,1): error C1356: unable to find mspdbcore.dll [C:\Users\HP\AppData\Local\Temp\pip-install-uqfplxdz\dlib_4d5c2e0ec61f4c228f2dc7828c073e11\build\temp.win-amd64-3.6\Release\dlib_build\dlib.vcxproj] (compiling source file '../../../../dlib/misc_api/misc_api_kernel_1.cpp')

C:\Users\HP\AppData\Local\Temp\pip-install-uqfplxdz\dlib_4d5c2e0ec61f4c228f2dc7828c073e11\dlib\misc_api\misc_api_kernel_2.cpp(1,1): error C1356: unable to find mspdbcore.dll [C:\Users\HP\AppData\Local\Temp\pip-install-uqfplxdz\dlib_4d5c2e0ec61f4c228f2dc7828c073e11\build\temp.win-amd64-3.6\Release\dlib_build\dlib.vcxproj] (compiling source file '../../../../dlib/misc_api/misc_api_kernel_2.cpp')

C:\Users\HP\AppData\Local\Temp\pip-install-uqfplxdz\dlib_4d5c2e0ec61f4c228f2dc7828c073e11\dlib\sockets\sockets_extensions.cpp(1,1): error C1356: unable to find mspdbcore.dll [C:\Users\HP\AppData\Local\Temp\pip-install-uqfplxdz\dlib_4d5c2e0ec61f4c228f2dc7828c073e11\build\temp.win-amd64-3.6\Release\dlib_build\dlib.vcxproj] (compiling source file '../../../../dlib/sockets/sockets_extensions.cpp')

C:\Users\HP\AppData\Local\Temp\pip-install-uqfplxdz\dlib_4d5c2e0ec61f4c228f2dc7828c073e11\dlib\sockets\sockets_kernel_2.cpp(1,1): error C1356: unable to find mspdbcore.dll [C:\Users\HP\AppData\Local\Temp\pip-install-uqfplxdz\dlib_4d5c2e0ec61f4c228f2dc7828c073e11\build\temp.win-amd64-3.6\Release\dlib_build\dlib.vcxproj] (compiling source file '../../../../dlib/sockets/sockets_kernel_2.cpp')

C:\Users\HP\AppData\Local\Temp\pip-install-uqfplxdz\dlib_4d5c2e0ec61f4c228f2dc7828c073e11\dlib\sockstreambuf\sockstreambuf.cpp(1,1): error C1356: unable to find mspdbcore.dll [C:\Users\HP\AppData\Local\Temp\pip-install-uqfplxdz\dlib_4d5c2e0ec61f4c228f2dc7828c073e11\build\temp.win-amd64-3.6\Release\dlib_build\dlib.vcxproj] (compiling source file '../../../../dlib/sockstreambuf/sockstreambuf.cpp')

sockstreambuf_unbuffered.cpp
server_kernel.cpp
server_iostream.cpp
server_http.cpp
multithreaded_object_extension.cpp

C:\Users\HP\AppData\Local\Temp\pip-install-uqfplxdz\dlib_4d5c2e0ec61f4c228f2dc7828c073e11\dlib\server\server_kernel.cpp(1,1): error C1356: unable to find mspdbcore.dll [C:\Users\HP\AppData\Local\Temp\pip-install-uqfplxdz\dlib_4d5c2e0ec61f4c228f2dc7828c073e11\build\temp.win-amd64-3.6\Release\dlib_build\dlib.vcxproj] (compiling source file '../../../../dlib/server/server_kernel.cpp')

C:\Users\HP\AppData\Local\Temp\pip-install-uqfplxdz\dlib_4d5c2e0ec61f4c228f2dc7828c073e11\dlib\sockstreambuf\sockstreambuf_unbuffered.cpp(1,1): error C1356: unable to find mspdbcore.dll [C:\Users\HP\AppData\Local\Temp\pip-install-uqfplxdz\dlib_4d5c2e0ec61f4c228f2dc7828c073e11\build\temp.win-amd64-3.6\Release\dlib_build\dlib.vcxproj] (compiling source file '../../../../dlib/sockstreambuf/sockstreambuf_unbuffered.cpp')

C:\Users\HP\AppData\Local\Temp\pip-install-uqfplxdz\dlib_4d5c2e0ec61f4c228f2dc7828c073e11\dlib\server\server_iostream.cpp(1,1): error C1356: unable to find mspdbcore.dll [C:\Users\HP\AppData\Local\Temp\pip-install-uqfplxdz\dlib_4d5c2e0ec61f4c228f2dc7828c073e11\build\temp.win-amd64-3.6\Release\dlib_build\dlib.vcxproj] (compiling source file '../../../../dlib/server/server_iostream.cpp')

C:\Users\HP\AppData\Local\Temp\pip-install-uqfplxdz\dlib_4d5c2e0ec61f4c228f2dc7828c073e11\dlib\server\server_http.cpp(1,1): error C1356: unable to find mspdbcore.dll [C:\Users\HP\AppData\Local\Temp\pip-install-uqfplxdz\dlib_4d5c2e0ec61f4c228f2dc7828c073e11\build\temp.win-amd64-3.6\Release\dlib_build\dlib.vcxproj] (compiling source file '../../../../dlib/server/server_http.cpp')

threaded_object_extension.cpp
threads_kernel_1.cpp
threads_kernel_2.cpp
threads_kernel_shared.cpp

C:\Users\HP\AppData\Local\Temp\pip-install-uqfplxdz\dlib_4d5c2e0ec61f4c228f2dc7828c073e11\dlib\threads\multithreaded_object_extension.cpp(1,1): error C1356: unable to find mspdbcore.dll [C:\Users\HP\AppData\Local\Temp\pip-install-uqfplxdz\dlib_4d5c2e0ec61f4c228f2dc7828c073e11\build\temp.win-amd64-3.6\Release\dlib_build\dlib.vcxproj] (compiling source file '../../../../dlib/threads/multithreaded_object_extension.cpp')

thread_pool_extension.cpp

C:\Users\HP\AppData\Local\Temp\pip-install-uqfplxdz\dlib_4d5c2e0ec61f4c228f2dc7828c073e11\dlib\threads\threads_kernel_1.cpp(1,1): error C1356: unable to find mspdbcore.dll [C:\Users\HP\AppData\Local\Temp\pip-install-uqfplxdz\dlib_4d5c2e0ec61f4c228f2dc7828c073e11\build\temp.win-amd64-3.6\Release\dlib_build\dlib.vcxproj] (compiling source file '../../../../dlib/threads/threads_kernel_1.cpp')

C:\Users\HP\AppData\Local\Temp\pip-install-uqfplxdz\dlib_4d5c2e0ec61f4c228f2dc7828c073e11\dlib\threads\threads_kernel_2.cpp(1,1): error C1356: unable to find mspdbcore.dll [C:\Users\HP\AppData\Local\Temp\pip-install-uqfplxdz\dlib_4d5c2e0ec61f4c228f2dc7828c073e11\build\temp.win-amd64-3.6\Release\dlib_build\dlib.vcxproj] (compiling source file '../../../../dlib/threads/threads_kernel_2.cpp')

C:\Users\HP\AppData\Local\Temp\pip-install-uqfplxdz\dlib_4d5c2e0ec61f4c228f2dc7828c073e11\dlib\threads\threads_kernel_shared.cpp(1,1): error C1356: unable to find mspdbcore.dll [C:\Users\HP\AppData\Local\Temp\pip-install-uqfplxdz\dlib_4d5c2e0ec61f4c228f2dc7828c073e11\build\temp.win-amd64-3.6\Release\dlib_build\dlib.vcxproj] (compiling source file '../../../../dlib/threads/threads_kernel_shared.cpp')

C:\Users\HP\AppData\Local\Temp\pip-install-uqfplxdz\dlib_4d5c2e0ec61f4c228f2dc7828c073e11\dlib\threads\threaded_object_extension.cpp(1,1): error C1356: unable to find mspdbcore.dll [C:\Users\HP\AppData\Local\Temp\pip-install-uqfplxdz\dlib_4d5c2e0ec61f4c228f2dc7828c073e11\build\temp.win-amd64-3.6\Release\dlib_build\dlib.vcxproj] (compiling source file '../../../../dlib/threads/threaded_object_extension.cpp')

async.cpp
timer.cpp
stack_trace.cpp

C:\Users\HP\AppData\Local\Temp\pip-install-uqfplxdz\dlib_4d5c2e0ec61f4c228f2dc7828c073e11\dlib\threads\thread_pool_extension.cpp(1,1): error C1356: unable to find mspdbcore.dll [C:\Users\HP\AppData\Local\Temp\pip-install-uqfplxdz\dlib_4d5c2e0ec61f4c228f2dc7828c073e11\build\temp.win-amd64-3.6\Release\dlib_build\dlib.vcxproj] (compiling source file '../../../../dlib/threads/thread_pool_extension.cpp')

cpu_dlib.cpp
tensor_tools.cpp

C:\Users\HP\AppData\Local\Temp\pip-install-uqfplxdz\dlib_4d5c2e0ec61f4c228f2dc7828c073e11\dlib\cuda\cpu_dlib.cpp(1,1): error C1356: unable to find mspdbcore.dll [C:\Users\HP\AppData\Local\Temp\pip-install-uqfplxdz\dlib_4d5c2e0ec61f4c228f2dc7828c073e11\build\temp.win-amd64-3.6\Release\dlib_build\dlib.vcxproj] (compiling source file '../../../../dlib/cuda/cpu_dlib.cpp')

C:\Users\HP\AppData\Local\Temp\pip-install-uqfplxdz\dlib_4d5c2e0ec61f4c228f2dc7828c073e11\dlib\timer\timer.cpp(1,1): error C1356: unable to find mspdbcore.dll [C:\Users\HP\AppData\Local\Temp\pip-install-uqfplxdz\dlib_4d5c2e0ec61f4c228f2dc7828c073e11\build\temp.win-amd64-3.6\Release\dlib_build\dlib.vcxproj] (compiling source file '../../../../dlib/timer/timer.cpp')

image_dataset_metadata.cpp
mnist.cpp

C:\Users\HP\AppData\Local\Temp\pip-install-uqfplxdz\dlib_4d5c2e0ec61f4c228f2dc7828c073e11\dlib\threads\async.cpp(1,1): error C1356: unable to find mspdbcore.dll [C:\Users\HP\AppData\Local\Temp\pip-install-uqfplxdz\dlib_4d5c2e0ec61f4c228f2dc7828c073e11\build\temp.win-amd64-3.6\Release\dlib_build\dlib.vcxproj] (compiling source file '../../../../dlib/threads/async.cpp')

C:\Users\HP\AppData\Local\Temp\pip-install-uqfplxdz\dlib_4d5c2e0ec61f4c228f2dc7828c073e11\dlib\stack_trace.cpp(1,1): error C1356: unable to find mspdbcore.dll [C:\Users\HP\AppData\Local\Temp\pip-install-uqfplxdz\dlib_4d5c2e0ec61f4c228f2dc7828c073e11\build\temp.win-amd64-3.6\Release\dlib_build\dlib.vcxproj] (compiling source file '../../../../dlib/stack_trace.cpp')

C:\Users\HP\AppData\Local\Temp\pip-install-uqfplxdz\dlib_4d5c2e0ec61f4c228f2dc7828c073e11\dlib\cuda\tensor_tools.cpp(1,1): error C1356: unable to find mspdbcore.dll [C:\Users\HP\AppData\Local\Temp\pip-install-uqfplxdz\dlib_4d5c2e0ec61f4c228f2dc7828c073e11\build\temp.win-amd64-3.6\Release\dlib_build\dlib.vcxproj] (compiling source file '../../../../dlib/cuda/tensor_tools.cpp')

cifar.cpp
global_function_search.cpp
kalman_filter.cpp

C:\Users\HP\AppData\Local\Temp\pip-install-uqfplxdz\dlib_4d5c2e0ec61f4c228f2dc7828c073e11\dlib\data_io\mnist.cpp(1,1): error C1356: unable to find mspdbcore.dll [C:\Users\HP\AppData\Local\Temp\pip-install-uqfplxdz\dlib_4d5c2e0ec61f4c228f2dc7828c073e11\build\temp.win-amd64-3.6\Release\dlib_build\dlib.vcxproj] (compiling source file '../../../../dlib/data_io/mnist.cpp')

C:\Users\HP\AppData\Local\Temp\pip-install-uqfplxdz\dlib_4d5c2e0ec61f4c228f2dc7828c073e11\dlib\data_io\image_dataset_metadata.cpp(1,1): error C1356: unable to find mspdbcore.dll [C:\Users\HP\AppData\Local\Temp\pip-install-uqfplxdz\dlib_4d5c2e0ec61f4c228f2dc7828c073e11\build\temp.win-amd64-3.6\Release\dlib_build\dlib.vcxproj] (compiling source file '../../../../dlib/data_io/image_dataset_metadata.cpp')

auto.cpp
widgets.cpp

C:\Users\HP\AppData\Local\Temp\pip-install-uqfplxdz\dlib_4d5c2e0ec61f4c228f2dc7828c073e11\dlib\global_optimization\global_function_search.cpp(1,1): error C1356: unable to find mspdbcore.dll [C:\Users\HP\AppData\Local\Temp\pip-install-uqfplxdz\dlib_4d5c2e0ec61f4c228f2dc7828c073e11\build\temp.win-amd64-3.6\Release\dlib_build\dlib.vcxproj] (compiling source file '../../../../dlib/global_optimization/global_function_search.cpp')

drawable.cpp

C:\Users\HP\AppData\Local\Temp\pip-install-uqfplxdz\dlib_4d5c2e0ec61f4c228f2dc7828c073e11\dlib\data_io\cifar.cpp(1,1): error C1356: unable to find mspdbcore.dll [C:\Users\HP\AppData\Local\Temp\pip-install-uqfplxdz\dlib_4d5c2e0ec61f4c228f2dc7828c073e11\build\temp.win-amd64-3.6\Release\dlib_build\dlib.vcxproj] (compiling source file '../../../../dlib/data_io/cifar.cpp')

C:\Users\HP\AppData\Local\Temp\pip-install-uqfplxdz\dlib_4d5c2e0ec61f4c228f2dc7828c073e11\dlib\filtering\kalman_filter.cpp(1,1): error C1356: unable to find mspdbcore.dll [C:\Users\HP\AppData\Local\Temp\pip-install-uqfplxdz\dlib_4d5c2e0ec61f4c228f2dc7828c073e11\build\temp.win-amd64-3.6\Release\dlib_build\dlib.vcxproj] (compiling source file '../../../../dlib/filtering/kalman_filter.cpp')

C:\Users\HP\AppData\Local\Temp\pip-install-uqfplxdz\dlib_4d5c2e0ec61f4c228f2dc7828c073e11\dlib\gui_widgets\widgets.cpp(1,1): error C1356: unable to find mspdbcore.dll [C:\Users\HP\AppData\Local\Temp\pip-install-uqfplxdz\dlib_4d5c2e0ec61f4c228f2dc7828c073e11\build\temp.win-amd64-3.6\Release\dlib_build\dlib.vcxproj] (compiling source file '../../../../dlib/gui_widgets/widgets.cpp')

C:\Users\HP\AppData\Local\Temp\pip-install-uqfplxdz\dlib_4d5c2e0ec61f4c228f2dc7828c073e11\dlib\svm\auto.cpp(1,1): error C1356: unable to find mspdbcore.dll [C:\Users\HP\AppData\Local\Temp\pip-install-uqfplxdz\dlib_4d5c2e0ec61f4c228f2dc7828c073e11\build\temp.win-amd64-3.6\Release\dlib_build\dlib.vcxproj] (compiling source file '../../../../dlib/svm/auto.cpp')

canvas_drawing.cpp
style.cpp
base_widgets.cpp

C:\Users\HP\AppData\Local\Temp\pip-install-uqfplxdz\dlib_4d5c2e0ec61f4c228f2dc7828c073e11\dlib\gui_widgets\drawable.cpp(1,1): error C1356: unable to find mspdbcore.dll [C:\Users\HP\AppData\Local\Temp\pip-install-uqfplxdz\dlib_4d5c2e0ec61f4c228f2dc7828c073e11\build\temp.win-amd64-3.6\Release\dlib_build\dlib.vcxproj] (compiling source file '../../../../dlib/gui_widgets/drawable.cpp')

gui_core_kernel_1.cpp
gui_core_kernel_2.cpp

C:\Users\HP\AppData\Local\Temp\pip-install-uqfplxdz\dlib_4d5c2e0ec61f4c228f2dc7828c073e11\dlib\gui_widgets\canvas_drawing.cpp(1,1): error C1356: unable to find mspdbcore.dll [C:\Users\HP\AppData\Local\Temp\pip-install-uqfplxdz\dlib_4d5c2e0ec61f4c228f2dc7828c073e11\build\temp.win-amd64-3.6\Release\dlib_build\dlib.vcxproj] (compiling source file '../../../../dlib/gui_widgets/canvas_drawing.cpp')

C:\Users\HP\AppData\Local\Temp\pip-install-uqfplxdz\dlib_4d5c2e0ec61f4c228f2dc7828c073e11\dlib\gui_widgets\base_widgets.cpp(1,1): error C1356: unable to find mspdbcore.dll [C:\Users\HP\AppData\Local\Temp\pip-install-uqfplxdz\dlib_4d5c2e0ec61f4c228f2dc7828c073e11\build\temp.win-amd64-3.6\Release\dlib_build\dlib.vcxproj] (compiling source file '../../../../dlib/gui_widgets/base_widgets.cpp')

png_loader.cpp
save_png.cpp

C:\Users\HP\AppData\Local\Temp\pip-install-uqfplxdz\dlib_4d5c2e0ec61f4c228f2dc7828c073e11\dlib\gui_core\gui_core_kernel_1.cpp(1,1): error C1356: unable to find mspdbcore.dll [C:\Users\HP\AppData\Local\Temp\pip-install-uqfplxdz\dlib_4d5c2e0ec61f4c228f2dc7828c073e11\build\temp.win-amd64-3.6\Release\dlib_build\dlib.vcxproj] (compiling source file '../../../../dlib/gui_core/gui_core_kernel_1.cpp')

C:\Users\HP\AppData\Local\Temp\pip-install-uqfplxdz\dlib_4d5c2e0ec61f4c228f2dc7828c073e11\dlib\gui_core\gui_core_kernel_2.cpp(1,1): error C1356: unable to find mspdbcore.dll [C:\Users\HP\AppData\Local\Temp\pip-install-uqfplxdz\dlib_4d5c2e0ec61f4c228f2dc7828c073e11\build\temp.win-amd64-3.6\Release\dlib_build\dlib.vcxproj] (compiling source file '../../../../dlib/gui_core/gui_core_kernel_2.cpp')

jpeg_loader.cpp
save_jpeg.cpp

C:\Users\HP\AppData\Local\Temp\pip-install-uqfplxdz\dlib_4d5c2e0ec61f4c228f2dc7828c073e11\dlib\gui_widgets\style.cpp(1,1): error C1356: unable to find mspdbcore.dll [C:\Users\HP\AppData\Local\Temp\pip-install-uqfplxdz\dlib_4d5c2e0ec61f4c228f2dc7828c073e11\build\temp.win-amd64-3.6\Release\dlib_build\dlib.vcxproj] (compiling source file '../../../../dlib/gui_widgets/style.cpp')

C:\Users\HP\AppData\Local\Temp\pip-install-uqfplxdz\dlib_4d5c2e0ec61f4c228f2dc7828c073e11\dlib\image_saver\save_png.cpp(1,1): error C1356: unable to find mspdbcore.dll [C:\Users\HP\AppData\Local\Temp\pip-install-uqfplxdz\dlib_4d5c2e0ec61f4c228f2dc7828c073e11\build\temp.win-amd64-3.6\Release\dlib_build\dlib.vcxproj] (compiling source file '../../../../dlib/image_saver/save_png.cpp')

C:\Users\HP\AppData\Local\Temp\pip-install-uqfplxdz\dlib_4d5c2e0ec61f4c228f2dc7828c073e11\dlib\image_loader\png_loader.cpp(1,1): error C1356: unable to find mspdbcore.dll [C:\Users\HP\AppData\Local\Temp\pip-install-uqfplxdz\dlib_4d5c2e0ec61f4c228f2dc7828c073e11\build\temp.win-amd64-3.6\Release\dlib_build\dlib.vcxproj] (compiling source file '../../../../dlib/image_loader/png_loader.cpp')

C:\Users\HP\AppData\Local\Temp\pip-install-uqfplxdz\dlib_4d5c2e0ec61f4c228f2dc7828c073e11\dlib\image_saver\save_jpeg.cpp(1,1): error C1356: unable to find mspdbcore.dll [C:\Users\HP\AppData\Local\Temp\pip-install-uqfplxdz\dlib_4d5c2e0ec61f4c228f2dc7828c073e11\build\temp.win-amd64-3.6\Release\dlib_build\dlib.vcxproj] (compiling source file '../../../../dlib/image_saver/save_jpeg.cpp')

C:\Users\HP\AppData\Local\Temp\pip-install-uqfplxdz\dlib_4d5c2e0ec61f4c228f2dc7828c073e11\dlib\image_loader\jpeg_loader.cpp(1,1): error C1356: unable to find mspdbcore.dll [C:\Users\HP\AppData\Local\Temp\pip-install-uqfplxdz\dlib_4d5c2e0ec61f4c228f2dc7828c073e11\build\temp.win-amd64-3.6\Release\dlib_build\dlib.vcxproj] (compiling source file '../../../../dlib/image_loader/jpeg_loader.cpp')

Traceback (most recent call last): File "", line 1, in File "C:\Users\HP\AppData\Local\Temp\pip-install-uqfplxdz\dlib_4d5c2e0ec61f4c228f2dc7828c073e11\setup.py", line 261, in 'Topic :: Software Development', File "C:\Users\HP\PycharmProjects\FaceRecognitionRealTime\venv\lib\site-packages\setuptools__init__.py", line 153, in setup return distutils.core.setup(**attrs) File "C:\Users\HP\AppData\Local\Programs\Python\Python36\lib\distutils\core.py", line 148, in setup dist.run_commands() File "C:\Users\HP\AppData\Local\Programs\Python\Python36\lib\distutils\dist.py", line 955, in run_commands self.run_command(cmd) File "C:\Users\HP\AppData\Local\Programs\Python\Python36\lib\distutils\dist.py", line 974, in run_command cmd_obj.run() File "C:\Users\HP\PycharmProjects\FaceRecognitionRealTime\venv\lib\site-packages\wheel\bdist_wheel.py", line 299, in run self.run_command('build') File "C:\Users\HP\AppData\Local\Programs\Python\Python36\lib\distutils\cmd.py", line 313, in run_command self.distribution.run_command(command) File "C:\Users\HP\AppData\Local\Programs\Python\Python36\lib\distutils\dist.py", line 974, in run_command cmd_obj.run() File "C:\Users\HP\AppData\Local\Programs\Python\Python36\lib\distutils\command\build.py", line 135, in run self.run_command(cmd_name) File "C:\Users\HP\AppData\Local\Programs\Python\Python36\lib\distutils\cmd.py", line 313, in run_command self.distribution.run_command(command) File "C:\Users\HP\AppData\Local\Programs\Python\Python36\lib\distutils\dist.py", line 974, in run_command cmd_obj.run() File "C:\Users\HP\AppData\Local\Temp\pip-install-uqfplxdz\dlib_4d5c2e0ec61f4c228f2dc7828c073e11\setup.py", line 134, in run self.build_extension(ext) File "C:\Users\HP\AppData\Local\Temp\pip-install-uqfplxdz\dlib_4d5c2e0ec61f4c228f2dc7828c073e11\setup.py", line 174, in build_extension subprocess.check_call(cmake_build, cwd=build_folder) File "C:\Users\HP\AppData\Local\Programs\Python\Python36\lib\subprocess.py", line 291, in check_call raise CalledProcessError(retcode, cmd) subprocess.CalledProcessError: Command '['cmake', '--build', '.', '--config', 'Release', '--', '/m']' returned non-zero exit status 1.

ERROR: Failed building wheel for dlib ERROR: Command errored out with exit status 1: command: 'C:\Users\HP\PycharmProjects\FaceRecognitionRealTime\venv\Scripts\python.exe' -u -c 'import io, os, sys, setuptools, tokenize; sys.argv[0] = '"'"'C:\Users\HP\AppData\Local\Temp\pip-install-uqfplxdz\dlib_4d5c2e0ec61f4c228f2dc7828c073e11\setup.py'"'"'; file='"'"'C:\Users\HP\AppData\Local\Temp\pip-install-uqfplxdz\dlib_4d5c2e0ec61f4c228f2dc7828c073e11\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'"'"'))' install --record 'C:\Users\HP\AppData\Local\Temp\pip-record-v2rvyw6q\install-record.txt' --single-version-externally-managed --compile --install-headers 'C:\Users\HP\PycharmProjects\FaceRecognitionRealTime\venv\include\site\python3.6\dlib' cwd: C:\Users\HP\AppData\Local\Temp\pip-install-uqfplxdz\dlib_4d5c2e0ec61f4c228f2dc7828c073e11\ Complete output (513 lines): running install C:\Users\HP\PycharmProjects\FaceRecognitionRealTime\venv\lib\site-packages\setuptools\command\install.py:37: SetuptoolsDeprecationWarning: setup.py install is deprecated. Use build and pip and other standards-based tools. setuptools.SetuptoolsDeprecationWarning, running build running build_py package init file 'tools\python\dlib__init__.py' not found (or not a regular file) running build_ext Building extension for Python 3.6.0 (v3.6.0:41df79263a11, Dec 23 2016, 08:06:12) [MSC v.1900 64 bit (AMD64)] Invoking CMake setup: 'cmake C:\Users\HP\AppData\Local\Temp\pip-install-uqfplxdz\dlib_4d5c2e0ec61f4c228f2dc7828c073e11\tools\python -DCMAKE_LIBRARY_OUTPUT_DIRECTORY=C:\Users\HP\AppData\Local\Temp\pip-install-uqfplxdz\dlib_4d5c2e0ec61f4c228f2dc7828c073e11\build\lib.win-amd64-3.6 -DPYTHON_EXECUTABLE=C:\Users\HP\PycharmProjects\FaceRecognitionRealTime\venv\Scripts\python.exe -DCMAKE_LIBRARY_OUTPUT_DIRECTORY_RELEASE=C:\Users\HP\AppData\Local\Temp\pip-install-uqfplxdz\dlib_4d5c2e0ec61f4c228f2dc7828c073e11\build\lib.win-amd64-3.6 -A x64' -- Building for: Visual Studio 17 2022 CMake Deprecation Warning at CMakeLists.txt:2 (CMAKE_MINIMUM_REQUIRED): Compatibility with CMake < 3.5 will be removed from a future version of CMake.

  Update the VERSION argument <min> value or use a ...<max> suffix to tell
  CMake that the project does not need compatibility with older versions.

-- Selecting Windows SDK version 10.0.22621.0 to target Windows 10.0.22631.
-- The C compiler identification is MSVC 19.39.33519.0
-- The CXX compiler identification is MSVC 19.39.33519.0
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working C compiler: C:/Program Files/Microsoft Visual Studio/2022/Community/VC/Tools/MSVC/14.39.33519/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/Microsoft Visual Studio/2022/Community/VC/Tools/MSVC/14.39.33519/bin/Hostx64/x64/cl.exe - skipped
-- Detecting CXX compile features
-- Detecting CXX compile features - done
CMake Deprecation Warning at C:/Users/HP/AppData/Local/Temp/pip-install-uqfplxdz/dlib_4d5c2e0ec61f4c228f2dc7828c073e11/dlib/cmake_utils/tell_visual_studio_to_use_static_runtime.cmake:5 (cmake_minimum_required):
  Compatibility with CMake < 3.5 will be removed from a future version of
  CMake.

  Update the VERSION argument <min> value or use a ...<max> suffix to tell
  CMake that the project does not need compatibility with older versions.
Call Stack (most recent call first):
  CMakeLists.txt:35 (include)

CMake Deprecation Warning at C:/Users/HP/AppData/Local/Temp/pip-install-uqfplxdz/dlib_4d5c2e0ec61f4c228f2dc7828c073e11/dlib/external/pybind11/CMakeLists.txt:8 (cmake_minimum_required):
  Compatibility with CMake < 3.5 will be removed from a future version of
  CMake.

  Update the VERSION argument <min> value or use a ...<max> suffix to tell
  CMake that the project does not need compatibility with older versions.

CMake Deprecation Warning at C:/Users/HP/AppData/Local/Temp/pip-install-uqfplxdz/dlib_4d5c2e0ec61f4c228f2dc7828c073e11/dlib/external/pybind11/tools/pybind11Tools.cmake:8 (cmake_minimum_required):
  Compatibility with CMake < 3.5 will be removed from a future version of
  CMake.

  Update the VERSION argument <min> value or use a ...<max> suffix to tell
  CMake that the project does not need compatibility with older versions.
Call Stack (most recent call first):
  C:/Users/HP/AppData/Local/Temp/pip-install-uqfplxdz/dlib_4d5c2e0ec61f4c228f2dc7828c073e11/dlib/external/pybind11/CMakeLists.txt:33 (include)

CMake Warning (dev) at C:/Users/HP/AppData/Local/Temp/pip-install-uqfplxdz/dlib_4d5c2e0ec61f4c228f2dc7828c073e11/dlib/external/pybind11/tools/FindPythonLibsNew.cmake:60 (find_package):
  Policy CMP0148 is not set: The FindPythonInterp and FindPythonLibs modules
  are removed.  Run "cmake --help-policy CMP0148" for policy details.  Use
  the cmake_policy command to set the policy and suppress this warning.

Call Stack (most recent call first):
  C:/Users/HP/AppData/Local/Temp/pip-install-uqfplxdz/dlib_4d5c2e0ec61f4c228f2dc7828c073e11/dlib/external/pybind11/tools/pybind11Tools.cmake:16 (find_package)
  C:/Users/HP/AppData/Local/Temp/pip-install-uqfplxdz/dlib_4d5c2e0ec61f4c228f2dc7828c073e11/dlib/external/pybind11/CMakeLists.txt:33 (include)
This warning is for project developers.  Use -Wno-dev to suppress it.

-- Found PythonInterp: C:/Users/HP/PycharmProjects/FaceRecognitionRealTime/venv/Scripts/python.exe (found version "3.6")
-- Found PythonLibs: C:/Users/HP/AppData/Local/Programs/Python/Python36/libs/Python36.lib
-- pybind11 v2.2.4
CMake Deprecation Warning at C:/Users/HP/AppData/Local/Temp/pip-install-uqfplxdz/dlib_4d5c2e0ec61f4c228f2dc7828c073e11/dlib/CMakeLists.txt:7 (cmake_minimum_required):
  Compatibility with CMake < 3.5 will be removed from a future version of
  CMake.

  Update the VERSION argument <min> value or use a ...<max> suffix to tell
  CMake that the project does not need compatibility with older versions.

-- Using CMake version: 3.28.3
-- Compiling dlib version: 19.24.0
CMake Deprecation Warning at C:/Users/HP/AppData/Local/Temp/pip-install-uqfplxdz/dlib_4d5c2e0ec61f4c228f2dc7828c073e11/dlib/cmake_utils/set_compiler_specific_options.cmake:2 (cmake_minimum_required):
  Compatibility with CMake < 3.5 will be removed from a future version of
  CMake.

  Update the VERSION argument <min> value or use a ...<max> suffix to tell
  CMake that the project does not need compatibility with older versions.
Call Stack (most recent call first):
  C:/Users/HP/AppData/Local/Temp/pip-install-uqfplxdz/dlib_4d5c2e0ec61f4c228f2dc7828c073e11/dlib/CMakeLists.txt:33 (include)

CMake Deprecation Warning at C:/Users/HP/AppData/Local/Temp/pip-install-uqfplxdz/dlib_4d5c2e0ec61f4c228f2dc7828c073e11/dlib/cmake_utils/check_if_sse4_instructions_executable_on_host.cmake:3 (cmake_minimum_required):
  Compatibility with CMake < 3.5 will be removed from a future version of
  CMake.

  Update the VERSION argument <min> value or use a ...<max> suffix to tell
  CMake that the project does not need compatibility with older versions.
Call Stack (most recent call first):
  C:/Users/HP/AppData/Local/Temp/pip-install-uqfplxdz/dlib_4d5c2e0ec61f4c228f2dc7828c073e11/dlib/cmake_utils/set_compiler_specific_options.cmake:13 (include)
  C:/Users/HP/AppData/Local/Temp/pip-install-uqfplxdz/dlib_4d5c2e0ec61f4c228f2dc7828c073e11/dlib/CMakeLists.txt:33 (include)

CMake Deprecation Warning at C:/Users/HP/AppData/Local/Temp/pip-install-uqfplxdz/dlib_4d5c2e0ec61f4c228f2dc7828c073e11/dlib/cmake_utils/test_for_sse4/CMakeLists.txt:2 (cmake_minimum_required):
  Compatibility with CMake < 3.5 will be removed from a future version of
  CMake.

  Update the VERSION argument <min> value or use a ...<max> suffix to tell
  CMake that the project does not need compatibility with older versions.

CMake Deprecation Warning at C:/Users/HP/AppData/Local/Temp/pip-install-uqfplxdz/dlib_4d5c2e0ec61f4c228f2dc7828c073e11/dlib/cmake_utils/set_compiler_specific_options.cmake:2 (cmake_minimum_required):
  Compatibility with CMake < 3.5 will be removed from a future version of
  CMake.

  Update the VERSION argument <min> value or use a ...<max> suffix to tell
  CMake that the project does not need compatibility with older versions.
Call Stack (most recent call first):
  C:/Users/HP/AppData/Local/Temp/pip-install-uqfplxdz/dlib_4d5c2e0ec61f4c228f2dc7828c073e11/dlib/cmake_utils/test_for_sse4/CMakeLists.txt:8 (include)

CMake Deprecation Warning at C:/Users/HP/AppData/Local/Temp/pip-install-uqfplxdz/dlib_4d5c2e0ec61f4c228f2dc7828c073e11/dlib/cmake_utils/check_if_avx_instructions_executable_on_host.cmake:3 (cmake_minimum_required):
  Compatibility with CMake < 3.5 will be removed from a future version of
  CMake.

  Update the VERSION argument <min> value or use a ...<max> suffix to tell
  CMake that the project does not need compatibility with older versions.
Call Stack (most recent call first):
  C:/Users/HP/AppData/Local/Temp/pip-install-uqfplxdz/dlib_4d5c2e0ec61f4c228f2dc7828c073e11/dlib/cmake_utils/set_compiler_specific_options.cmake:17 (include)
  C:/Users/HP/AppData/Local/Temp/pip-install-uqfplxdz/dlib_4d5c2e0ec61f4c228f2dc7828c073e11/dlib/CMakeLists.txt:33 (include)

CMake Deprecation Warning at C:/Users/HP/AppData/Local/Temp/pip-install-uqfplxdz/dlib_4d5c2e0ec61f4c228f2dc7828c073e11/dlib/cmake_utils/test_for_avx/CMakeLists.txt:2 (cmake_minimum_required):
  Compatibility with CMake < 3.5 will be removed from a future version of
  CMake.

  Update the VERSION argument <min> value or use a ...<max> suffix to tell
  CMake that the project does not need compatibility with older versions.

CMake Deprecation Warning at C:/Users/HP/AppData/Local/Temp/pip-install-uqfplxdz/dlib_4d5c2e0ec61f4c228f2dc7828c073e11/dlib/cmake_utils/set_compiler_specific_options.cmake:2 (cmake_minimum_required):
  Compatibility with CMake < 3.5 will be removed from a future version of
  CMake.

  Update the VERSION argument <min> value or use a ...<max> suffix to tell
  CMake that the project does not need compatibility with older versions.
Call Stack (most recent call first):
  C:/Users/HP/AppData/Local/Temp/pip-install-uqfplxdz/dlib_4d5c2e0ec61f4c228f2dc7828c073e11/dlib/cmake_utils/test_for_avx/CMakeLists.txt:8 (include)

CMake Deprecation Warning at C:/Users/HP/AppData/Local/Temp/pip-install-uqfplxdz/dlib_4d5c2e0ec61f4c228f2dc7828c073e11/dlib/cmake_utils/check_if_neon_available.cmake:3 (cmake_minimum_required):
  Compatibility with CMake < 3.5 will be removed from a future version of
  CMake.

  Update the VERSION argument <min> value or use a ...<max> suffix to tell
  CMake that the project does not need compatibility with older versions.
Call Stack (most recent call first):
  C:/Users/HP/AppData/Local/Temp/pip-install-uqfplxdz/dlib_4d5c2e0ec61f4c228f2dc7828c073e11/dlib/cmake_utils/set_compiler_specific_options.cmake:21 (include)
  C:/Users/HP/AppData/Local/Temp/pip-install-uqfplxdz/dlib_4d5c2e0ec61f4c228f2dc7828c073e11/dlib/CMakeLists.txt:33 (include)

CMake Deprecation Warning at C:/Users/HP/AppData/Local/Temp/pip-install-uqfplxdz/dlib_4d5c2e0ec61f4c228f2dc7828c073e11/dlib/cmake_utils/test_for_neon/CMakeLists.txt:2 (cmake_minimum_required):
  Compatibility with CMake < 3.5 will be removed from a future version of
  CMake.

  Update the VERSION argument <min> value or use a ...<max> suffix to tell
  CMake that the project does not need compatibility with older versions.

-- 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 SSE2 instructions
CMake Deprecation Warning at C:/Users/HP/AppData/Local/Temp/pip-install-uqfplxdz/dlib_4d5c2e0ec61f4c228f2dc7828c073e11/dlib/cmake_utils/use_cpp_11.cmake:5 (cmake_minimum_required):
  Compatibility with CMake < 3.5 will be removed from a future version of
  CMake.

  Update the VERSION argument <min> value or use a ...<max> suffix to tell
  CMake that the project does not need compatibility with older versions.
Call Stack (most recent call first):
  C:/Users/HP/AppData/Local/Temp/pip-install-uqfplxdz/dlib_4d5c2e0ec61f4c228f2dc7828c073e11/dlib/CMakeLists.txt:50 (include)

CMake Deprecation Warning at C:/Users/HP/AppData/Local/Temp/pip-install-uqfplxdz/dlib_4d5c2e0ec61f4c228f2dc7828c073e11/dlib/cmake_utils/find_libpng.cmake:4 (cmake_minimum_required):
  Compatibility with CMake < 3.5 will be removed from a future version of
  CMake.

  Update the VERSION argument <min> value or use a ...<max> suffix to tell
  CMake that the project does not need compatibility with older versions.
Call Stack (most recent call first):
  C:/Users/HP/AppData/Local/Temp/pip-install-uqfplxdz/dlib_4d5c2e0ec61f4c228f2dc7828c073e11/dlib/CMakeLists.txt:443 (include)

CMake Deprecation Warning at C:/Users/HP/AppData/Local/Temp/pip-install-uqfplxdz/dlib_4d5c2e0ec61f4c228f2dc7828c073e11/dlib/cmake_utils/check_if_neon_available.cmake:3 (cmake_minimum_required):
  Compatibility with CMake < 3.5 will be removed from a future version of
  CMake.

  Update the VERSION argument <min> value or use a ...<max> suffix to tell
  CMake that the project does not need compatibility with older versions.
Call Stack (most recent call first):
  C:/Users/HP/AppData/Local/Temp/pip-install-uqfplxdz/dlib_4d5c2e0ec61f4c228f2dc7828c073e11/dlib/CMakeLists.txt:485 (include)

CMake Deprecation Warning at C:/Users/HP/AppData/Local/Temp/pip-install-uqfplxdz/dlib_4d5c2e0ec61f4c228f2dc7828c073e11/dlib/cmake_utils/find_libjpeg.cmake:4 (cmake_minimum_required):
  Compatibility with CMake < 3.5 will be removed from a future version of
  CMake.

  Update the VERSION argument <min> value or use a ...<max> suffix to tell
  CMake that the project does not need compatibility with older versions.
Call Stack (most recent call first):
  C:/Users/HP/AppData/Local/Temp/pip-install-uqfplxdz/dlib_4d5c2e0ec61f4c228f2dc7828c073e11/dlib/CMakeLists.txt:504 (include)

-- Searching for BLAS and LAPACK
-- Searching for BLAS and LAPACK
-- Performing Test CMAKE_HAVE_LIBC_PTHREAD
-- Performing Test CMAKE_HAVE_LIBC_PTHREAD - Failed
-- Looking for pthread_create in pthreads
-- Looking for pthread_create in pthreads - not found
-- Looking for pthread_create in pthread
-- Looking for pthread_create in pthread - not found
-- Found Threads: TRUE
CMake Warning (dev) at C:/Users/HP/AppData/Local/Temp/pip-install-uqfplxdz/dlib_4d5c2e0ec61f4c228f2dc7828c073e11/dlib/CMakeLists.txt:628 (find_package):
  Policy CMP0146 is not set: The FindCUDA module is removed.  Run "cmake
  --help-policy CMP0146" for policy details.  Use the cmake_policy command to
  set the policy and suppress this warning.

This warning is for project developers.  Use -Wno-dev to suppress it.

CUDA_TOOLKIT_ROOT_DIR not found or specified
-- 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")
-- 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.
-- DID NOT FIND CUDA
-- Disabling CUDA support for dlib.  DLIB WILL NOT USE CUDA
-- C++11 activated.
-- Configuring done (31.7s)
-- Generating done (0.2s)
-- Build files have been written to: C:/Users/HP/AppData/Local/Temp/pip-install-uqfplxdz/dlib_4d5c2e0ec61f4c228f2dc7828c073e11/build/temp.win-amd64-3.6/Release
Invoking CMake build: 'cmake --build . --config Release -- /m'
MSBuild version 17.9.5+33de0b227 for .NET Framework

C:\Program Files\Microsoft Visual Studio\2022\Community\MSBuild\Microsoft\VC\v170\Microsoft.CppBuild.targets(541,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\HP\AppData\Local\Temp\pip-install-uqfplxdz\dlib_4d5c2e0ec61f4c228f2dc7828c073e11\build\temp.win-amd64-3.6\Release\ZERO_CHECK.vcxproj]
  1>Checking Build System
C:\Program Files\Microsoft Visual Studio\2022\Community\MSBuild\Microsoft\VC\v170\Microsoft.CppBuild.targets(541,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\HP\AppData\Local\Temp\pip-install-uqfplxdz\dlib_4d5c2e0ec61f4c228f2dc7828c073e11\build\temp.win-amd64-3.6\Release\dlib_build\dlib.vcxproj]
  Building Custom Rule C:/Users/HP/AppData/Local/Temp/pip-install-uqfplxdz/dlib_4d5c2e0ec61f4c228f2dc7828c073e11/dlib/CMakeLists.txt
  base64_kernel_1.cpp
  bigint_kernel_1.cpp
  bigint_kernel_2.cpp
  bit_stream_kernel_1.cpp
C:\Users\HP\AppData\Local\Temp\pip-install-uqfplxdz\dlib_4d5c2e0ec61f4c228f2dc7828c073e11\dlib\bit_stream\bit_stream_kernel_1.cpp(1,1): error C1356: unable to find mspdbcore.dll [C:\Users\HP\AppData\Local\Temp\pip-install-uqfplxdz\dlib_4d5c2e0ec61f4c228f2dc7828c073e11\build\temp.win-amd64-3.6\Release\dlib_build\dlib.vcxproj]
  (compiling source file '../../../../dlib/bit_stream/bit_stream_kernel_1.cpp')

  entropy_decoder_kernel_1.cpp
  entropy_decoder_kernel_2.cpp
C:\Users\HP\AppData\Local\Temp\pip-install-uqfplxdz\dlib_4d5c2e0ec61f4c228f2dc7828c073e11\dlib\entropy_decoder\entropy_decoder_kernel_1.cpp(1,1): error C1356: unable to find mspdbcore.dll [C:\Users\HP\AppData\Local\Temp\pip-install-uqfplxdz\dlib_4d5c2e0ec61f4c228f2dc7828c073e11\build\temp.win-amd64-3.6\Release\dlib_build\dlib.vcxproj]
  (compiling source file '../../../../dlib/entropy_decoder/entropy_decoder_kernel_1.cpp')

C:\Users\HP\AppData\Local\Temp\pip-install-uqfplxdz\dlib_4d5c2e0ec61f4c228f2dc7828c073e11\dlib\entropy_decoder\entropy_decoder_kernel_2.cpp(1,1): error C1356: unable to find mspdbcore.dll [C:\Users\HP\AppData\Local\Temp\pip-install-uqfplxdz\dlib_4d5c2e0ec61f4c228f2dc7828c073e11\build\temp.win-amd64-3.6\Release\dlib_build\dlib.vcxproj]
  (compiling source file '../../../../dlib/entropy_decoder/entropy_decoder_kernel_2.cpp')

  entropy_encoder_kernel_1.cpp
  entropy_encoder_kernel_2.cpp
C:\Users\HP\AppData\Local\Temp\pip-install-uqfplxdz\dlib_4d5c2e0ec61f4c228f2dc7828c073e11\dlib\entropy_encoder\entropy_encoder_kernel_1.cpp(1,1): error C1356: unable to find mspdbcore.dll [C:\Users\HP\AppData\Local\Temp\pip-install-uqfplxdz\dlib_4d5c2e0ec61f4c228f2dc7828c073e11\build\temp.win-amd64-3.6\Release\dlib_build\dlib.vcxproj]
  (compiling source file '../../../../dlib/entropy_encoder/entropy_encoder_kernel_1.cpp')

  md5_kernel_1.cpp
C:\Users\HP\AppData\Local\Temp\pip-install-uqfplxdz\dlib_4d5c2e0ec61f4c228f2dc7828c073e11\dlib\entropy_encoder\entropy_encoder_kernel_2.cpp(1,1): error C1356: unable to find mspdbcore.dll [C:\Users\HP\AppData\Local\Temp\pip-install-uqfplxdz\dlib_4d5c2e0ec61f4c228f2dc7828c073e11\build\temp.win-amd64-3.6\Release\dlib_build\dlib.vcxproj]
  (compiling source file '../../../../dlib/entropy_encoder/entropy_encoder_kernel_2.cpp')

  tokenizer_kernel_1.cpp
C:\Users\HP\AppData\Local\Temp\pip-install-uqfplxdz\dlib_4d5c2e0ec61f4c228f2dc7828c073e11\dlib\md5\md5_kernel_1.cpp(1,1): error C1356: unable to find mspdbcore.dll [C:\Users\HP\AppData\Local\Temp\pip-install-uqfplxdz\dlib_4d5c2e0ec61f4c228f2dc7828c073e11\build\temp.win-amd64-3.6\Release\dlib_build\dlib.vcxproj]
  (compiling source file '../../../../dlib/md5/md5_kernel_1.cpp')

  unicode.cpp
C:\Users\HP\AppData\Local\Temp\pip-install-uqfplxdz\dlib_4d5c2e0ec61f4c228f2dc7828c073e11\dlib\tokenizer\tokenizer_kernel_1.cpp(1,1): error C1356: unable to find mspdbcore.dll [C:\Users\HP\AppData\Local\Temp\pip-install-uqfplxdz\dlib_4d5c2e0ec61f4c228f2dc7828c073e11\build\temp.win-amd64-3.6\Release\dlib_build\dlib.vcxproj]
  (compiling source file '../../../../dlib/tokenizer/tokenizer_kernel_1.cpp')

  test_for_odr_violations.cpp
C:\Users\HP\AppData\Local\Temp\pip-install-uqfplxdz\dlib_4d5c2e0ec61f4c228f2dc7828c073e11\dlib\unicode\unicode.cpp(1,1): error C1356: unable to find mspdbcore.dll [C:\Users\HP\AppData\Local\Temp\pip-install-uqfplxdz\dlib_4d5c2e0ec61f4c228f2dc7828c073e11\build\temp.win-amd64-3.6\Release\dlib_build\dlib.vcxproj]
  sockets_kernel_1.cpp
  (compiling source file '../../../../dlib/unicode/unicode.cpp')

C:\Users\HP\AppData\Local\Temp\pip-install-uqfplxdz\dlib_4d5c2e0ec61f4c228f2dc7828c073e11\dlib\test_for_odr_violations.cpp(1,1): error C1356: unable to find mspdbcore.dll [C:\Users\HP\AppData\Local\Temp\pip-install-uqfplxdz\dlib_4d5c2e0ec61f4c228f2dc7828c073e11\build\temp.win-amd64-3.6\Release\dlib_build\dlib.vcxproj]
  (compiling source file '../../../../dlib/test_for_odr_violations.cpp')

  bsp.cpp
  dir_nav_kernel_1.cpp
C:\Users\HP\AppData\Local\Temp\pip-install-uqfplxdz\dlib_4d5c2e0ec61f4c228f2dc7828c073e11\dlib\sockets\sockets_kernel_1.cpp(1,1): error C1356: unable to find mspdbcore.dll [C:\Users\HP\AppData\Local\Temp\pip-install-uqfplxdz\dlib_4d5c2e0ec61f4c228f2dc7828c073e11\build\temp.win-amd64-3.6\Release\dlib_build\dlib.vcxproj]
  (compiling source file '../../../../dlib/sockets/sockets_kernel_1.cpp')

  dir_nav_kernel_2.cpp
C:\Users\HP\AppData\Local\Temp\pip-install-uqfplxdz\dlib_4d5c2e0ec61f4c228f2dc7828c073e11\dlib\bsp\bsp.cpp(1,1): error C1356: unable to find mspdbcore.dll [C:\Users\HP\AppData\Local\Temp\pip-install-uqfplxdz\dlib_4d5c2e0ec61f4c228f2dc7828c073e11\build\temp.win-amd64-3.6\Release\dlib_build\dlib.vcxproj]
  (compiling source file '../../../../dlib/bsp/bsp.cpp')

C:\Users\HP\AppData\Local\Temp\pip-install-uqfplxdz\dlib_4d5c2e0ec61f4c228f2dc7828c073e11\dlib\dir_nav\dir_nav_kernel_1.cpp(1,1): error C1356: unable to find mspdbcore.dll [C:\Users\HP\AppData\Local\Temp\pip-install-uqfplxdz\dlib_4d5c2e0ec61f4c228f2dc7828c073e11\build\temp.win-amd64-3.6\Release\dlib_build\dlib.vcxproj]
  (compiling source file '../../../../dlib/dir_nav/dir_nav_kernel_1.cpp')

C:\Users\HP\AppData\Local\Temp\pip-install-uqfplxdz\dlib_4d5c2e0ec61f4c228f2dc7828c073e11\dlib\dir_nav\dir_nav_kernel_2.cpp(1,1): error C1356: unable to find mspdbcore.dll [C:\Users\HP\AppData\Local\Temp\pip-install-uqfplxdz\dlib_4d5c2e0ec61f4c228f2dc7828c073e11\build\temp.win-amd64-3.6\Release\dlib_build\dlib.vcxproj]
  (compiling source file '../../../../dlib/dir_nav/dir_nav_kernel_2.cpp')

  dir_nav_extensions.cpp
  fonts.cpp
  linker_kernel_1.cpp
C:\Users\HP\AppData\Local\Temp\pip-install-uqfplxdz\dlib_4d5c2e0ec61f4c228f2dc7828c073e11\dlib\dir_nav\dir_nav_extensions.cpp(1,1): error C1356: unable to find mspdbcore.dll [C:\Users\HP\AppData\Local\Temp\pip-install-uqfplxdz\dlib_4d5c2e0ec61f4c228f2dc7828c073e11\build\temp.win-amd64-3.6\Release\dlib_build\dlib.vcxproj]
  (compiling source file '../../../../dlib/dir_nav/dir_nav_extensions.cpp')

C:\Users\HP\AppData\Local\Temp\pip-install-uqfplxdz\dlib_4d5c2e0ec61f4c228f2dc7828c073e11\dlib\gui_widgets\fonts.cpp(1,1): error C1356: unable to find mspdbcore.dll [C:\Users\HP\AppData\Local\Temp\pip-install-uqfplxdz\dlib_4d5c2e0ec61f4c228f2dc7828c073e11\build\temp.win-amd64-3.6\Release\dlib_build\dlib.vcxproj]
  (compiling source file '../../../../dlib/gui_widgets/fonts.cpp')

C:\Users\HP\AppData\Local\Temp\pip-install-uqfplxdz\dlib_4d5c2e0ec61f4c228f2dc7828c073e11\dlib\linker\linker_kernel_1.cpp(1,1): error C1356: unable to find mspdbcore.dll [C:\Users\HP\AppData\Local\Temp\pip-install-uqfplxdz\dlib_4d5c2e0ec61f4c228f2dc7828c073e11\build\temp.win-amd64-3.6\Release\dlib_build\dlib.vcxproj]
  (compiling source file '../../../../dlib/linker/linker_kernel_1.cpp')

  extra_logger_headers.cpp
  logger_kernel_1.cpp
  logger_config_file.cpp
C:\Users\HP\AppData\Local\Temp\pip-install-uqfplxdz\dlib_4d5c2e0ec61f4c228f2dc7828c073e11\dlib\logger\logger_kernel_1.cpp(1,1): error C1356: unable to find mspdbcore.dll [C:\Users\HP\AppData\Local\Temp\pip-install-uqfplxdz\dlib_4d5c2e0ec61f4c228f2dc7828c073e11\build\temp.win-amd64-3.6\Release\dlib_build\dlib.vcxproj]
  (compiling source file '../../../../dlib/logger/logger_kernel_1.cpp')

C:\Users\HP\AppData\Local\Temp\pip-install-uqfplxdz\dlib_4d5c2e0ec61f4c228f2dc7828c073e11\dlib\logger\logger_config_file.cpp(1,1): error C1356: unable to find mspdbcore.dll [C:\Users\HP\AppData\Local\Temp\pip-install-uqfplxdz\dlib_4d5c2e0ec61f4c228f2dc7828c073e11\build\temp.win-amd64-3.6\Release\dlib_build\dlib.vcxproj]
  (compiling source file '../../../../dlib/logger/logger_config_file.cpp')

C:\Users\HP\AppData\Local\Temp\pip-install-uqfplxdz\dlib_4d5c2e0ec61f4c228f2dc7828c073e11\dlib\logger\extra_logger_headers.cpp(1,1): error C1356: unable to find mspdbcore.dll [C:\Users\HP\AppData\Local\Temp\pip-install-uqfplxdz\dlib_4d5c2e0ec61f4c228f2dc7828c073e11\build\temp.win-amd64-3.6\Release\dlib_build\dlib.vcxproj]
  (compiling source file '../../../../dlib/logger/extra_logger_headers.cpp')

  misc_api_kernel_1.cpp
  misc_api_kernel_2.cpp
  sockets_extensions.cpp
  sockets_kernel_2.cpp
C:\Users\HP\AppData\Local\Temp\pip-install-uqfplxdz\dlib_4d5c2e0ec61f4c228f2dc7828c073e11\dlib\misc_api\misc_api_kernel_1.cpp(1,1): error C1356: unable to find mspdbcore.dll [C:\Users\HP\AppData\Local\Temp\pip-install-uqfplxdz\dlib_4d5c2e0ec61f4c228f2dc7828c073e11\build\temp.win-amd64-3.6\Release\dlib_build\dlib.vcxproj]
  (compiling source file '../../../../dlib/misc_api/misc_api_kernel_1.cpp')

C:\Users\HP\AppData\Local\Temp\pip-install-uqfplxdz\dlib_4d5c2e0ec61f4c228f2dc7828c073e11\dlib\misc_api\misc_api_kernel_2.cpp(1,1): error C1356: unable to find mspdbcore.dll [C:\Users\HP\AppData\Local\Temp\pip-install-uqfplxdz\dlib_4d5c2e0ec61f4c228f2dc7828c073e11\build\temp.win-amd64-3.6\Release\dlib_build\dlib.vcxproj]
  (compiling source file '../../../../dlib/misc_api/misc_api_kernel_2.cpp')

C:\Users\HP\AppData\Local\Temp\pip-install-uqfplxdz\dlib_4d5c2e0ec61f4c228f2dc7828c073e11\dlib\sockets\sockets_kernel_2.cpp(1,1): error C1356: unable to find mspdbcore.dll [C:\Users\HP\AppData\Local\Temp\pip-install-uqfplxdz\dlib_4d5c2e0ec61f4c228f2dc7828c073e11\build\temp.win-amd64-3.6\Release\dlib_build\dlib.vcxproj]
  (compiling source file '../../../../dlib/sockets/sockets_kernel_2.cpp')

  sockstreambuf.cpp
  sockstreambuf_unbuffered.cpp
  server_kernel.cpp
C:\Users\HP\AppData\Local\Temp\pip-install-uqfplxdz\dlib_4d5c2e0ec61f4c228f2dc7828c073e11\dlib\sockets\sockets_extensions.cpp(1,1): error C1356: unable to find mspdbcore.dll [C:\Users\HP\AppData\Local\Temp\pip-install-uqfplxdz\dlib_4d5c2e0ec61f4c228f2dc7828c073e11\build\temp.win-amd64-3.6\Release\dlib_build\dlib.vcxproj]
  (compiling source file '../../../../dlib/sockets/sockets_extensions.cpp')

C:\Users\HP\AppData\Local\Temp\pip-install-uqfplxdz\dlib_4d5c2e0ec61f4c228f2dc7828c073e11\dlib\sockstreambuf\sockstreambuf_unbuffered.cpp(1,1): error C1356: unable to find mspdbcore.dll [C:\Users\HP\AppData\Local\Temp\pip-install-uqfplxdz\dlib_4d5c2e0ec61f4c228f2dc7828c073e11\build\temp.win-amd64-3.6\Release\dlib_build\dlib.vcxproj]
  (compiling source file '../../../../dlib/sockstreambuf/sockstreambuf_unbuffered.cpp')

C:\Users\HP\AppData\Local\Temp\pip-install-uqfplxdz\dlib_4d5c2e0ec61f4c228f2dc7828c073e11\dlib\sockstreambuf\sockstreambuf.cpp(1,1): error C1356: unable to find mspdbcore.dll [C:\Users\HP\AppData\Local\Temp\pip-install-uqfplxdz\dlib_4d5c2e0ec61f4c228f2dc7828c073e11\build\temp.win-amd64-3.6\Release\dlib_build\dlib.vcxproj]
  (compiling source file '../../../../dlib/sockstreambuf/sockstreambuf.cpp')

  server_iostream.cpp
  server_http.cpp
  multithreaded_object_extension.cpp
C:\Users\HP\AppData\Local\Temp\pip-install-uqfplxdz\dlib_4d5c2e0ec61f4c228f2dc7828c073e11\dlib\server\server_kernel.cpp(1,1): error C1356: unable to find mspdbcore.dll [C:\Users\HP\AppData\Local\Temp\pip-install-uqfplxdz\dlib_4d5c2e0ec61f4c228f2dc7828c073e11\build\temp.win-amd64-3.6\Release\dlib_build\dlib.vcxproj]
  (compiling source file '../../../../dlib/server/server_kernel.cpp')

C:\Users\HP\AppData\Local\Temp\pip-install-uqfplxdz\dlib_4d5c2e0ec61f4c228f2dc7828c073e11\dlib\server\server_iostream.cpp(1,1): error C1356: unable to find mspdbcore.dll [C:\Users\HP\AppData\Local\Temp\pip-install-uqfplxdz\dlib_4d5c2e0ec61f4c228f2dc7828c073e11\build\temp.win-amd64-3.6\Release\dlib_build\dlib.vcxproj]
  (compiling source file '../../../../dlib/server/server_iostream.cpp')

  threaded_object_extension.cpp
C:\Users\HP\AppData\Local\Temp\pip-install-uqfplxdz\dlib_4d5c2e0ec61f4c228f2dc7828c073e11\dlib\server\server_http.cpp(1,1): error C1356: unable to find mspdbcore.dll [C:\Users\HP\AppData\Local\Temp\pip-install-uqfplxdz\dlib_4d5c2e0ec61f4c228f2dc7828c073e11\build\temp.win-amd64-3.6\Release\dlib_build\dlib.vcxproj]
  (compiling source file '../../../../dlib/server/server_http.cpp')

C:\Users\HP\AppData\Local\Temp\pip-install-uqfplxdz\dlib_4d5c2e0ec61f4c228f2dc7828c073e11\dlib\threads\multithreaded_object_extension.cpp(1,1): error C1356: unable to find mspdbcore.dll [C:\Users\HP\AppData\Local\Temp\pip-install-uqfplxdz\dlib_4d5c2e0ec61f4c228f2dc7828c073e11\build\temp.win-amd64-3.6\Release\dlib_build\dlib.vcxproj]
  (compiling source file '../../../../dlib/threads/multithreaded_object_extension.cpp')

  threads_kernel_1.cpp
  threads_kernel_2.cpp
C:\Users\HP\AppData\Local\Temp\pip-install-uqfplxdz\dlib_4d5c2e0ec61f4c228f2dc7828c073e11\dlib\threads\threaded_object_extension.cpp(1,1): error C1356: unable to find mspdbcore.dll [C:\Users\HP\AppData\Local\Temp\pip-install-uqfplxdz\dlib_4d5c2e0ec61f4c228f2dc7828c073e11\build\temp.win-amd64-3.6\Release\dlib_build\dlib.vcxproj]
  (compiling source file '../../../../dlib/threads/threaded_object_extension.cpp')

C:\Users\HP\AppData\Local\Temp\pip-install-uqfplxdz\dlib_4d5c2e0ec61f4c228f2dc7828c073e11\dlib\threads\threads_kernel_1.cpp(1,1): error C1356: unable to find mspdbcore.dll [C:\Users\HP\AppData\Local\Temp\pip-install-uqfplxdz\dlib_4d5c2e0ec61f4c228f2dc7828c073e11\build\temp.win-amd64-3.6\Release\dlib_build\dlib.vcxproj]
  (compiling source file '../../../../dlib/threads/threads_kernel_1.cpp')

  threads_kernel_shared.cpp
C:\Users\HP\AppData\Local\Temp\pip-install-uqfplxdz\dlib_4d5c2e0ec61f4c228f2dc7828c073e11\dlib\threads\threads_kernel_2.cpp(1,1): error C1356: unable to find mspdbcore.dll [C:\Users\HP\AppData\Local\Temp\pip-install-uqfplxdz\dlib_4d5c2e0ec61f4c228f2dc7828c073e11\build\temp.win-amd64-3.6\Release\dlib_build\dlib.vcxproj]
  (compiling source file '../../../../dlib/threads/threads_kernel_2.cpp')

  thread_pool_extension.cpp
  async.cpp
  timer.cpp
  stack_trace.cpp
C:\Users\HP\AppData\Local\Temp\pip-install-uqfplxdz\dlib_4d5c2e0ec61f4c228f2dc7828c073e11\dlib\threads\threads_kernel_shared.cpp(1,1): error C1356: unable to find mspdbcore.dll [C:\Users\HP\AppData\Local\Temp\pip-install-uqfplxdz\dlib_4d5c2e0ec61f4c228f2dc7828c073e11\build\temp.win-amd64-3.6\Release\dlib_build\dlib.vcxproj]
  (compiling source file '../../../../dlib/threads/threads_kernel_shared.cpp')

C:\Users\HP\AppData\Local\Temp\pip-install-uqfplxdz\dlib_4d5c2e0ec61f4c228f2dc7828c073e11\dlib\threads\async.cpp(1,1): error C1356: unable to find mspdbcore.dll [C:\Users\HP\AppData\Local\Temp\pip-install-uqfplxdz\dlib_4d5c2e0ec61f4c228f2dc7828c073e11\build\temp.win-amd64-3.6\Release\dlib_build\dlib.vcxproj]
  (compiling source file '../../../../dlib/threads/async.cpp')

C:\Users\HP\AppData\Local\Temp\pip-install-uqfplxdz\dlib_4d5c2e0ec61f4c228f2dc7828c073e11\dlib\threads\thread_pool_extension.cpp(1,1): error C1356: unable to find mspdbcore.dll [C:\Users\HP\AppData\Local\Temp\pip-install-uqfplxdz\dlib_4d5c2e0ec61f4c228f2dc7828c073e11\build\temp.win-amd64-3.6\Release\dlib_build\dlib.vcxproj]
  (compiling source file '../../../../dlib/threads/thread_pool_extension.cpp')

C:\Users\HP\AppData\Local\Temp\pip-install-uqfplxdz\dlib_4d5c2e0ec61f4c228f2dc7828c073e11\dlib\timer\timer.cpp(1,1): error C1356: unable to find mspdbcore.dll [C:\Users\HP\AppData\Local\Temp\pip-install-uqfplxdz\dlib_4d5c2e0ec61f4c228f2dc7828c073e11\build\temp.win-amd64-3.6\Release\dlib_build\dlib.vcxproj]
  (compiling source file '../../../../dlib/timer/timer.cpp')

C:\Users\HP\AppData\Local\Temp\pip-install-uqfplxdz\dlib_4d5c2e0ec61f4c228f2dc7828c073e11\dlib\stack_trace.cpp(1,1): error C1356: unable to find mspdbcore.dll [C:\Users\HP\AppData\Local\Temp\pip-install-uqfplxdz\dlib_4d5c2e0ec61f4c228f2dc7828c073e11\build\temp.win-amd64-3.6\Release\dlib_build\dlib.vcxproj]
  (compiling source file '../../../../dlib/stack_trace.cpp')

  cpu_dlib.cpp
  tensor_tools.cpp
  image_dataset_metadata.cpp
  mnist.cpp
C:\Users\HP\AppData\Local\Temp\pip-install-uqfplxdz\dlib_4d5c2e0ec61f4c228f2dc7828c073e11\dlib\data_io\image_dataset_metadata.cpp(1,1): error C1356: unable to find mspdbcore.dll [C:\Users\HP\AppData\Local\Temp\pip-install-uqfplxdz\dlib_4d5c2e0ec61f4c228f2dc7828c073e11\build\temp.win-amd64-3.6\Release\dlib_build\dlib.vcxproj]
  (compiling source file '../../../../dlib/data_io/image_dataset_metadata.cpp')

C:\Users\HP\AppData\Local\Temp\pip-install-uqfplxdz\dlib_4d5c2e0ec61f4c228f2dc7828c073e11\dlib\cuda\cpu_dlib.cpp(1,1): error C1356: unable to find mspdbcore.dll [C:\Users\HP\AppData\Local\Temp\pip-install-uqfplxdz\dlib_4d5c2e0ec61f4c228f2dc7828c073e11\build\temp.win-amd64-3.6\Release\dlib_build\dlib.vcxproj]
  (compiling source file '../../../../dlib/cuda/cpu_dlib.cpp')

C:\Users\HP\AppData\Local\Temp\pip-install-uqfplxdz\dlib_4d5c2e0ec61f4c228f2dc7828c073e11\dlib\data_io\mnist.cpp(1,1): error C1356: unable to find mspdbcore.dll [C:\Users\HP\AppData\Local\Temp\pip-install-uqfplxdz\dlib_4d5c2e0ec61f4c228f2dc7828c073e11\build\temp.win-amd64-3.6\Release\dlib_build\dlib.vcxproj]
  (compiling source file '../../../../dlib/data_io/mnist.cpp')

C:\Users\HP\AppData\Local\Temp\pip-install-uqfplxdz\dlib_4d5c2e0ec61f4c228f2dc7828c073e11\dlib\cuda\tensor_tools.cpp(1,1): error C1356: unable to find mspdbcore.dll [C:\Users\HP\AppData\Local\Temp\pip-install-uqfplxdz\dlib_4d5c2e0ec61f4c228f2dc7828c073e11\build\temp.win-amd64-3.6\Release\dlib_build\dlib.vcxproj]
  (compiling source file '../../../../dlib/cuda/tensor_tools.cpp')

  cifar.cpp
  global_function_search.cpp
  kalman_filter.cpp
  auto.cpp
  widgets.cpp
C:\Users\HP\AppData\Local\Temp\pip-install-uqfplxdz\dlib_4d5c2e0ec61f4c228f2dc7828c073e11\dlib\data_io\cifar.cpp(1,1): error C1356: unable to find mspdbcore.dll [C:\Users\HP\AppData\Local\Temp\pip-install-uqfplxdz\dlib_4d5c2e0ec61f4c228f2dc7828c073e11\build\temp.win-amd64-3.6\Release\dlib_build\dlib.vcxproj]
  (compiling source file '../../../../dlib/data_io/cifar.cpp')

C:\Users\HP\AppData\Local\Temp\pip-install-uqfplxdz\dlib_4d5c2e0ec61f4c228f2dc7828c073e11\dlib\global_optimization\global_function_search.cpp(1,1): error C1356: unable to find mspdbcore.dll [C:\Users\HP\AppData\Local\Temp\pip-install-uqfplxdz\dlib_4d5c2e0ec61f4c228f2dc7828c073e11\build\temp.win-amd64-3.6\Release\dlib_build\dlib.vcxproj]
  (compiling source file '../../../../dlib/global_optimization/global_function_search.cpp')

  drawable.cpp
  canvas_drawing.cpp
  style.cpp
  base_widgets.cpp
C:\Users\HP\AppData\Local\Temp\pip-install-uqfplxdz\dlib_4d5c2e0ec61f4c228f2dc7828c073e11\dlib\filtering\kalman_filter.cpp(1,1): error C1356: unable to find mspdbcore.dll [C:\Users\HP\AppData\Local\Temp\pip-install-uqfplxdz\dlib_4d5c2e0ec61f4c228f2dc7828c073e11\build\temp.win-amd64-3.6\Release\dlib_build\dlib.vcxproj]
  (compiling source file '../../../../dlib/filtering/kalman_filter.cpp')

C:\Users\HP\AppData\Local\Temp\pip-install-uqfplxdz\dlib_4d5c2e0ec61f4c228f2dc7828c073e11\dlib\svm\auto.cpp(1,1): error C1356: unable to find mspdbcore.dll [C:\Users\HP\AppData\Local\Temp\pip-install-uqfplxdz\dlib_4d5c2e0ec61f4c228f2dc7828c073e11\build\temp.win-amd64-3.6\Release\dlib_build\dlib.vcxproj]
  (compiling source file '../../../../dlib/svm/auto.cpp')

C:\Users\HP\AppData\Local\Temp\pip-install-uqfplxdz\dlib_4d5c2e0ec61f4c228f2dc7828c073e11\dlib\gui_widgets\widgets.cpp(1,1): error C1356: unable to find mspdbcore.dll [C:\Users\HP\AppData\Local\Temp\pip-install-uqfplxdz\dlib_4d5c2e0ec61f4c228f2dc7828c073e11\build\temp.win-amd64-3.6\Release\dlib_build\dlib.vcxproj]
  (compiling source file '../../../../dlib/gui_widgets/widgets.cpp')

  gui_core_kernel_1.cpp
C:\Users\HP\AppData\Local\Temp\pip-install-uqfplxdz\dlib_4d5c2e0ec61f4c228f2dc7828c073e11\dlib\gui_widgets\drawable.cpp(1,1): error C1356: unable to find mspdbcore.dll [C:\Users\HP\AppData\Local\Temp\pip-install-uqfplxdz\dlib_4d5c2e0ec61f4c228f2dc7828c073e11\build\temp.win-amd64-3.6\Release\dlib_build\dlib.vcxproj]
  (compiling source file '../../../../dlib/gui_widgets/drawable.cpp')

C:\Users\HP\AppData\Local\Temp\pip-install-uqfplxdz\dlib_4d5c2e0ec61f4c228f2dc7828c073e11\dlib\gui_widgets\base_widgets.cpp(1,1): error C1356: unable to find mspdbcore.dll [C:\Users\HP\AppData\Local\Temp\pip-install-uqfplxdz\dlib_4d5c2e0ec61f4c228f2dc7828c073e11\build\temp.win-amd64-3.6\Release\dlib_build\dlib.vcxproj]
  (compiling source file '../../../../dlib/gui_widgets/base_widgets.cpp')

C:\Users\HP\AppData\Local\Temp\pip-install-uqfplxdz\dlib_4d5c2e0ec61f4c228f2dc7828c073e11\dlib\gui_widgets\canvas_drawing.cpp(1,1): error C1356: unable to find mspdbcore.dll [C:\Users\HP\AppData\Local\Temp\pip-install-uqfplxdz\dlib_4d5c2e0ec61f4c228f2dc7828c073e11\build\temp.win-amd64-3.6\Release\dlib_build\dlib.vcxproj]
  (compiling source file '../../../../dlib/gui_widgets/canvas_drawing.cpp')

C:\Users\HP\AppData\Local\Temp\pip-install-uqfplxdz\dlib_4d5c2e0ec61f4c228f2dc7828c073e11\dlib\gui_widgets\style.cpp(1,1): error C1356: unable to find mspdbcore.dll [C:\Users\HP\AppData\Local\Temp\pip-install-uqfplxdz\dlib_4d5c2e0ec61f4c228f2dc7828c073e11\build\temp.win-amd64-3.6\Release\dlib_build\dlib.vcxproj]
  (compiling source file '../../../../dlib/gui_widgets/style.cpp')

  gui_core_kernel_2.cpp
  png_loader.cpp
C:\Users\HP\AppData\Local\Temp\pip-install-uqfplxdz\dlib_4d5c2e0ec61f4c228f2dc7828c073e11\dlib\gui_core\gui_core_kernel_1.cpp(1,1): error C1356: unable to find mspdbcore.dll [C:\Users\HP\AppData\Local\Temp\pip-install-uqfplxdz\dlib_4d5c2e0ec61f4c228f2dc7828c073e11\build\temp.win-amd64-3.6\Release\dlib_build\dlib.vcxproj]
  (compiling source file '../../../../dlib/gui_core/gui_core_kernel_1.cpp')

  save_png.cpp
  jpeg_loader.cpp
C:\Users\HP\AppData\Local\Temp\pip-install-uqfplxdz\dlib_4d5c2e0ec61f4c228f2dc7828c073e11\dlib\image_loader\png_loader.cpp(1,1): error C1356: unable to find mspdbcore.dll [C:\Users\HP\AppData\Local\Temp\pip-install-uqfplxdz\dlib_4d5c2e0ec61f4c228f2dc7828c073e11\build\temp.win-amd64-3.6\Release\dlib_build\dlib.vcxproj]
  (compiling source file '../../../../dlib/image_loader/png_loader.cpp')

C:\Users\HP\AppData\Local\Temp\pip-install-uqfplxdz\dlib_4d5c2e0ec61f4c228f2dc7828c073e11\dlib\gui_core\gui_core_kernel_2.cpp(1,1): error C1356: unable to find mspdbcore.dll [C:\Users\HP\AppData\Local\Temp\pip-install-uqfplxdz\dlib_4d5c2e0ec61f4c228f2dc7828c073e11\build\temp.win-amd64-3.6\Release\dlib_build\dlib.vcxproj]
  (compiling source file '../../../../dlib/gui_core/gui_core_kernel_2.cpp')

  save_jpeg.cpp
C:\Users\HP\AppData\Local\Temp\pip-install-uqfplxdz\dlib_4d5c2e0ec61f4c228f2dc7828c073e11\dlib\image_saver\save_png.cpp(1,1): error C1356: unable to find mspdbcore.dll [C:\Users\HP\AppData\Local\Temp\pip-install-uqfplxdz\dlib_4d5c2e0ec61f4c228f2dc7828c073e11\build\temp.win-amd64-3.6\Release\dlib_build\dlib.vcxproj]
  (compiling source file '../../../../dlib/image_saver/save_png.cpp')

C:\Users\HP\AppData\Local\Temp\pip-install-uqfplxdz\dlib_4d5c2e0ec61f4c228f2dc7828c073e11\dlib\image_loader\jpeg_loader.cpp(1,1): error C1356: unable to find mspdbcore.dll [C:\Users\HP\AppData\Local\Temp\pip-install-uqfplxdz\dlib_4d5c2e0ec61f4c228f2dc7828c073e11\build\temp.win-amd64-3.6\Release\dlib_build\dlib.vcxproj]
  (compiling source file '../../../../dlib/image_loader/jpeg_loader.cpp')

C:\Users\HP\AppData\Local\Temp\pip-install-uqfplxdz\dlib_4d5c2e0ec61f4c228f2dc7828c073e11\dlib\image_saver\save_jpeg.cpp(1,1): error C1356: unable to find mspdbcore.dll [C:\Users\HP\AppData\Local\Temp\pip-install-uqfplxdz\dlib_4d5c2e0ec61f4c228f2dc7828c073e11\build\temp.win-amd64-3.6\Release\dlib_build\dlib.vcxproj]
  (compiling source file '../../../../dlib/image_saver/save_jpeg.cpp')

C:\Program Files\Microsoft Visual Studio\2022\Community\VC\Tools\MSVC\14.39.33519\include\type_traits(934,92): error C1060: compiler is out of heap space [C:\Users\HP\AppData\Local\Temp\pip-install-uqfplxdz\dlib_4d5c2e0ec61f4c228f2dc7828c073e11\build\temp.win-amd64-3.6\Release\dlib_build\dlib.vcxproj]
  (compiling source file '../../../../dlib/bigint/bigint_kernel_1.cpp')

Traceback (most recent call last):
  File "<string>", line 1, in <module>
  File "C:\Users\HP\AppData\Local\Temp\pip-install-uqfplxdz\dlib_4d5c2e0ec61f4c228f2dc7828c073e11\setup.py", line 261, in <module>
    'Topic :: Software Development',
  File "C:\Users\HP\PycharmProjects\FaceRecognitionRealTime\venv\lib\site-packages\setuptools\__init__.py", line 153, in setup
    return distutils.core.setup(**attrs)
  File "C:\Users\HP\AppData\Local\Programs\Python\Python36\lib\distutils\core.py", line 148, in setup
    dist.run_commands()
  File "C:\Users\HP\AppData\Local\Programs\Python\Python36\lib\distutils\dist.py", line 955, in run_commands
    self.run_command(cmd)
  File "C:\Users\HP\AppData\Local\Programs\Python\Python36\lib\distutils\dist.py", line 974, in run_command
    cmd_obj.run()
  File "C:\Users\HP\PycharmProjects\FaceRecognitionRealTime\venv\lib\site-packages\setuptools\command\install.py", line 68, in run
    return orig.install.run(self)
  File "C:\Users\HP\AppData\Local\Programs\Python\Python36\lib\distutils\command\install.py", line 545, in run
    self.run_command('build')
  File "C:\Users\HP\AppData\Local\Programs\Python\Python36\lib\distutils\cmd.py", line 313, in run_command
    self.distribution.run_command(command)
  File "C:\Users\HP\AppData\Local\Programs\Python\Python36\lib\distutils\dist.py", line 974, in run_command
    cmd_obj.run()
  File "C:\Users\HP\AppData\Local\Programs\Python\Python36\lib\distutils\command\build.py", line 135, in run
    self.run_command(cmd_name)
  File "C:\Users\HP\AppData\Local\Programs\Python\Python36\lib\distutils\cmd.py", line 313, in run_command
    self.distribution.run_command(command)
  File "C:\Users\HP\AppData\Local\Programs\Python\Python36\lib\distutils\dist.py", line 974, in run_command
    cmd_obj.run()
  File "C:\Users\HP\AppData\Local\Temp\pip-install-uqfplxdz\dlib_4d5c2e0ec61f4c228f2dc7828c073e11\setup.py", line 134, in run
    self.build_extension(ext)
  File "C:\Users\HP\AppData\Local\Temp\pip-install-uqfplxdz\dlib_4d5c2e0ec61f4c228f2dc7828c073e11\setup.py", line 174, in build_extension
    subprocess.check_call(cmake_build, cwd=build_folder)
  File "C:\Users\HP\AppData\Local\Programs\Python\Python36\lib\subprocess.py", line 291, in check_call
    raise CalledProcessError(retcode, cmd)
subprocess.CalledProcessError: Command '['cmake', '--build', '.', '--config', 'Release', '--', '/m']' returned non-zero exit status 1.
----------------------------------------

ERROR: Command errored out with exit status 1: 'C:\Users\HP\PycharmProjects\FaceRecognitionRealTime\venv\Scripts\python.exe' -u -c 'import io, os, sys, setuptools, tokenize; sys.argv[0] = '"'"'C:\Users\HP\AppData\Local\Temp\pip-install-uqfplxdz\dlib_4d5c2e0ec61f4c228f2dc7828c073e11\setup.py'"'"'; file='"'"'C:\Users\HP\AppData\Local\Temp\pip-install-uqfplxdz\dlib_4d5c2e0ec61f4c228f2dc7828c073e11\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'"'"'))' install --record 'C:\Users\HP\AppData\Local\Temp\pip-record-v2rvyw6q\install-record.txt' --single-version-externally-managed --compile --install-headers 'C:\Users\HP\PycharmProjects\FaceRecognitionRealTime\venv\include\site\python3.6\dlib' Check the logs for full command output.

Syna-20 commented 8 months ago

Collecting dlib==19.24.0 Using cached dlib-19.24.0.tar.gz (3.2 MB) Preparing metadata (setup.py): started Preparing metadata (setup.py): finished with status 'done' Building wheels for collected packages: dlib Building wheel for dlib (setup.py): started Building wheel for dlib (setup.py): finished with status 'error' Running setup.py clean for dlib Failed to build dlib Installing collected packages: dlib Running setup.py install for dlib: started Running setup.py install for dlib: finished with status 'error'

ERROR: Command errored out with exit status 1: command: 'C:\Users\HP\PycharmProjects\FaceRecognitionRealTime\venv\Scripts\python.exe' -u -c 'import io, os, sys, setuptools, tokenize; sys.argv[0] = '"'"'C:\Users\HP\AppData\Local\Temp\pip-install-uqfplxdz\dlib_4d5c2e0ec61f4c228f2dc7828c073e11\setup.py'"'"'; file='"'"'C:\Users\HP\AppData\Local\Temp\pip-install-uqfplxdz\dlib_4d5c2e0ec61f4c228f2dc7828c073e11\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\HP\AppData\Local\Temp\pip-wheel-9talaa25' cwd: C:\Users\HP\AppData\Local\Temp\pip-install-uqfplxdz\dlib_4d5c2e0ec61f4c228f2dc7828c073e11 Complete output (506 lines): running bdist_wheel running build running build_py package init file 'tools\python\dlibinit.py' not found (or not a regular file) running build_ext Building extension for Python 3.6.0 (v3.6.0:41df79263a11, Dec 23 2016, 08:06:12) [MSC v.1900 64 bit (AMD64)] Invoking CMake setup: 'cmake C:\Users\HP\AppData\Local\Temp\pip-install-uqfplxdz\dlib_4d5c2e0ec61f4c228f2dc7828c073e11\tools\python -DCMAKE_LIBRARY_OUTPUT_DIRECTORY=C:\Users\HP\AppData\Local\Temp\pip-install-uqfplxdz\dlib_4d5c2e0ec61f4c228f2dc7828c073e11\build\lib.win-amd64-3.6 -DPYTHON_EXECUTABLE=C:\Users\HP\PycharmProjects\FaceRecognitionRealTime\venv\Scripts\python.exe -DCMAKE_LIBRARY_OUTPUT_DIRECTORY_RELEASE=C:\Users\HP\AppData\Local\Temp\pip-install-uqfplxdz\dlib_4d5c2e0ec61f4c228f2dc7828c073e11\build\lib.win-amd64-3.6 -A x64' -- Building for: Visual Studio 17 2022 CMake Deprecation Warning at CMakeLists.txt:2 (CMAKE_MINIMUM_REQUIRED): Compatibility with CMake < 3.5 will be removed from a future version of CMake.

Update the VERSION argument <min> value or use a ...<max> suffix to tell
CMake that the project does not need compatibility with older versions.

-- Selecting Windows SDK version 10.0.22621.0 to target Windows 10.0.22631. -- The C compiler identification is MSVC 19.39.33519.0 -- The CXX compiler identification is MSVC 19.39.33519.0 -- Detecting C compiler ABI info -- Detecting C compiler ABI info - done -- Check for working C compiler: C:/Program Files/Microsoft Visual Studio/2022/Community/VC/Tools/MSVC/14.39.33519/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/Microsoft Visual Studio/2022/Community/VC/Tools/MSVC/14.39.33519/bin/Hostx64/x64/cl.exe - skipped -- Detecting CXX compile features -- Detecting CXX compile features - done CMake Deprecation Warning at C:/Users/HP/AppData/Local/Temp/pip-install-uqfplxdz/dlib_4d5c2e0ec61f4c228f2dc7828c073e11/dlib/cmake_utils/tell_visual_studio_to_use_static_runtime.cmake:5 (cmake_minimum_required): Compatibility with CMake < 3.5 will be removed from a future version of CMake.

Update the VERSION argument <min> value or use a ...<max> suffix to tell
CMake that the project does not need compatibility with older versions.

Call Stack (most recent call first): CMakeLists.txt:35 (include)

CMake Deprecation Warning at C:/Users/HP/AppData/Local/Temp/pip-install-uqfplxdz/dlib_4d5c2e0ec61f4c228f2dc7828c073e11/dlib/external/pybind11/CMakeLists.txt:8 (cmake_minimum_required): Compatibility with CMake < 3.5 will be removed from a future version of CMake.

Update the VERSION argument <min> value or use a ...<max> suffix to tell
CMake that the project does not need compatibility with older versions.

CMake Deprecation Warning at C:/Users/HP/AppData/Local/Temp/pip-install-uqfplxdz/dlib_4d5c2e0ec61f4c228f2dc7828c073e11/dlib/external/pybind11/tools/pybind11Tools.cmake:8 (cmake_minimum_required): Compatibility with CMake < 3.5 will be removed from a future version of CMake.

Update the VERSION argument <min> value or use a ...<max> suffix to tell
CMake that the project does not need compatibility with older versions.

Call Stack (most recent call first): C:/Users/HP/AppData/Local/Temp/pip-install-uqfplxdz/dlib_4d5c2e0ec61f4c228f2dc7828c073e11/dlib/external/pybind11/CMakeLists.txt:33 (include)

CMake Warning (dev) at C:/Users/HP/AppData/Local/Temp/pip-install-uqfplxdz/dlib_4d5c2e0ec61f4c228f2dc7828c073e11/dlib/external/pybind11/tools/FindPythonLibsNew.cmake:60 (find_package): Policy CMP0148 is not set: The FindPythonInterp and FindPythonLibs modules are removed. Run "cmake --help-policy CMP0148" for policy details. Use the cmake_policy command to set the policy and suppress this warning.

Call Stack (most recent call first): C:/Users/HP/AppData/Local/Temp/pip-install-uqfplxdz/dlib_4d5c2e0ec61f4c228f2dc7828c073e11/dlib/external/pybind11/tools/pybind11Tools.cmake:16 (find_package) C:/Users/HP/AppData/Local/Temp/pip-install-uqfplxdz/dlib_4d5c2e0ec61f4c228f2dc7828c073e11/dlib/external/pybind11/CMakeLists.txt:33 (include) This warning is for project developers. Use -Wno-dev to suppress it.

-- Found PythonInterp: C:/Users/HP/PycharmProjects/FaceRecognitionRealTime/venv/Scripts/python.exe (found version "3.6") -- Found PythonLibs: C:/Users/HP/AppData/Local/Programs/Python/Python36/libs/Python36.lib -- pybind11 v2.2.4 CMake Deprecation Warning at C:/Users/HP/AppData/Local/Temp/pip-install-uqfplxdz/dlib_4d5c2e0ec61f4c228f2dc7828c073e11/dlib/CMakeLists.txt:7 (cmake_minimum_required): Compatibility with CMake < 3.5 will be removed from a future version of CMake.

Update the VERSION argument <min> value or use a ...<max> suffix to tell
CMake that the project does not need compatibility with older versions.

-- Using CMake version: 3.28.3 -- Compiling dlib version: 19.24.0 CMake Deprecation Warning at C:/Users/HP/AppData/Local/Temp/pip-install-uqfplxdz/dlib_4d5c2e0ec61f4c228f2dc7828c073e11/dlib/cmake_utils/set_compiler_specific_options.cmake:2 (cmake_minimum_required): Compatibility with CMake < 3.5 will be removed from a future version of CMake.

Update the VERSION argument <min> value or use a ...<max> suffix to tell
CMake that the project does not need compatibility with older versions.

Call Stack (most recent call first): C:/Users/HP/AppData/Local/Temp/pip-install-uqfplxdz/dlib_4d5c2e0ec61f4c228f2dc7828c073e11/dlib/CMakeLists.txt:33 (include)

CMake Deprecation Warning at C:/Users/HP/AppData/Local/Temp/pip-install-uqfplxdz/dlib_4d5c2e0ec61f4c228f2dc7828c073e11/dlib/cmake_utils/check_if_sse4_instructions_executable_on_host.cmake:3 (cmake_minimum_required): Compatibility with CMake < 3.5 will be removed from a future version of CMake.

Update the VERSION argument <min> value or use a ...<max> suffix to tell
CMake that the project does not need compatibility with older versions.

Call Stack (most recent call first): C:/Users/HP/AppData/Local/Temp/pip-install-uqfplxdz/dlib_4d5c2e0ec61f4c228f2dc7828c073e11/dlib/cmake_utils/set_compiler_specific_options.cmake:13 (include) C:/Users/HP/AppData/Local/Temp/pip-install-uqfplxdz/dlib_4d5c2e0ec61f4c228f2dc7828c073e11/dlib/CMakeLists.txt:33 (include)

CMake Deprecation Warning at C:/Users/HP/AppData/Local/Temp/pip-install-uqfplxdz/dlib_4d5c2e0ec61f4c228f2dc7828c073e11/dlib/cmake_utils/test_for_sse4/CMakeLists.txt:2 (cmake_minimum_required): Compatibility with CMake < 3.5 will be removed from a future version of CMake.

Update the VERSION argument <min> value or use a ...<max> suffix to tell
CMake that the project does not need compatibility with older versions.

CMake Deprecation Warning at C:/Users/HP/AppData/Local/Temp/pip-install-uqfplxdz/dlib_4d5c2e0ec61f4c228f2dc7828c073e11/dlib/cmake_utils/set_compiler_specific_options.cmake:2 (cmake_minimum_required): Compatibility with CMake < 3.5 will be removed from a future version of CMake.

Update the VERSION argument <min> value or use a ...<max> suffix to tell
CMake that the project does not need compatibility with older versions.

Call Stack (most recent call first): C:/Users/HP/AppData/Local/Temp/pip-install-uqfplxdz/dlib_4d5c2e0ec61f4c228f2dc7828c073e11/dlib/cmake_utils/test_for_sse4/CMakeLists.txt:8 (include)

CMake Deprecation Warning at C:/Users/HP/AppData/Local/Temp/pip-install-uqfplxdz/dlib_4d5c2e0ec61f4c228f2dc7828c073e11/dlib/cmake_utils/check_if_avx_instructions_executable_on_host.cmake:3 (cmake_minimum_required): Compatibility with CMake < 3.5 will be removed from a future version of CMake.

Update the VERSION argument <min> value or use a ...<max> suffix to tell
CMake that the project does not need compatibility with older versions.

Call Stack (most recent call first): C:/Users/HP/AppData/Local/Temp/pip-install-uqfplxdz/dlib_4d5c2e0ec61f4c228f2dc7828c073e11/dlib/cmake_utils/set_compiler_specific_options.cmake:17 (include) C:/Users/HP/AppData/Local/Temp/pip-install-uqfplxdz/dlib_4d5c2e0ec61f4c228f2dc7828c073e11/dlib/CMakeLists.txt:33 (include)

CMake Deprecation Warning at C:/Users/HP/AppData/Local/Temp/pip-install-uqfplxdz/dlib_4d5c2e0ec61f4c228f2dc7828c073e11/dlib/cmake_utils/test_for_avx/CMakeLists.txt:2 (cmake_minimum_required): Compatibility with CMake < 3.5 will be removed from a future version of CMake.

Update the VERSION argument <min> value or use a ...<max> suffix to tell
CMake that the project does not need compatibility with older versions.

CMake Deprecation Warning at C:/Users/HP/AppData/Local/Temp/pip-install-uqfplxdz/dlib_4d5c2e0ec61f4c228f2dc7828c073e11/dlib/cmake_utils/set_compiler_specific_options.cmake:2 (cmake_minimum_required): Compatibility with CMake < 3.5 will be removed from a future version of CMake.

Update the VERSION argument <min> value or use a ...<max> suffix to tell
CMake that the project does not need compatibility with older versions.

Call Stack (most recent call first): C:/Users/HP/AppData/Local/Temp/pip-install-uqfplxdz/dlib_4d5c2e0ec61f4c228f2dc7828c073e11/dlib/cmake_utils/test_for_avx/CMakeLists.txt:8 (include)

CMake Deprecation Warning at C:/Users/HP/AppData/Local/Temp/pip-install-uqfplxdz/dlib_4d5c2e0ec61f4c228f2dc7828c073e11/dlib/cmake_utils/check_if_neon_available.cmake:3 (cmake_minimum_required): Compatibility with CMake < 3.5 will be removed from a future version of CMake.

Update the VERSION argument <min> value or use a ...<max> suffix to tell
CMake that the project does not need compatibility with older versions.

Call Stack (most recent call first): C:/Users/HP/AppData/Local/Temp/pip-install-uqfplxdz/dlib_4d5c2e0ec61f4c228f2dc7828c073e11/dlib/cmake_utils/set_compiler_specific_options.cmake:21 (include) C:/Users/HP/AppData/Local/Temp/pip-install-uqfplxdz/dlib_4d5c2e0ec61f4c228f2dc7828c073e11/dlib/CMakeLists.txt:33 (include)

CMake Deprecation Warning at C:/Users/HP/AppData/Local/Temp/pip-install-uqfplxdz/dlib_4d5c2e0ec61f4c228f2dc7828c073e11/dlib/cmake_utils/test_for_neon/CMakeLists.txt:2 (cmake_minimum_required): Compatibility with CMake < 3.5 will be removed from a future version of CMake.

Update the VERSION argument <min> value or use a ...<max> suffix to tell
CMake that the project does not need compatibility with older versions.

-- 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 SSE2 instructions CMake Deprecation Warning at C:/Users/HP/AppData/Local/Temp/pip-install-uqfplxdz/dlib_4d5c2e0ec61f4c228f2dc7828c073e11/dlib/cmake_utils/use_cpp_11.cmake:5 (cmake_minimum_required): Compatibility with CMake < 3.5 will be removed from a future version of CMake.

Update the VERSION argument <min> value or use a ...<max> suffix to tell
CMake that the project does not need compatibility with older versions.

Call Stack (most recent call first): C:/Users/HP/AppData/Local/Temp/pip-install-uqfplxdz/dlib_4d5c2e0ec61f4c228f2dc7828c073e11/dlib/CMakeLists.txt:50 (include)

CMake Deprecation Warning at C:/Users/HP/AppData/Local/Temp/pip-install-uqfplxdz/dlib_4d5c2e0ec61f4c228f2dc7828c073e11/dlib/cmake_utils/find_libpng.cmake:4 (cmake_minimum_required): Compatibility with CMake < 3.5 will be removed from a future version of CMake.

Update the VERSION argument <min> value or use a ...<max> suffix to tell
CMake that the project does not need compatibility with older versions.

Call Stack (most recent call first): C:/Users/HP/AppData/Local/Temp/pip-install-uqfplxdz/dlib_4d5c2e0ec61f4c228f2dc7828c073e11/dlib/CMakeLists.txt:443 (include)

CMake Deprecation Warning at C:/Users/HP/AppData/Local/Temp/pip-install-uqfplxdz/dlib_4d5c2e0ec61f4c228f2dc7828c073e11/dlib/cmake_utils/check_if_neon_available.cmake:3 (cmake_minimum_required): Compatibility with CMake < 3.5 will be removed from a future version of CMake.

Update the VERSION argument <min> value or use a ...<max> suffix to tell
CMake that the project does not need compatibility with older versions.

Call Stack (most recent call first): C:/Users/HP/AppData/Local/Temp/pip-install-uqfplxdz/dlib_4d5c2e0ec61f4c228f2dc7828c073e11/dlib/CMakeLists.txt:485 (include)

CMake Deprecation Warning at C:/Users/HP/AppData/Local/Temp/pip-install-uqfplxdz/dlib_4d5c2e0ec61f4c228f2dc7828c073e11/dlib/cmake_utils/find_libjpeg.cmake:4 (cmake_minimum_required): Compatibility with CMake < 3.5 will be removed from a future version of CMake.

Update the VERSION argument <min> value or use a ...<max> suffix to tell
CMake that the project does not need compatibility with older versions.

Call Stack (most recent call first): C:/Users/HP/AppData/Local/Temp/pip-install-uqfplxdz/dlib_4d5c2e0ec61f4c228f2dc7828c073e11/dlib/CMakeLists.txt:504 (include)

-- Searching for BLAS and LAPACK -- Searching for BLAS and LAPACK -- Performing Test CMAKE_HAVE_LIBC_PTHREAD -- Performing Test CMAKE_HAVE_LIBC_PTHREAD - Failed -- Looking for pthread_create in pthreads -- Looking for pthread_create in pthreads - not found -- Looking for pthread_create in pthread -- Looking for pthread_create in pthread - not found -- Found Threads: TRUE CMake Warning (dev) at C:/Users/HP/AppData/Local/Temp/pip-install-uqfplxdz/dlib_4d5c2e0ec61f4c228f2dc7828c073e11/dlib/CMakeLists.txt:628 (find_package): Policy CMP0146 is not set: The FindCUDA module is removed. Run "cmake --help-policy CMP0146" for policy details. Use the cmake_policy command to set the policy and suppress this warning.

This warning is for project developers. Use -Wno-dev to suppress it.

CUDA_TOOLKIT_ROOT_DIR not found or specified -- 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") -- 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. -- DID NOT FIND CUDA -- Disabling CUDA support for dlib. DLIB WILL NOT USE CUDA -- C++11 activated. -- Configuring done (38.7s) -- Generating done (0.2s) -- Build files have been written to: C:/Users/HP/AppData/Local/Temp/pip-install-uqfplxdz/dlib_4d5c2e0ec61f4c228f2dc7828c073e11/build/temp.win-amd64-3.6/Release Invoking CMake build: 'cmake --build . --config Release -- /m' MSBuild version 17.9.5+33de0b227 for .NET Framework

C:\Program Files\Microsoft Visual Studio\2022\Community\MSBuild\Microsoft\VC\v170\Microsoft.CppBuild.targets(541,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\HP\AppData\Local\Temp\pip-install-uqfplxdz\dlib_4d5c2e0ec61f4c228f2dc7828c073e11\build\temp.win-amd64-3.6\Release\ZERO_CHECK.vcxproj] 1>Checking Build System C:\Program Files\Microsoft Visual Studio\2022\Community\MSBuild\Microsoft\VC\v170\Microsoft.CppBuild.targets(541,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\HP\AppData\Local\Temp\pip-install-uqfplxdz\dlib_4d5c2e0ec61f4c228f2dc7828c073e11\build\temp.win-amd64-3.6\Release\dlib_build\dlib.vcxproj] Building Custom Rule C:/Users/HP/AppData/Local/Temp/pip-install-uqfplxdz/dlib_4d5c2e0ec61f4c228f2dc7828c073e11/dlib/CMakeLists.txt 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 C:\Users\HP\AppData\Local\Temp\pip-install-uqfplxdz\dlib_4d5c2e0ec61f4c228f2dc7828c073e11\dlib\bit_stream\bit_stream_kernel_1.cpp(1,1): error C1356: unable to find mspdbcore.dll [C:\Users\HP\AppData\Local\Temp\pip-install-uqfplxdz\dlib_4d5c2e0ec61f4c228f2dc7828c073e11\build\temp.win-amd64-3.6\Release\dlib_build\dlib.vcxproj] (compiling source file '../../../../dlib/bit_stream/bit_stream_kernel_1.cpp')

sockets_kernel_1.cpp

C:\Users\HP\AppData\Local\Temp\pip-install-uqfplxdz\dlib_4d5c2e0ec61f4c228f2dc7828c073e11\dlib\entropy_decoder\entropy_decoder_kernel_1.cpp(1,1): error C1356: unable to find mspdbcore.dll [C:\Users\HP\AppData\Local\Temp\pip-install-uqfplxdz\dlib_4d5c2e0ec61f4c228f2dc7828c073e11\build\temp.win-amd64-3.6\Release\dlib_build\dlib.vcxproj] (compiling source file '../../../../dlib/entropy_decoder/entropy_decoder_kernel_1.cpp')

C:\Users\HP\AppData\Local\Temp\pip-install-uqfplxdz\dlib_4d5c2e0ec61f4c228f2dc7828c073e11\dlib\entropy_decoder\entropy_decoder_kernel_2.cpp(1,1): error C1356: unable to find mspdbcore.dll [C:\Users\HP\AppData\Local\Temp\pip-install-uqfplxdz\dlib_4d5c2e0ec61f4c228f2dc7828c073e11\build\temp.win-amd64-3.6\Release\dlib_build\dlib.vcxproj] (compiling source file '../../../../dlib/entropy_decoder/entropy_decoder_kernel_2.cpp')

C:\Users\HP\AppData\Local\Temp\pip-install-uqfplxdz\dlib_4d5c2e0ec61f4c228f2dc7828c073e11\dlib\entropy_encoder\entropy_encoder_kernel_2.cpp(1,1): error C1356: unable to find mspdbcore.dll [C:\Users\HP\AppData\Local\Temp\pip-install-uqfplxdz\dlib_4d5c2e0ec61f4c228f2dc7828c073e11\build\temp.win-amd64-3.6\Release\dlib_build\dlib.vcxproj] (compiling source file '../../../../dlib/entropy_encoder/entropy_encoder_kernel_2.cpp')

C:\Users\HP\AppData\Local\Temp\pip-install-uqfplxdz\dlib_4d5c2e0ec61f4c228f2dc7828c073e11\dlib\entropy_encoder\entropy_encoder_kernel_1.cpp(1,1): error C1356: unable to find mspdbcore.dll [C:\Users\HP\AppData\Local\Temp\pip-install-uqfplxdz\dlib_4d5c2e0ec61f4c228f2dc7828c073e11\build\temp.win-amd64-3.6\Release\dlib_build\dlib.vcxproj] (compiling source file '../../../../dlib/entropy_encoder/entropy_encoder_kernel_1.cpp')

C:\Users\HP\AppData\Local\Temp\pip-install-uqfplxdz\dlib_4d5c2e0ec61f4c228f2dc7828c073e11\dlib\tokenizer\tokenizer_kernel_1.cpp(1,1): error C1356: unable to find mspdbcore.dll [C:\Users\HP\AppData\Local\Temp\pip-install-uqfplxdz\dlib_4d5c2e0ec61f4c228f2dc7828c073e11\build\temp.win-amd64-3.6\Release\dlib_build\dlib.vcxproj] (compiling source file '../../../../dlib/tokenizer/tokenizer_kernel_1.cpp')

C:\Users\HP\AppData\Local\Temp\pip-install-uqfplxdz\dlib_4d5c2e0ec61f4c228f2dc7828c073e11\dlib\md5\md5_kernel_1.cpp(1,1): error C1356: unable to find mspdbcore.dll [C:\Users\HP\AppData\Local\Temp\pip-install-uqfplxdz\dlib_4d5c2e0ec61f4c228f2dc7828c073e11\build\temp.win-amd64-3.6\Release\dlib_build\dlib.vcxproj] (compiling source file '../../../../dlib/md5/md5_kernel_1.cpp')

C:\Users\HP\AppData\Local\Temp\pip-install-uqfplxdz\dlib_4d5c2e0ec61f4c228f2dc7828c073e11\dlib\test_for_odr_violations.cpp(1,1): error C1356: unable to find mspdbcore.dll [C:\Users\HP\AppData\Local\Temp\pip-install-uqfplxdz\dlib_4d5c2e0ec61f4c228f2dc7828c073e11\build\temp.win-amd64-3.6\Release\dlib_build\dlib.vcxproj] (compiling source file '../../../../dlib/test_for_odr_violations.cpp')

C:\Users\HP\AppData\Local\Temp\pip-install-uqfplxdz\dlib_4d5c2e0ec61f4c228f2dc7828c073e11\dlib\unicode\unicode.cpp(1,1): error C1356: unable to find mspdbcore.dll [C:\Users\HP\AppData\Local\Temp\pip-install-uqfplxdz\dlib_4d5c2e0ec61f4c228f2dc7828c073e11\build\temp.win-amd64-3.6\Release\dlib_build\dlib.vcxproj] (compiling source file '../../../../dlib/unicode/unicode.cpp')

bsp.cpp
dir_nav_kernel_1.cpp
dir_nav_kernel_2.cpp

C:\Users\HP\AppData\Local\Temp\pip-install-uqfplxdz\dlib_4d5c2e0ec61f4c228f2dc7828c073e11\dlib\sockets\sockets_kernel_1.cpp(1,1): error C1356: unable to find mspdbcore.dll [C:\Users\HP\AppData\Local\Temp\pip-install-uqfplxdz\dlib_4d5c2e0ec61f4c228f2dc7828c073e11\build\temp.win-amd64-3.6\Release\dlib_build\dlib.vcxproj] (compiling source file '../../../../dlib/sockets/sockets_kernel_1.cpp')

C:\Users\HP\AppData\Local\Temp\pip-install-uqfplxdz\dlib_4d5c2e0ec61f4c228f2dc7828c073e11\dlib\bsp\bsp.cpp(1,1): error C1356: unable to find mspdbcore.dll [C:\Users\HP\AppData\Local\Temp\pip-install-uqfplxdz\dlib_4d5c2e0ec61f4c228f2dc7828c073e11\build\temp.win-amd64-3.6\Release\dlib_build\dlib.vcxproj] (compiling source file '../../../../dlib/bsp/bsp.cpp')

dir_nav_extensions.cpp

C:\Users\HP\AppData\Local\Temp\pip-install-uqfplxdz\dlib_4d5c2e0ec61f4c228f2dc7828c073e11\dlib\dir_nav\dir_nav_kernel_1.cpp(1,1): error C1356: unable to find mspdbcore.dll [C:\Users\HP\AppData\Local\Temp\pip-install-uqfplxdz\dlib_4d5c2e0ec61f4c228f2dc7828c073e11\build\temp.win-amd64-3.6\Release\dlib_build\dlib.vcxproj] (compiling source file '../../../../dlib/dir_nav/dir_nav_kernel_1.cpp')

C:\Users\HP\AppData\Local\Temp\pip-install-uqfplxdz\dlib_4d5c2e0ec61f4c228f2dc7828c073e11\dlib\dir_nav\dir_nav_kernel_2.cpp(1,1): error C1356: unable to find mspdbcore.dll [C:\Users\HP\AppData\Local\Temp\pip-install-uqfplxdz\dlib_4d5c2e0ec61f4c228f2dc7828c073e11\build\temp.win-amd64-3.6\Release\dlib_build\dlib.vcxproj] (compiling source file '../../../../dlib/dir_nav/dir_nav_kernel_2.cpp')

C:\Users\HP\AppData\Local\Temp\pip-install-uqfplxdz\dlib_4d5c2e0ec61f4c228f2dc7828c073e11\dlib\dir_nav\dir_nav_extensions.cpp(1,1): error C1356: unable to find mspdbcore.dll [C:\Users\HP\AppData\Local\Temp\pip-install-uqfplxdz\dlib_4d5c2e0ec61f4c228f2dc7828c073e11\build\temp.win-amd64-3.6\Release\dlib_build\dlib.vcxproj] (compiling source file '../../../../dlib/dir_nav/dir_nav_extensions.cpp')

fonts.cpp
linker_kernel_1.cpp
extra_logger_headers.cpp
logger_kernel_1.cpp
logger_config_file.cpp

C:\Users\HP\AppData\Local\Temp\pip-install-uqfplxdz\dlib_4d5c2e0ec61f4c228f2dc7828c073e11\dlib\gui_widgets\fonts.cpp(1,1): error C1356: unable to find mspdbcore.dll [C:\Users\HP\AppData\Local\Temp\pip-install-uqfplxdz\dlib_4d5c2e0ec61f4c228f2dc7828c073e11\build\temp.win-amd64-3.6\Release\dlib_build\dlib.vcxproj] (compiling source file '../../../../dlib/gui_widgets/fonts.cpp')

C:\Users\HP\AppData\Local\Temp\pip-install-uqfplxdz\dlib_4d5c2e0ec61f4c228f2dc7828c073e11\dlib\linker\linker_kernel_1.cpp(1,1): error C1356: unable to find mspdbcore.dll [C:\Users\HP\AppData\Local\Temp\pip-install-uqfplxdz\dlib_4d5c2e0ec61f4c228f2dc7828c073e11\build\temp.win-amd64-3.6\Release\dlib_build\dlib.vcxproj] (compiling source file '../../../../dlib/linker/linker_kernel_1.cpp')

C:\Users\HP\AppData\Local\Temp\pip-install-uqfplxdz\dlib_4d5c2e0ec61f4c228f2dc7828c073e11\dlib\logger\extra_logger_headers.cpp(1,1): error C1356: unable to find mspdbcore.dll [C:\Users\HP\AppData\Local\Temp\pip-install-uqfplxdz\dlib_4d5c2e0ec61f4c228f2dc7828c073e11\build\temp.win-amd64-3.6\Release\dlib_build\dlib.vcxproj] (compiling source file '../../../../dlib/logger/extra_logger_headers.cpp')

C:\Users\HP\AppData\Local\Temp\pip-install-uqfplxdz\dlib_4d5c2e0ec61f4c228f2dc7828c073e11\dlib\logger\logger_kernel_1.cpp(1,1): error C1356: unable to find mspdbcore.dll [C:\Users\HP\AppData\Local\Temp\pip-install-uqfplxdz\dlib_4d5c2e0ec61f4c228f2dc7828c073e11\build\temp.win-amd64-3.6\Release\dlib_build\dlib.vcxproj] (compiling source file '../../../../dlib/logger/logger_kernel_1.cpp')

misc_api_kernel_1.cpp
misc_api_kernel_2.cpp

C:\Users\HP\AppData\Local\Temp\pip-install-uqfplxdz\dlib_4d5c2e0ec61f4c228f2dc7828c073e11\dlib\logger\logger_config_file.cpp(1,1): error C1356: unable to find mspdbcore.dll [C:\Users\HP\AppData\Local\Temp\pip-install-uqfplxdz\dlib_4d5c2e0ec61f4c228f2dc7828c073e11\build\temp.win-amd64-3.6\Release\dlib_build\dlib.vcxproj] (compiling source file '../../../../dlib/logger/logger_config_file.cpp')

sockets_extensions.cpp
sockets_kernel_2.cpp
sockstreambuf.cpp

C:\Users\HP\AppData\Local\Temp\pip-install-uqfplxdz\dlib_4d5c2e0ec61f4c228f2dc7828c073e11\dlib\misc_api\misc_api_kernel_1.cpp(1,1): error C1356: unable to find mspdbcore.dll [C:\Users\HP\AppData\Local\Temp\pip-install-uqfplxdz\dlib_4d5c2e0ec61f4c228f2dc7828c073e11\build\temp.win-amd64-3.6\Release\dlib_build\dlib.vcxproj] (compiling source file '../../../../dlib/misc_api/misc_api_kernel_1.cpp')

C:\Users\HP\AppData\Local\Temp\pip-install-uqfplxdz\dlib_4d5c2e0ec61f4c228f2dc7828c073e11\dlib\misc_api\misc_api_kernel_2.cpp(1,1): error C1356: unable to find mspdbcore.dll [C:\Users\HP\AppData\Local\Temp\pip-install-uqfplxdz\dlib_4d5c2e0ec61f4c228f2dc7828c073e11\build\temp.win-amd64-3.6\Release\dlib_build\dlib.vcxproj] (compiling source file '../../../../dlib/misc_api/misc_api_kernel_2.cpp')

C:\Users\HP\AppData\Local\Temp\pip-install-uqfplxdz\dlib_4d5c2e0ec61f4c228f2dc7828c073e11\dlib\sockets\sockets_extensions.cpp(1,1): error C1356: unable to find mspdbcore.dll [C:\Users\HP\AppData\Local\Temp\pip-install-uqfplxdz\dlib_4d5c2e0ec61f4c228f2dc7828c073e11\build\temp.win-amd64-3.6\Release\dlib_build\dlib.vcxproj] (compiling source file '../../../../dlib/sockets/sockets_extensions.cpp')

C:\Users\HP\AppData\Local\Temp\pip-install-uqfplxdz\dlib_4d5c2e0ec61f4c228f2dc7828c073e11\dlib\sockets\sockets_kernel_2.cpp(1,1): error C1356: unable to find mspdbcore.dll [C:\Users\HP\AppData\Local\Temp\pip-install-uqfplxdz\dlib_4d5c2e0ec61f4c228f2dc7828c073e11\build\temp.win-amd64-3.6\Release\dlib_build\dlib.vcxproj] (compiling source file '../../../../dlib/sockets/sockets_kernel_2.cpp')

C:\Users\HP\AppData\Local\Temp\pip-install-uqfplxdz\dlib_4d5c2e0ec61f4c228f2dc7828c073e11\dlib\sockstreambuf\sockstreambuf.cpp(1,1): error C1356: unable to find mspdbcore.dll [C:\Users\HP\AppData\Local\Temp\pip-install-uqfplxdz\dlib_4d5c2e0ec61f4c228f2dc7828c073e11\build\temp.win-amd64-3.6\Release\dlib_build\dlib.vcxproj] (compiling source file '../../../../dlib/sockstreambuf/sockstreambuf.cpp')

sockstreambuf_unbuffered.cpp
server_kernel.cpp
server_iostream.cpp
server_http.cpp
multithreaded_object_extension.cpp

C:\Users\HP\AppData\Local\Temp\pip-install-uqfplxdz\dlib_4d5c2e0ec61f4c228f2dc7828c073e11\dlib\server\server_kernel.cpp(1,1): error C1356: unable to find mspdbcore.dll [C:\Users\HP\AppData\Local\Temp\pip-install-uqfplxdz\dlib_4d5c2e0ec61f4c228f2dc7828c073e11\build\temp.win-amd64-3.6\Release\dlib_build\dlib.vcxproj] (compiling source file '../../../../dlib/server/server_kernel.cpp')

C:\Users\HP\AppData\Local\Temp\pip-install-uqfplxdz\dlib_4d5c2e0ec61f4c228f2dc7828c073e11\dlib\sockstreambuf\sockstreambuf_unbuffered.cpp(1,1): error C1356: unable to find mspdbcore.dll [C:\Users\HP\AppData\Local\Temp\pip-install-uqfplxdz\dlib_4d5c2e0ec61f4c228f2dc7828c073e11\build\temp.win-amd64-3.6\Release\dlib_build\dlib.vcxproj] (compiling source file '../../../../dlib/sockstreambuf/sockstreambuf_unbuffered.cpp')

C:\Users\HP\AppData\Local\Temp\pip-install-uqfplxdz\dlib_4d5c2e0ec61f4c228f2dc7828c073e11\dlib\server\server_iostream.cpp(1,1): error C1356: unable to find mspdbcore.dll [C:\Users\HP\AppData\Local\Temp\pip-install-uqfplxdz\dlib_4d5c2e0ec61f4c228f2dc7828c073e11\build\temp.win-amd64-3.6\Release\dlib_build\dlib.vcxproj] (compiling source file '../../../../dlib/server/server_iostream.cpp')

C:\Users\HP\AppData\Local\Temp\pip-install-uqfplxdz\dlib_4d5c2e0ec61f4c228f2dc7828c073e11\dlib\server\server_http.cpp(1,1): error C1356: unable to find mspdbcore.dll [C:\Users\HP\AppData\Local\Temp\pip-install-uqfplxdz\dlib_4d5c2e0ec61f4c228f2dc7828c073e11\build\temp.win-amd64-3.6\Release\dlib_build\dlib.vcxproj] (compiling source file '../../../../dlib/server/server_http.cpp')

threaded_object_extension.cpp
threads_kernel_1.cpp
threads_kernel_2.cpp
threads_kernel_shared.cpp

C:\Users\HP\AppData\Local\Temp\pip-install-uqfplxdz\dlib_4d5c2e0ec61f4c228f2dc7828c073e11\dlib\threads\multithreaded_object_extension.cpp(1,1): error C1356: unable to find mspdbcore.dll [C:\Users\HP\AppData\Local\Temp\pip-install-uqfplxdz\dlib_4d5c2e0ec61f4c228f2dc7828c073e11\build\temp.win-amd64-3.6\Release\dlib_build\dlib.vcxproj] (compiling source file '../../../../dlib/threads/multithreaded_object_extension.cpp')

thread_pool_extension.cpp

C:\Users\HP\AppData\Local\Temp\pip-install-uqfplxdz\dlib_4d5c2e0ec61f4c228f2dc7828c073e11\dlib\threads\threads_kernel_1.cpp(1,1): error C1356: unable to find mspdbcore.dll [C:\Users\HP\AppData\Local\Temp\pip-install-uqfplxdz\dlib_4d5c2e0ec61f4c228f2dc7828c073e11\build\temp.win-amd64-3.6\Release\dlib_build\dlib.vcxproj] (compiling source file '../../../../dlib/threads/threads_kernel_1.cpp')

C:\Users\HP\AppData\Local\Temp\pip-install-uqfplxdz\dlib_4d5c2e0ec61f4c228f2dc7828c073e11\dlib\threads\threads_kernel_2.cpp(1,1): error C1356: unable to find mspdbcore.dll [C:\Users\HP\AppData\Local\Temp\pip-install-uqfplxdz\dlib_4d5c2e0ec61f4c228f2dc7828c073e11\build\temp.win-amd64-3.6\Release\dlib_build\dlib.vcxproj] (compiling source file '../../../../dlib/threads/threads_kernel_2.cpp')

C:\Users\HP\AppData\Local\Temp\pip-install-uqfplxdz\dlib_4d5c2e0ec61f4c228f2dc7828c073e11\dlib\threads\threads_kernel_shared.cpp(1,1): error C1356: unable to find mspdbcore.dll [C:\Users\HP\AppData\Local\Temp\pip-install-uqfplxdz\dlib_4d5c2e0ec61f4c228f2dc7828c073e11\build\temp.win-amd64-3.6\Release\dlib_build\dlib.vcxproj] (compiling source file '../../../../dlib/threads/threads_kernel_shared.cpp')

C:\Users\HP\AppData\Local\Temp\pip-install-uqfplxdz\dlib_4d5c2e0ec61f4c228f2dc7828c073e11\dlib\threads\threaded_object_extension.cpp(1,1): error C1356: unable to find mspdbcore.dll [C:\Users\HP\AppData\Local\Temp\pip-install-uqfplxdz\dlib_4d5c2e0ec61f4c228f2dc7828c073e11\build\temp.win-amd64-3.6\Release\dlib_build\dlib.vcxproj] (compiling source file '../../../../dlib/threads/threaded_object_extension.cpp')

async.cpp
timer.cpp
stack_trace.cpp

C:\Users\HP\AppData\Local\Temp\pip-install-uqfplxdz\dlib_4d5c2e0ec61f4c228f2dc7828c073e11\dlib\threads\thread_pool_extension.cpp(1,1): error C1356: unable to find mspdbcore.dll [C:\Users\HP\AppData\Local\Temp\pip-install-uqfplxdz\dlib_4d5c2e0ec61f4c228f2dc7828c073e11\build\temp.win-amd64-3.6\Release\dlib_build\dlib.vcxproj] (compiling source file '../../../../dlib/threads/thread_pool_extension.cpp')

cpu_dlib.cpp
tensor_tools.cpp

C:\Users\HP\AppData\Local\Temp\pip-install-uqfplxdz\dlib_4d5c2e0ec61f4c228f2dc7828c073e11\dlib\cuda\cpu_dlib.cpp(1,1): error C1356: unable to find mspdbcore.dll [C:\Users\HP\AppData\Local\Temp\pip-install-uqfplxdz\dlib_4d5c2e0ec61f4c228f2dc7828c073e11\build\temp.win-amd64-3.6\Release\dlib_build\dlib.vcxproj] (compiling source file '../../../../dlib/cuda/cpu_dlib.cpp')

C:\Users\HP\AppData\Local\Temp\pip-install-uqfplxdz\dlib_4d5c2e0ec61f4c228f2dc7828c073e11\dlib\timer\timer.cpp(1,1): error C1356: unable to find mspdbcore.dll [C:\Users\HP\AppData\Local\Temp\pip-install-uqfplxdz\dlib_4d5c2e0ec61f4c228f2dc7828c073e11\build\temp.win-amd64-3.6\Release\dlib_build\dlib.vcxproj] (compiling source file '../../../../dlib/timer/timer.cpp')

image_dataset_metadata.cpp
mnist.cpp

C:\Users\HP\AppData\Local\Temp\pip-install-uqfplxdz\dlib_4d5c2e0ec61f4c228f2dc7828c073e11\dlib\threads\async.cpp(1,1): error C1356: unable to find mspdbcore.dll [C:\Users\HP\AppData\Local\Temp\pip-install-uqfplxdz\dlib_4d5c2e0ec61f4c228f2dc7828c073e11\build\temp.win-amd64-3.6\Release\dlib_build\dlib.vcxproj] (compiling source file '../../../../dlib/threads/async.cpp')

C:\Users\HP\AppData\Local\Temp\pip-install-uqfplxdz\dlib_4d5c2e0ec61f4c228f2dc7828c073e11\dlib\stack_trace.cpp(1,1): error C1356: unable to find mspdbcore.dll [C:\Users\HP\AppData\Local\Temp\pip-install-uqfplxdz\dlib_4d5c2e0ec61f4c228f2dc7828c073e11\build\temp.win-amd64-3.6\Release\dlib_build\dlib.vcxproj] (compiling source file '../../../../dlib/stack_trace.cpp')

C:\Users\HP\AppData\Local\Temp\pip-install-uqfplxdz\dlib_4d5c2e0ec61f4c228f2dc7828c073e11\dlib\cuda\tensor_tools.cpp(1,1): error C1356: unable to find mspdbcore.dll [C:\Users\HP\AppData\Local\Temp\pip-install-uqfplxdz\dlib_4d5c2e0ec61f4c228f2dc7828c073e11\build\temp.win-amd64-3.6\Release\dlib_build\dlib.vcxproj] (compiling source file '../../../../dlib/cuda/tensor_tools.cpp')

cifar.cpp
global_function_search.cpp
kalman_filter.cpp

C:\Users\HP\AppData\Local\Temp\pip-install-uqfplxdz\dlib_4d5c2e0ec61f4c228f2dc7828c073e11\dlib\data_io\mnist.cpp(1,1): error C1356: unable to find mspdbcore.dll [C:\Users\HP\AppData\Local\Temp\pip-install-uqfplxdz\dlib_4d5c2e0ec61f4c228f2dc7828c073e11\build\temp.win-amd64-3.6\Release\dlib_build\dlib.vcxproj] (compiling source file '../../../../dlib/data_io/mnist.cpp')

C:\Users\HP\AppData\Local\Temp\pip-install-uqfplxdz\dlib_4d5c2e0ec61f4c228f2dc7828c073e11\dlib\data_io\image_dataset_metadata.cpp(1,1): error C1356: unable to find mspdbcore.dll [C:\Users\HP\AppData\Local\Temp\pip-install-uqfplxdz\dlib_4d5c2e0ec61f4c228f2dc7828c073e11\build\temp.win-amd64-3.6\Release\dlib_build\dlib.vcxproj] (compiling source file '../../../../dlib/data_io/image_dataset_metadata.cpp')

auto.cpp
widgets.cpp

C:\Users\HP\AppData\Local\Temp\pip-install-uqfplxdz\dlib_4d5c2e0ec61f4c228f2dc7828c073e11\dlib\global_optimization\global_function_search.cpp(1,1): error C1356: unable to find mspdbcore.dll [C:\Users\HP\AppData\Local\Temp\pip-install-uqfplxdz\dlib_4d5c2e0ec61f4c228f2dc7828c073e11\build\temp.win-amd64-3.6\Release\dlib_build\dlib.vcxproj] (compiling source file '../../../../dlib/global_optimization/global_function_search.cpp')

drawable.cpp

C:\Users\HP\AppData\Local\Temp\pip-install-uqfplxdz\dlib_4d5c2e0ec61f4c228f2dc7828c073e11\dlib\data_io\cifar.cpp(1,1): error C1356: unable to find mspdbcore.dll [C:\Users\HP\AppData\Local\Temp\pip-install-uqfplxdz\dlib_4d5c2e0ec61f4c228f2dc7828c073e11\build\temp.win-amd64-3.6\Release\dlib_build\dlib.vcxproj] (compiling source file '../../../../dlib/data_io/cifar.cpp')

C:\Users\HP\AppData\Local\Temp\pip-install-uqfplxdz\dlib_4d5c2e0ec61f4c228f2dc7828c073e11\dlib\filtering\kalman_filter.cpp(1,1): error C1356: unable to find mspdbcore.dll [C:\Users\HP\AppData\Local\Temp\pip-install-uqfplxdz\dlib_4d5c2e0ec61f4c228f2dc7828c073e11\build\temp.win-amd64-3.6\Release\dlib_build\dlib.vcxproj] (compiling source file '../../../../dlib/filtering/kalman_filter.cpp')

C:\Users\HP\AppData\Local\Temp\pip-install-uqfplxdz\dlib_4d5c2e0ec61f4c228f2dc7828c073e11\dlib\gui_widgets\widgets.cpp(1,1): error C1356: unable to find mspdbcore.dll [C:\Users\HP\AppData\Local\Temp\pip-install-uqfplxdz\dlib_4d5c2e0ec61f4c228f2dc7828c073e11\build\temp.win-amd64-3.6\Release\dlib_build\dlib.vcxproj] (compiling source file '../../../../dlib/gui_widgets/widgets.cpp')

C:\Users\HP\AppData\Local\Temp\pip-install-uqfplxdz\dlib_4d5c2e0ec61f4c228f2dc7828c073e11\dlib\svm\auto.cpp(1,1): error C1356: unable to find mspdbcore.dll [C:\Users\HP\AppData\Local\Temp\pip-install-uqfplxdz\dlib_4d5c2e0ec61f4c228f2dc7828c073e11\build\temp.win-amd64-3.6\Release\dlib_build\dlib.vcxproj] (compiling source file '../../../../dlib/svm/auto.cpp')

canvas_drawing.cpp
style.cpp
base_widgets.cpp

C:\Users\HP\AppData\Local\Temp\pip-install-uqfplxdz\dlib_4d5c2e0ec61f4c228f2dc7828c073e11\dlib\gui_widgets\drawable.cpp(1,1): error C1356: unable to find mspdbcore.dll [C:\Users\HP\AppData\Local\Temp\pip-install-uqfplxdz\dlib_4d5c2e0ec61f4c228f2dc7828c073e11\build\temp.win-amd64-3.6\Release\dlib_build\dlib.vcxproj] (compiling source file '../../../../dlib/gui_widgets/drawable.cpp')

gui_core_kernel_1.cpp
gui_core_kernel_2.cpp

C:\Users\HP\AppData\Local\Temp\pip-install-uqfplxdz\dlib_4d5c2e0ec61f4c228f2dc7828c073e11\dlib\gui_widgets\canvas_drawing.cpp(1,1): error C1356: unable to find mspdbcore.dll [C:\Users\HP\AppData\Local\Temp\pip-install-uqfplxdz\dlib_4d5c2e0ec61f4c228f2dc7828c073e11\build\temp.win-amd64-3.6\Release\dlib_build\dlib.vcxproj] (compiling source file '../../../../dlib/gui_widgets/canvas_drawing.cpp')

C:\Users\HP\AppData\Local\Temp\pip-install-uqfplxdz\dlib_4d5c2e0ec61f4c228f2dc7828c073e11\dlib\gui_widgets\base_widgets.cpp(1,1): error C1356: unable to find mspdbcore.dll [C:\Users\HP\AppData\Local\Temp\pip-install-uqfplxdz\dlib_4d5c2e0ec61f4c228f2dc7828c073e11\build\temp.win-amd64-3.6\Release\dlib_build\dlib.vcxproj] (compiling source file '../../../../dlib/gui_widgets/base_widgets.cpp')

png_loader.cpp
save_png.cpp

C:\Users\HP\AppData\Local\Temp\pip-install-uqfplxdz\dlib_4d5c2e0ec61f4c228f2dc7828c073e11\dlib\gui_core\gui_core_kernel_1.cpp(1,1): error C1356: unable to find mspdbcore.dll [C:\Users\HP\AppData\Local\Temp\pip-install-uqfplxdz\dlib_4d5c2e0ec61f4c228f2dc7828c073e11\build\temp.win-amd64-3.6\Release\dlib_build\dlib.vcxproj] (compiling source file '../../../../dlib/gui_core/gui_core_kernel_1.cpp')

C:\Users\HP\AppData\Local\Temp\pip-install-uqfplxdz\dlib_4d5c2e0ec61f4c228f2dc7828c073e11\dlib\gui_core\gui_core_kernel_2.cpp(1,1): error C1356: unable to find mspdbcore.dll [C:\Users\HP\AppData\Local\Temp\pip-install-uqfplxdz\dlib_4d5c2e0ec61f4c228f2dc7828c073e11\build\temp.win-amd64-3.6\Release\dlib_build\dlib.vcxproj] (compiling source file '../../../../dlib/gui_core/gui_core_kernel_2.cpp')

jpeg_loader.cpp
save_jpeg.cpp

C:\Users\HP\AppData\Local\Temp\pip-install-uqfplxdz\dlib_4d5c2e0ec61f4c228f2dc7828c073e11\dlib\gui_widgets\style.cpp(1,1): error C1356: unable to find mspdbcore.dll [C:\Users\HP\AppData\Local\Temp\pip-install-uqfplxdz\dlib_4d5c2e0ec61f4c228f2dc7828c073e11\build\temp.win-amd64-3.6\Release\dlib_build\dlib.vcxproj] (compiling source file '../../../../dlib/gui_widgets/style.cpp')

C:\Users\HP\AppData\Local\Temp\pip-install-uqfplxdz\dlib_4d5c2e0ec61f4c228f2dc7828c073e11\dlib\image_saver\save_png.cpp(1,1): error C1356: unable to find mspdbcore.dll [C:\Users\HP\AppData\Local\Temp\pip-install-uqfplxdz\dlib_4d5c2e0ec61f4c228f2dc7828c073e11\build\temp.win-amd64-3.6\Release\dlib_build\dlib.vcxproj] (compiling source file '../../../../dlib/image_saver/save_png.cpp')

C:\Users\HP\AppData\Local\Temp\pip-install-uqfplxdz\dlib_4d5c2e0ec61f4c228f2dc7828c073e11\dlib\image_loader\png_loader.cpp(1,1): error C1356: unable to find mspdbcore.dll [C:\Users\HP\AppData\Local\Temp\pip-install-uqfplxdz\dlib_4d5c2e0ec61f4c228f2dc7828c073e11\build\temp.win-amd64-3.6\Release\dlib_build\dlib.vcxproj] (compiling source file '../../../../dlib/image_loader/png_loader.cpp')

C:\Users\HP\AppData\Local\Temp\pip-install-uqfplxdz\dlib_4d5c2e0ec61f4c228f2dc7828c073e11\dlib\image_saver\save_jpeg.cpp(1,1): error C1356: unable to find mspdbcore.dll [C:\Users\HP\AppData\Local\Temp\pip-install-uqfplxdz\dlib_4d5c2e0ec61f4c228f2dc7828c073e11\build\temp.win-amd64-3.6\Release\dlib_build\dlib.vcxproj] (compiling source file '../../../../dlib/image_saver/save_jpeg.cpp')

C:\Users\HP\AppData\Local\Temp\pip-install-uqfplxdz\dlib_4d5c2e0ec61f4c228f2dc7828c073e11\dlib\image_loader\jpeg_loader.cpp(1,1): error C1356: unable to find mspdbcore.dll [C:\Users\HP\AppData\Local\Temp\pip-install-uqfplxdz\dlib_4d5c2e0ec61f4c228f2dc7828c073e11\build\temp.win-amd64-3.6\Release\dlib_build\dlib.vcxproj] (compiling source file '../../../../dlib/image_loader/jpeg_loader.cpp')

Traceback (most recent call last):

File "", line 1, in File "C:\Users\HP\AppData\Local\Temp\pip-install-uqfplxdz\dlib_4d5c2e0ec61f4c228f2dc7828c073e11\setup.py", line 261, in 'Topic :: Software Development', File "C:\Users\HP\PycharmProjects\FaceRecognitionRealTime\venv\lib\site-packages\setuptoolsinit.py", line 153, in setup return distutils.core.setup(attrs) File "C:\Users\HP\AppData\Local\Programs\Python\Python36\lib\distutils\core.py", line 148, in setup dist.run_commands() File "C:\Users\HP\AppData\Local\Programs\Python\Python36\lib\distutils\dist.py", line 955, in run_commands self.run_command(cmd) File "C:\Users\HP\AppData\Local\Programs\Python\Python36\lib\distutils\dist.py", line 974, in run_command cmd_obj.run() File "C:\Users\HP\PycharmProjects\FaceRecognitionRealTime\venv\lib\site-packages\wheel\bdist_wheel.py", line 299, in run self.run_command('build') File "C:\Users\HP\AppData\Local\Programs\Python\Python36\lib\distutils\cmd.py", line 313, in run_command self.distribution.run_command(command) File "C:\Users\HP\AppData\Local\Programs\Python\Python36\lib\distutils\dist.py", line 974, in run_command cmd_obj.run() File "C:\Users\HP\AppData\Local\Programs\Python\Python36\lib\distutils\command\build.py", line 135, in run self.run_command(cmd_name) File "C:\Users\HP\AppData\Local\Programs\Python\Python36\lib\distutils\cmd.py", line 313, in run_command self.distribution.run_command(command) File "C:\Users\HP\AppData\Local\Programs\Python\Python36\lib\distutils\dist.py", line 974, in run_command cmd_obj.run() File "C:\Users\HP\AppData\Local\Temp\pip-install-uqfplxdz\dlib_4d5c2e0ec61f4c228f2dc7828c073e11\setup.py", line 134, in run self.build_extension(ext) File "C:\Users\HP\AppData\Local\Temp\pip-install-uqfplxdz\dlib_4d5c2e0ec61f4c228f2dc7828c073e11\setup.py", line 174, in build_extension subprocess.check_call(cmake_build, cwd=build_folder) File "C:\Users\HP\AppData\Local\Programs\Python\Python36\lib\subprocess.py", line 291, in check_call raise CalledProcessError(retcode, cmd) subprocess.CalledProcessError: Command '['cmake', '--build', '.', '--config', 'Release', '--', '/m']' returned non-zero exit status 1. ERROR: Failed building wheel for dlib ERROR: Command errored out with exit status 1: command: 'C:\Users\HP\PycharmProjects\FaceRecognitionRealTime\venv\Scripts\python.exe' -u -c 'import io, os, sys, setuptools, tokenize; sys.argv[0] = '"'"'C:\Users\HP\AppData\Local\Temp\pip-install-uqfplxdz\dlib_4d5c2e0ec61f4c228f2dc7828c073e11\setup.py'"'"'; file='"'"'C:\Users\HP\AppData\Local\Temp\pip-install-uqfplxdz\dlib_4d5c2e0ec61f4c228f2dc7828c073e11\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'"'"'))' install --record 'C:\Users\HP\AppData\Local\Temp\pip-record-v2rvyw6q\install-record.txt' --single-version-externally-managed --compile --install-headers 'C:\Users\HP\PycharmProjects\FaceRecognitionRealTime\venv\include\site\python3.6\dlib' cwd: C:\Users\HP\AppData\Local\Temp\pip-install-uqfplxdz\dlib_4d5c2e0ec61f4c228f2dc7828c073e11 Complete output (513 lines): running install C:\Users\HP\PycharmProjects\FaceRecognitionRealTime\venv\lib\site-packages\setuptools\command\install.py:37: SetuptoolsDeprecationWarning: setup.py install is deprecated. Use build and pip and other standards-based tools. setuptools.SetuptoolsDeprecationWarning, running build running build_py package init file 'tools\python\dlibinit.py' not found (or not a regular file) running build_ext Building extension for Python 3.6.0 (v3.6.0:41df79263a11, Dec 23 2016, 08:06:12) [MSC v.1900 64 bit (AMD64)] Invoking CMake setup: 'cmake C:\Users\HP\AppData\Local\Temp\pip-install-uqfplxdz\dlib_4d5c2e0ec61f4c228f2dc7828c073e11\tools\python -DCMAKE_LIBRARY_OUTPUT_DIRECTORY=C:\Users\HP\AppData\Local\Temp\pip-install-uqfplxdz\dlib_4d5c2e0ec61f4c228f2dc7828c073e11\build\lib.win-amd64-3.6 -DPYTHON_EXECUTABLE=C:\Users\HP\PycharmProjects\FaceRecognitionRealTime\venv\Scripts\python.exe -DCMAKE_LIBRARY_OUTPUT_DIRECTORY_RELEASE=C:\Users\HP\AppData\Local\Temp\pip-install-uqfplxdz\dlib_4d5c2e0ec61f4c228f2dc7828c073e11\build\lib.win-amd64-3.6 -A x64' -- Building for: Visual Studio 17 2022 CMake Deprecation Warning at CMakeLists.txt:2 (CMAKE_MINIMUM_REQUIRED): Compatibility with CMake < 3.5 will be removed from a future version of CMake.

  Update the VERSION argument <min> value or use a ...<max> suffix to tell
  CMake that the project does not need compatibility with older versions.

-- Selecting Windows SDK version 10.0.22621.0 to target Windows 10.0.22631.
-- The C compiler identification is MSVC 19.39.33519.0
-- The CXX compiler identification is MSVC 19.39.33519.0
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working C compiler: C:/Program Files/Microsoft Visual Studio/2022/Community/VC/Tools/MSVC/14.39.33519/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/Microsoft Visual Studio/2022/Community/VC/Tools/MSVC/14.39.33519/bin/Hostx64/x64/cl.exe - skipped
-- Detecting CXX compile features
-- Detecting CXX compile features - done
CMake Deprecation Warning at C:/Users/HP/AppData/Local/Temp/pip-install-uqfplxdz/dlib_4d5c2e0ec61f4c228f2dc7828c073e11/dlib/cmake_utils/tell_visual_studio_to_use_static_runtime.cmake:5 (cmake_minimum_required):
  Compatibility with CMake < 3.5 will be removed from a future version of
  CMake.

  Update the VERSION argument <min> value or use a ...<max> suffix to tell
  CMake that the project does not need compatibility with older versions.
Call Stack (most recent call first):
  CMakeLists.txt:35 (include)

CMake Deprecation Warning at C:/Users/HP/AppData/Local/Temp/pip-install-uqfplxdz/dlib_4d5c2e0ec61f4c228f2dc7828c073e11/dlib/external/pybind11/CMakeLists.txt:8 (cmake_minimum_required):
  Compatibility with CMake < 3.5 will be removed from a future version of
  CMake.

  Update the VERSION argument <min> value or use a ...<max> suffix to tell
  CMake that the project does not need compatibility with older versions.

CMake Deprecation Warning at C:/Users/HP/AppData/Local/Temp/pip-install-uqfplxdz/dlib_4d5c2e0ec61f4c228f2dc7828c073e11/dlib/external/pybind11/tools/pybind11Tools.cmake:8 (cmake_minimum_required):
  Compatibility with CMake < 3.5 will be removed from a future version of
  CMake.

  Update the VERSION argument <min> value or use a ...<max> suffix to tell
  CMake that the project does not need compatibility with older versions.
Call Stack (most recent call first):
  C:/Users/HP/AppData/Local/Temp/pip-install-uqfplxdz/dlib_4d5c2e0ec61f4c228f2dc7828c073e11/dlib/external/pybind11/CMakeLists.txt:33 (include)

CMake Warning (dev) at C:/Users/HP/AppData/Local/Temp/pip-install-uqfplxdz/dlib_4d5c2e0ec61f4c228f2dc7828c073e11/dlib/external/pybind11/tools/FindPythonLibsNew.cmake:60 (find_package):
  Policy CMP0148 is not set: The FindPythonInterp and FindPythonLibs modules
  are removed.  Run "cmake --help-policy CMP0148" for policy details.  Use
  the cmake_policy command to set the policy and suppress this warning.

Call Stack (most recent call first):
  C:/Users/HP/AppData/Local/Temp/pip-install-uqfplxdz/dlib_4d5c2e0ec61f4c228f2dc7828c073e11/dlib/external/pybind11/tools/pybind11Tools.cmake:16 (find_package)
  C:/Users/HP/AppData/Local/Temp/pip-install-uqfplxdz/dlib_4d5c2e0ec61f4c228f2dc7828c073e11/dlib/external/pybind11/CMakeLists.txt:33 (include)
This warning is for project developers.  Use -Wno-dev to suppress it.

-- Found PythonInterp: C:/Users/HP/PycharmProjects/FaceRecognitionRealTime/venv/Scripts/python.exe (found version "3.6")
-- Found PythonLibs: C:/Users/HP/AppData/Local/Programs/Python/Python36/libs/Python36.lib
-- pybind11 v2.2.4
CMake Deprecation Warning at C:/Users/HP/AppData/Local/Temp/pip-install-uqfplxdz/dlib_4d5c2e0ec61f4c228f2dc7828c073e11/dlib/CMakeLists.txt:7 (cmake_minimum_required):
  Compatibility with CMake < 3.5 will be removed from a future version of
  CMake.

  Update the VERSION argument <min> value or use a ...<max> suffix to tell
  CMake that the project does not need compatibility with older versions.

-- Using CMake version: 3.28.3
-- Compiling dlib version: 19.24.0
CMake Deprecation Warning at C:/Users/HP/AppData/Local/Temp/pip-install-uqfplxdz/dlib_4d5c2e0ec61f4c228f2dc7828c073e11/dlib/cmake_utils/set_compiler_specific_options.cmake:2 (cmake_minimum_required):
  Compatibility with CMake < 3.5 will be removed from a future version of
  CMake.

  Update the VERSION argument <min> value or use a ...<max> suffix to tell
  CMake that the project does not need compatibility with older versions.
Call Stack (most recent call first):
  C:/Users/HP/AppData/Local/Temp/pip-install-uqfplxdz/dlib_4d5c2e0ec61f4c228f2dc7828c073e11/dlib/CMakeLists.txt:33 (include)

CMake Deprecation Warning at C:/Users/HP/AppData/Local/Temp/pip-install-uqfplxdz/dlib_4d5c2e0ec61f4c228f2dc7828c073e11/dlib/cmake_utils/check_if_sse4_instructions_executable_on_host.cmake:3 (cmake_minimum_required):
  Compatibility with CMake < 3.5 will be removed from a future version of
  CMake.

  Update the VERSION argument <min> value or use a ...<max> suffix to tell
  CMake that the project does not need compatibility with older versions.
Call Stack (most recent call first):
  C:/Users/HP/AppData/Local/Temp/pip-install-uqfplxdz/dlib_4d5c2e0ec61f4c228f2dc7828c073e11/dlib/cmake_utils/set_compiler_specific_options.cmake:13 (include)
  C:/Users/HP/AppData/Local/Temp/pip-install-uqfplxdz/dlib_4d5c2e0ec61f4c228f2dc7828c073e11/dlib/CMakeLists.txt:33 (include)

CMake Deprecation Warning at C:/Users/HP/AppData/Local/Temp/pip-install-uqfplxdz/dlib_4d5c2e0ec61f4c228f2dc7828c073e11/dlib/cmake_utils/test_for_sse4/CMakeLists.txt:2 (cmake_minimum_required):
  Compatibility with CMake < 3.5 will be removed from a future version of
  CMake.

  Update the VERSION argument <min> value or use a ...<max> suffix to tell
  CMake that the project does not need compatibility with older versions.

CMake Deprecation Warning at C:/Users/HP/AppData/Local/Temp/pip-install-uqfplxdz/dlib_4d5c2e0ec61f4c228f2dc7828c073e11/dlib/cmake_utils/set_compiler_specific_options.cmake:2 (cmake_minimum_required):
  Compatibility with CMake < 3.5 will be removed from a future version of
  CMake.

  Update the VERSION argument <min> value or use a ...<max> suffix to tell
  CMake that the project does not need compatibility with older versions.
Call Stack (most recent call first):
  C:/Users/HP/AppData/Local/Temp/pip-install-uqfplxdz/dlib_4d5c2e0ec61f4c228f2dc7828c073e11/dlib/cmake_utils/test_for_sse4/CMakeLists.txt:8 (include)

CMake Deprecation Warning at C:/Users/HP/AppData/Local/Temp/pip-install-uqfplxdz/dlib_4d5c2e0ec61f4c228f2dc7828c073e11/dlib/cmake_utils/check_if_avx_instructions_executable_on_host.cmake:3 (cmake_minimum_required):
  Compatibility with CMake < 3.5 will be removed from a future version of
  CMake.

  Update the VERSION argument <min> value or use a ...<max> suffix to tell
  CMake that the project does not need compatibility with older versions.
Call Stack (most recent call first):
  C:/Users/HP/AppData/Local/Temp/pip-install-uqfplxdz/dlib_4d5c2e0ec61f4c228f2dc7828c073e11/dlib/cmake_utils/set_compiler_specific_options.cmake:17 (include)
  C:/Users/HP/AppData/Local/Temp/pip-install-uqfplxdz/dlib_4d5c2e0ec61f4c228f2dc7828c073e11/dlib/CMakeLists.txt:33 (include)

CMake Deprecation Warning at C:/Users/HP/AppData/Local/Temp/pip-install-uqfplxdz/dlib_4d5c2e0ec61f4c228f2dc7828c073e11/dlib/cmake_utils/test_for_avx/CMakeLists.txt:2 (cmake_minimum_required):
  Compatibility with CMake < 3.5 will be removed from a future version of
  CMake.

  Update the VERSION argument <min> value or use a ...<max> suffix to tell
  CMake that the project does not need compatibility with older versions.

CMake Deprecation Warning at C:/Users/HP/AppData/Local/Temp/pip-install-uqfplxdz/dlib_4d5c2e0ec61f4c228f2dc7828c073e11/dlib/cmake_utils/set_compiler_specific_options.cmake:2 (cmake_minimum_required):
  Compatibility with CMake < 3.5 will be removed from a future version of
  CMake.

  Update the VERSION argument <min> value or use a ...<max> suffix to tell
  CMake that the project does not need compatibility with older versions.
Call Stack (most recent call first):
  C:/Users/HP/AppData/Local/Temp/pip-install-uqfplxdz/dlib_4d5c2e0ec61f4c228f2dc7828c073e11/dlib/cmake_utils/test_for_avx/CMakeLists.txt:8 (include)

CMake Deprecation Warning at C:/Users/HP/AppData/Local/Temp/pip-install-uqfplxdz/dlib_4d5c2e0ec61f4c228f2dc7828c073e11/dlib/cmake_utils/check_if_neon_available.cmake:3 (cmake_minimum_required):
  Compatibility with CMake < 3.5 will be removed from a future version of
  CMake.

  Update the VERSION argument <min> value or use a ...<max> suffix to tell
  CMake that the project does not need compatibility with older versions.
Call Stack (most recent call first):
  C:/Users/HP/AppData/Local/Temp/pip-install-uqfplxdz/dlib_4d5c2e0ec61f4c228f2dc7828c073e11/dlib/cmake_utils/set_compiler_specific_options.cmake:21 (include)
  C:/Users/HP/AppData/Local/Temp/pip-install-uqfplxdz/dlib_4d5c2e0ec61f4c228f2dc7828c073e11/dlib/CMakeLists.txt:33 (include)

CMake Deprecation Warning at C:/Users/HP/AppData/Local/Temp/pip-install-uqfplxdz/dlib_4d5c2e0ec61f4c228f2dc7828c073e11/dlib/cmake_utils/test_for_neon/CMakeLists.txt:2 (cmake_minimum_required):
  Compatibility with CMake < 3.5 will be removed from a future version of
  CMake.

  Update the VERSION argument <min> value or use a ...<max> suffix to tell
  CMake that the project does not need compatibility with older versions.

-- 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 SSE2 instructions
CMake Deprecation Warning at C:/Users/HP/AppData/Local/Temp/pip-install-uqfplxdz/dlib_4d5c2e0ec61f4c228f2dc7828c073e11/dlib/cmake_utils/use_cpp_11.cmake:5 (cmake_minimum_required):
  Compatibility with CMake < 3.5 will be removed from a future version of
  CMake.

  Update the VERSION argument <min> value or use a ...<max> suffix to tell
  CMake that the project does not need compatibility with older versions.
Call Stack (most recent call first):
  C:/Users/HP/AppData/Local/Temp/pip-install-uqfplxdz/dlib_4d5c2e0ec61f4c228f2dc7828c073e11/dlib/CMakeLists.txt:50 (include)

CMake Deprecation Warning at C:/Users/HP/AppData/Local/Temp/pip-install-uqfplxdz/dlib_4d5c2e0ec61f4c228f2dc7828c073e11/dlib/cmake_utils/find_libpng.cmake:4 (cmake_minimum_required):
  Compatibility with CMake < 3.5 will be removed from a future version of
  CMake.

  Update the VERSION argument <min> value or use a ...<max> suffix to tell
  CMake that the project does not need compatibility with older versions.
Call Stack (most recent call first):
  C:/Users/HP/AppData/Local/Temp/pip-install-uqfplxdz/dlib_4d5c2e0ec61f4c228f2dc7828c073e11/dlib/CMakeLists.txt:443 (include)

CMake Deprecation Warning at C:/Users/HP/AppData/Local/Temp/pip-install-uqfplxdz/dlib_4d5c2e0ec61f4c228f2dc7828c073e11/dlib/cmake_utils/check_if_neon_available.cmake:3 (cmake_minimum_required):
  Compatibility with CMake < 3.5 will be removed from a future version of
  CMake.

  Update the VERSION argument <min> value or use a ...<max> suffix to tell
  CMake that the project does not need compatibility with older versions.
Call Stack (most recent call first):
  C:/Users/HP/AppData/Local/Temp/pip-install-uqfplxdz/dlib_4d5c2e0ec61f4c228f2dc7828c073e11/dlib/CMakeLists.txt:485 (include)

CMake Deprecation Warning at C:/Users/HP/AppData/Local/Temp/pip-install-uqfplxdz/dlib_4d5c2e0ec61f4c228f2dc7828c073e11/dlib/cmake_utils/find_libjpeg.cmake:4 (cmake_minimum_required):
  Compatibility with CMake < 3.5 will be removed from a future version of
  CMake.

  Update the VERSION argument <min> value or use a ...<max> suffix to tell
  CMake that the project does not need compatibility with older versions.
Call Stack (most recent call first):
  C:/Users/HP/AppData/Local/Temp/pip-install-uqfplxdz/dlib_4d5c2e0ec61f4c228f2dc7828c073e11/dlib/CMakeLists.txt:504 (include)

-- Searching for BLAS and LAPACK
-- Searching for BLAS and LAPACK
-- Performing Test CMAKE_HAVE_LIBC_PTHREAD
-- Performing Test CMAKE_HAVE_LIBC_PTHREAD - Failed
-- Looking for pthread_create in pthreads
-- Looking for pthread_create in pthreads - not found
-- Looking for pthread_create in pthread
-- Looking for pthread_create in pthread - not found
-- Found Threads: TRUE
CMake Warning (dev) at C:/Users/HP/AppData/Local/Temp/pip-install-uqfplxdz/dlib_4d5c2e0ec61f4c228f2dc7828c073e11/dlib/CMakeLists.txt:628 (find_package):
  Policy CMP0146 is not set: The FindCUDA module is removed.  Run "cmake
  --help-policy CMP0146" for policy details.  Use the cmake_policy command to
  set the policy and suppress this warning.

This warning is for project developers.  Use -Wno-dev to suppress it.

CUDA_TOOLKIT_ROOT_DIR not found or specified
-- 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")
-- 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.
-- DID NOT FIND CUDA
-- Disabling CUDA support for dlib.  DLIB WILL NOT USE CUDA
-- C++11 activated.
-- Configuring done (31.7s)
-- Generating done (0.2s)
-- Build files have been written to: C:/Users/HP/AppData/Local/Temp/pip-install-uqfplxdz/dlib_4d5c2e0ec61f4c228f2dc7828c073e11/build/temp.win-amd64-3.6/Release
Invoking CMake build: 'cmake --build . --config Release -- /m'
MSBuild version 17.9.5+33de0b227 for .NET Framework

C:\Program Files\Microsoft Visual Studio\2022\Community\MSBuild\Microsoft\VC\v170\Microsoft.CppBuild.targets(541,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\HP\AppData\Local\Temp\pip-install-uqfplxdz\dlib_4d5c2e0ec61f4c228f2dc7828c073e11\build\temp.win-amd64-3.6\Release\ZERO_CHECK.vcxproj]
  1>Checking Build System
C:\Program Files\Microsoft Visual Studio\2022\Community\MSBuild\Microsoft\VC\v170\Microsoft.CppBuild.targets(541,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\HP\AppData\Local\Temp\pip-install-uqfplxdz\dlib_4d5c2e0ec61f4c228f2dc7828c073e11\build\temp.win-amd64-3.6\Release\dlib_build\dlib.vcxproj]
  Building Custom Rule C:/Users/HP/AppData/Local/Temp/pip-install-uqfplxdz/dlib_4d5c2e0ec61f4c228f2dc7828c073e11/dlib/CMakeLists.txt
  base64_kernel_1.cpp
  bigint_kernel_1.cpp
  bigint_kernel_2.cpp
  bit_stream_kernel_1.cpp
C:\Users\HP\AppData\Local\Temp\pip-install-uqfplxdz\dlib_4d5c2e0ec61f4c228f2dc7828c073e11\dlib\bit_stream\bit_stream_kernel_1.cpp(1,1): error C1356: unable to find mspdbcore.dll [C:\Users\HP\AppData\Local\Temp\pip-install-uqfplxdz\dlib_4d5c2e0ec61f4c228f2dc7828c073e11\build\temp.win-amd64-3.6\Release\dlib_build\dlib.vcxproj]
  (compiling source file '../../../../dlib/bit_stream/bit_stream_kernel_1.cpp')

  entropy_decoder_kernel_1.cpp
  entropy_decoder_kernel_2.cpp
C:\Users\HP\AppData\Local\Temp\pip-install-uqfplxdz\dlib_4d5c2e0ec61f4c228f2dc7828c073e11\dlib\entropy_decoder\entropy_decoder_kernel_1.cpp(1,1): error C1356: unable to find mspdbcore.dll [C:\Users\HP\AppData\Local\Temp\pip-install-uqfplxdz\dlib_4d5c2e0ec61f4c228f2dc7828c073e11\build\temp.win-amd64-3.6\Release\dlib_build\dlib.vcxproj]
  (compiling source file '../../../../dlib/entropy_decoder/entropy_decoder_kernel_1.cpp')

C:\Users\HP\AppData\Local\Temp\pip-install-uqfplxdz\dlib_4d5c2e0ec61f4c228f2dc7828c073e11\dlib\entropy_decoder\entropy_decoder_kernel_2.cpp(1,1): error C1356: unable to find mspdbcore.dll [C:\Users\HP\AppData\Local\Temp\pip-install-uqfplxdz\dlib_4d5c2e0ec61f4c228f2dc7828c073e11\build\temp.win-amd64-3.6\Release\dlib_build\dlib.vcxproj]
  (compiling source file '../../../../dlib/entropy_decoder/entropy_decoder_kernel_2.cpp')

  entropy_encoder_kernel_1.cpp
  entropy_encoder_kernel_2.cpp
C:\Users\HP\AppData\Local\Temp\pip-install-uqfplxdz\dlib_4d5c2e0ec61f4c228f2dc7828c073e11\dlib\entropy_encoder\entropy_encoder_kernel_1.cpp(1,1): error C1356: unable to find mspdbcore.dll [C:\Users\HP\AppData\Local\Temp\pip-install-uqfplxdz\dlib_4d5c2e0ec61f4c228f2dc7828c073e11\build\temp.win-amd64-3.6\Release\dlib_build\dlib.vcxproj]
  (compiling source file '../../../../dlib/entropy_encoder/entropy_encoder_kernel_1.cpp')

  md5_kernel_1.cpp
C:\Users\HP\AppData\Local\Temp\pip-install-uqfplxdz\dlib_4d5c2e0ec61f4c228f2dc7828c073e11\dlib\entropy_encoder\entropy_encoder_kernel_2.cpp(1,1): error C1356: unable to find mspdbcore.dll [C:\Users\HP\AppData\Local\Temp\pip-install-uqfplxdz\dlib_4d5c2e0ec61f4c228f2dc7828c073e11\build\temp.win-amd64-3.6\Release\dlib_build\dlib.vcxproj]
  (compiling source file '../../../../dlib/entropy_encoder/entropy_encoder_kernel_2.cpp')

  tokenizer_kernel_1.cpp
C:\Users\HP\AppData\Local\Temp\pip-install-uqfplxdz\dlib_4d5c2e0ec61f4c228f2dc7828c073e11\dlib\md5\md5_kernel_1.cpp(1,1): error C1356: unable to find mspdbcore.dll [C:\Users\HP\AppData\Local\Temp\pip-install-uqfplxdz\dlib_4d5c2e0ec61f4c228f2dc7828c073e11\build\temp.win-amd64-3.6\Release\dlib_build\dlib.vcxproj]
  (compiling source file '../../../../dlib/md5/md5_kernel_1.cpp')

  unicode.cpp
C:\Users\HP\AppData\Local\Temp\pip-install-uqfplxdz\dlib_4d5c2e0ec61f4c228f2dc7828c073e11\dlib\tokenizer\tokenizer_kernel_1.cpp(1,1): error C1356: unable to find mspdbcore.dll [C:\Users\HP\AppData\Local\Temp\pip-install-uqfplxdz\dlib_4d5c2e0ec61f4c228f2dc7828c073e11\build\temp.win-amd64-3.6\Release\dlib_build\dlib.vcxproj]
  (compiling source file '../../../../dlib/tokenizer/tokenizer_kernel_1.cpp')

  test_for_odr_violations.cpp
C:\Users\HP\AppData\Local\Temp\pip-install-uqfplxdz\dlib_4d5c2e0ec61f4c228f2dc7828c073e11\dlib\unicode\unicode.cpp(1,1): error C1356: unable to find mspdbcore.dll [C:\Users\HP\AppData\Local\Temp\pip-install-uqfplxdz\dlib_4d5c2e0ec61f4c228f2dc7828c073e11\build\temp.win-amd64-3.6\Release\dlib_build\dlib.vcxproj]
  sockets_kernel_1.cpp
  (compiling source file '../../../../dlib/unicode/unicode.cpp')

C:\Users\HP\AppData\Local\Temp\pip-install-uqfplxdz\dlib_4d5c2e0ec61f4c228f2dc7828c073e11\dlib\test_for_odr_violations.cpp(1,1): error C1356: unable to find mspdbcore.dll [C:\Users\HP\AppData\Local\Temp\pip-install-uqfplxdz\dlib_4d5c2e0ec61f4c228f2dc7828c073e11\build\temp.win-amd64-3.6\Release\dlib_build\dlib.vcxproj]
  (compiling source file '../../../../dlib/test_for_odr_violations.cpp')

  bsp.cpp
  dir_nav_kernel_1.cpp
C:\Users\HP\AppData\Local\Temp\pip-install-uqfplxdz\dlib_4d5c2e0ec61f4c228f2dc7828c073e11\dlib\sockets\sockets_kernel_1.cpp(1,1): error C1356: unable to find mspdbcore.dll [C:\Users\HP\AppData\Local\Temp\pip-install-uqfplxdz\dlib_4d5c2e0ec61f4c228f2dc7828c073e11\build\temp.win-amd64-3.6\Release\dlib_build\dlib.vcxproj]
  (compiling source file '../../../../dlib/sockets/sockets_kernel_1.cpp')

  dir_nav_kernel_2.cpp
C:\Users\HP\AppData\Local\Temp\pip-install-uqfplxdz\dlib_4d5c2e0ec61f4c228f2dc7828c073e11\dlib\bsp\bsp.cpp(1,1): error C1356: unable to find mspdbcore.dll [C:\Users\HP\AppData\Local\Temp\pip-install-uqfplxdz\dlib_4d5c2e0ec61f4c228f2dc7828c073e11\build\temp.win-amd64-3.6\Release\dlib_build\dlib.vcxproj]
  (compiling source file '../../../../dlib/bsp/bsp.cpp')

C:\Users\HP\AppData\Local\Temp\pip-install-uqfplxdz\dlib_4d5c2e0ec61f4c228f2dc7828c073e11\dlib\dir_nav\dir_nav_kernel_1.cpp(1,1): error C1356: unable to find mspdbcore.dll [C:\Users\HP\AppData\Local\Temp\pip-install-uqfplxdz\dlib_4d5c2e0ec61f4c228f2dc7828c073e11\build\temp.win-amd64-3.6\Release\dlib_build\dlib.vcxproj]
  (compiling source file '../../../../dlib/dir_nav/dir_nav_kernel_1.cpp')

C:\Users\HP\AppData\Local\Temp\pip-install-uqfplxdz\dlib_4d5c2e0ec61f4c228f2dc7828c073e11\dlib\dir_nav\dir_nav_kernel_2.cpp(1,1): error C1356: unable to find mspdbcore.dll [C:\Users\HP\AppData\Local\Temp\pip-install-uqfplxdz\dlib_4d5c2e0ec61f4c228f2dc7828c073e11\build\temp.win-amd64-3.6\Release\dlib_build\dlib.vcxproj]
  (compiling source file '../../../../dlib/dir_nav/dir_nav_kernel_2.cpp')

  dir_nav_extensions.cpp
  fonts.cpp
  linker_kernel_1.cpp
C:\Users\HP\AppData\Local\Temp\pip-install-uqfplxdz\dlib_4d5c2e0ec61f4c228f2dc7828c073e11\dlib\dir_nav\dir_nav_extensions.cpp(1,1): error C1356: unable to find mspdbcore.dll [C:\Users\HP\AppData\Local\Temp\pip-install-uqfplxdz\dlib_4d5c2e0ec61f4c228f2dc7828c073e11\build\temp.win-amd64-3.6\Release\dlib_build\dlib.vcxproj]
  (compiling source file '../../../../dlib/dir_nav/dir_nav_extensions.cpp')

C:\Users\HP\AppData\Local\Temp\pip-install-uqfplxdz\dlib_4d5c2e0ec61f4c228f2dc7828c073e11\dlib\gui_widgets\fonts.cpp(1,1): error C1356: unable to find mspdbcore.dll [C:\Users\HP\AppData\Local\Temp\pip-install-uqfplxdz\dlib_4d5c2e0ec61f4c228f2dc7828c073e11\build\temp.win-amd64-3.6\Release\dlib_build\dlib.vcxproj]
  (compiling source file '../../../../dlib/gui_widgets/fonts.cpp')

C:\Users\HP\AppData\Local\Temp\pip-install-uqfplxdz\dlib_4d5c2e0ec61f4c228f2dc7828c073e11\dlib\linker\linker_kernel_1.cpp(1,1): error C1356: unable to find mspdbcore.dll [C:\Users\HP\AppData\Local\Temp\pip-install-uqfplxdz\dlib_4d5c2e0ec61f4c228f2dc7828c073e11\build\temp.win-amd64-3.6\Release\dlib_build\dlib.vcxproj]
  (compiling source file '../../../../dlib/linker/linker_kernel_1.cpp')

  extra_logger_headers.cpp
  logger_kernel_1.cpp
  logger_config_file.cpp
C:\Users\HP\AppData\Local\Temp\pip-install-uqfplxdz\dlib_4d5c2e0ec61f4c228f2dc7828c073e11\dlib\logger\logger_kernel_1.cpp(1,1): error C1356: unable to find mspdbcore.dll [C:\Users\HP\AppData\Local\Temp\pip-install-uqfplxdz\dlib_4d5c2e0ec61f4c228f2dc7828c073e11\build\temp.win-amd64-3.6\Release\dlib_build\dlib.vcxproj]
  (compiling source file '../../../../dlib/logger/logger_kernel_1.cpp')

C:\Users\HP\AppData\Local\Temp\pip-install-uqfplxdz\dlib_4d5c2e0ec61f4c228f2dc7828c073e11\dlib\logger\logger_config_file.cpp(1,1): error C1356: unable to find mspdbcore.dll [C:\Users\HP\AppData\Local\Temp\pip-install-uqfplxdz\dlib_4d5c2e0ec61f4c228f2dc7828c073e11\build\temp.win-amd64-3.6\Release\dlib_build\dlib.vcxproj]
  (compiling source file '../../../../dlib/logger/logger_config_file.cpp')

C:\Users\HP\AppData\Local\Temp\pip-install-uqfplxdz\dlib_4d5c2e0ec61f4c228f2dc7828c073e11\dlib\logger\extra_logger_headers.cpp(1,1): error C1356: unable to find mspdbcore.dll [C:\Users\HP\AppData\Local\Temp\pip-install-uqfplxdz\dlib_4d5c2e0ec61f4c228f2dc7828c073e11\build\temp.win-amd64-3.6\Release\dlib_build\dlib.vcxproj]
  (compiling source file '../../../../dlib/logger/extra_logger_headers.cpp')

  misc_api_kernel_1.cpp
  misc_api_kernel_2.cpp
  sockets_extensions.cpp
  sockets_kernel_2.cpp
C:\Users\HP\AppData\Local\Temp\pip-install-uqfplxdz\dlib_4d5c2e0ec61f4c228f2dc7828c073e11\dlib\misc_api\misc_api_kernel_1.cpp(1,1): error C1356: unable to find mspdbcore.dll [C:\Users\HP\AppData\Local\Temp\pip-install-uqfplxdz\dlib_4d5c2e0ec61f4c228f2dc7828c073e11\build\temp.win-amd64-3.6\Release\dlib_build\dlib.vcxproj]
  (compiling source file '../../../../dlib/misc_api/misc_api_kernel_1.cpp')

C:\Users\HP\AppData\Local\Temp\pip-install-uqfplxdz\dlib_4d5c2e0ec61f4c228f2dc7828c073e11\dlib\misc_api\misc_api_kernel_2.cpp(1,1): error C1356: unable to find mspdbcore.dll [C:\Users\HP\AppData\Local\Temp\pip-install-uqfplxdz\dlib_4d5c2e0ec61f4c228f2dc7828c073e11\build\temp.win-amd64-3.6\Release\dlib_build\dlib.vcxproj]
  (compiling source file '../../../../dlib/misc_api/misc_api_kernel_2.cpp')

C:\Users\HP\AppData\Local\Temp\pip-install-uqfplxdz\dlib_4d5c2e0ec61f4c228f2dc7828c073e11\dlib\sockets\sockets_kernel_2.cpp(1,1): error C1356: unable to find mspdbcore.dll [C:\Users\HP\AppData\Local\Temp\pip-install-uqfplxdz\dlib_4d5c2e0ec61f4c228f2dc7828c073e11\build\temp.win-amd64-3.6\Release\dlib_build\dlib.vcxproj]
  (compiling source file '../../../../dlib/sockets/sockets_kernel_2.cpp')

  sockstreambuf.cpp
  sockstreambuf_unbuffered.cpp
  server_kernel.cpp
C:\Users\HP\AppData\Local\Temp\pip-install-uqfplxdz\dlib_4d5c2e0ec61f4c228f2dc7828c073e11\dlib\sockets\sockets_extensions.cpp(1,1): error C1356: unable to find mspdbcore.dll [C:\Users\HP\AppData\Local\Temp\pip-install-uqfplxdz\dlib_4d5c2e0ec61f4c228f2dc7828c073e11\build\temp.win-amd64-3.6\Release\dlib_build\dlib.vcxproj]
  (compiling source file '../../../../dlib/sockets/sockets_extensions.cpp')

C:\Users\HP\AppData\Local\Temp\pip-install-uqfplxdz\dlib_4d5c2e0ec61f4c228f2dc7828c073e11\dlib\sockstreambuf\sockstreambuf_unbuffered.cpp(1,1): error C1356: unable to find mspdbcore.dll [C:\Users\HP\AppData\Local\Temp\pip-install-uqfplxdz\dlib_4d5c2e0ec61f4c228f2dc7828c073e11\build\temp.win-amd64-3.6\Release\dlib_build\dlib.vcxproj]
  (compiling source file '../../../../dlib/sockstreambuf/sockstreambuf_unbuffered.cpp')

C:\Users\HP\AppData\Local\Temp\pip-install-uqfplxdz\dlib_4d5c2e0ec61f4c228f2dc7828c073e11\dlib\sockstreambuf\sockstreambuf.cpp(1,1): error C1356: unable to find mspdbcore.dll [C:\Users\HP\AppData\Local\Temp\pip-install-uqfplxdz\dlib_4d5c2e0ec61f4c228f2dc7828c073e11\build\temp.win-amd64-3.6\Release\dlib_build\dlib.vcxproj]
  (compiling source file '../../../../dlib/sockstreambuf/sockstreambuf.cpp')

  server_iostream.cpp
  server_http.cpp
  multithreaded_object_extension.cpp
C:\Users\HP\AppData\Local\Temp\pip-install-uqfplxdz\dlib_4d5c2e0ec61f4c228f2dc7828c073e11\dlib\server\server_kernel.cpp(1,1): error C1356: unable to find mspdbcore.dll [C:\Users\HP\AppData\Local\Temp\pip-install-uqfplxdz\dlib_4d5c2e0ec61f4c228f2dc7828c073e11\build\temp.win-amd64-3.6\Release\dlib_build\dlib.vcxproj]
  (compiling source file '../../../../dlib/server/server_kernel.cpp')

C:\Users\HP\AppData\Local\Temp\pip-install-uqfplxdz\dlib_4d5c2e0ec61f4c228f2dc7828c073e11\dlib\server\server_iostream.cpp(1,1): error C1356: unable to find mspdbcore.dll [C:\Users\HP\AppData\Local\Temp\pip-install-uqfplxdz\dlib_4d5c2e0ec61f4c228f2dc7828c073e11\build\temp.win-amd64-3.6\Release\dlib_build\dlib.vcxproj]
  (compiling source file '../../../../dlib/server/server_iostream.cpp')

  threaded_object_extension.cpp
C:\Users\HP\AppData\Local\Temp\pip-install-uqfplxdz\dlib_4d5c2e0ec61f4c228f2dc7828c073e11\dlib\server\server_http.cpp(1,1): error C1356: unable to find mspdbcore.dll [C:\Users\HP\AppData\Local\Temp\pip-install-uqfplxdz\dlib_4d5c2e0ec61f4c228f2dc7828c073e11\build\temp.win-amd64-3.6\Release\dlib_build\dlib.vcxproj]
  (compiling source file '../../../../dlib/server/server_http.cpp')

C:\Users\HP\AppData\Local\Temp\pip-install-uqfplxdz\dlib_4d5c2e0ec61f4c228f2dc7828c073e11\dlib\threads\multithreaded_object_extension.cpp(1,1): error C1356: unable to find mspdbcore.dll [C:\Users\HP\AppData\Local\Temp\pip-install-uqfplxdz\dlib_4d5c2e0ec61f4c228f2dc7828c073e11\build\temp.win-amd64-3.6\Release\dlib_build\dlib.vcxproj]
  (compiling source file '../../../../dlib/threads/multithreaded_object_extension.cpp')

  threads_kernel_1.cpp
  threads_kernel_2.cpp
C:\Users\HP\AppData\Local\Temp\pip-install-uqfplxdz\dlib_4d5c2e0ec61f4c228f2dc7828c073e11\dlib\threads\threaded_object_extension.cpp(1,1): error C1356: unable to find mspdbcore.dll [C:\Users\HP\AppData\Local\Temp\pip-install-uqfplxdz\dlib_4d5c2e0ec61f4c228f2dc7828c073e11\build\temp.win-amd64-3.6\Release\dlib_build\dlib.vcxproj]
  (compiling source file '../../../../dlib/threads/threaded_object_extension.cpp')

C:\Users\HP\AppData\Local\Temp\pip-install-uqfplxdz\dlib_4d5c2e0ec61f4c228f2dc7828c073e11\dlib\threads\threads_kernel_1.cpp(1,1): error C1356: unable to find mspdbcore.dll [C:\Users\HP\AppData\Local\Temp\pip-install-uqfplxdz\dlib_4d5c2e0ec61f4c228f2dc7828c073e11\build\temp.win-amd64-3.6\Release\dlib_build\dlib.vcxproj]
  (compiling source file '../../../../dlib/threads/threads_kernel_1.cpp')

  threads_kernel_shared.cpp
C:\Users\HP\AppData\Local\Temp\pip-install-uqfplxdz\dlib_4d5c2e0ec61f4c228f2dc7828c073e11\dlib\threads\threads_kernel_2.cpp(1,1): error C1356: unable to find mspdbcore.dll [C:\Users\HP\AppData\Local\Temp\pip-install-uqfplxdz\dlib_4d5c2e0ec61f4c228f2dc7828c073e11\build\temp.win-amd64-3.6\Release\dlib_build\dlib.vcxproj]
  (compiling source file '../../../../dlib/threads/threads_kernel_2.cpp')

  thread_pool_extension.cpp
  async.cpp
  timer.cpp
  stack_trace.cpp
C:\Users\HP\AppData\Local\Temp\pip-install-uqfplxdz\dlib_4d5c2e0ec61f4c228f2dc7828c073e11\dlib\threads\threads_kernel_shared.cpp(1,1): error C1356: unable to find mspdbcore.dll [C:\Users\HP\AppData\Local\Temp\pip-install-uqfplxdz\dlib_4d5c2e0ec61f4c228f2dc7828c073e11\build\temp.win-amd64-3.6\Release\dlib_build\dlib.vcxproj]
  (compiling source file '../../../../dlib/threads/threads_kernel_shared.cpp')

C:\Users\HP\AppData\Local\Temp\pip-install-uqfplxdz\dlib_4d5c2e0ec61f4c228f2dc7828c073e11\dlib\threads\async.cpp(1,1): error C1356: unable to find mspdbcore.dll [C:\Users\HP\AppData\Local\Temp\pip-install-uqfplxdz\dlib_4d5c2e0ec61f4c228f2dc7828c073e11\build\temp.win-amd64-3.6\Release\dlib_build\dlib.vcxproj]
  (compiling source file '../../../../dlib/threads/async.cpp')

C:\Users\HP\AppData\Local\Temp\pip-install-uqfplxdz\dlib_4d5c2e0ec61f4c228f2dc7828c073e11\dlib\threads\thread_pool_extension.cpp(1,1): error C1356: unable to find mspdbcore.dll [C:\Users\HP\AppData\Local\Temp\pip-install-uqfplxdz\dlib_4d5c2e0ec61f4c228f2dc7828c073e11\build\temp.win-amd64-3.6\Release\dlib_build\dlib.vcxproj]
  (compiling source file '../../../../dlib/threads/thread_pool_extension.cpp')

C:\Users\HP\AppData\Local\Temp\pip-install-uqfplxdz\dlib_4d5c2e0ec61f4c228f2dc7828c073e11\dlib\timer\timer.cpp(1,1): error C1356: unable to find mspdbcore.dll [C:\Users\HP\AppData\Local\Temp\pip-install-uqfplxdz\dlib_4d5c2e0ec61f4c228f2dc7828c073e11\build\temp.win-amd64-3.6\Release\dlib_build\dlib.vcxproj]
  (compiling source file '../../../../dlib/timer/timer.cpp')

C:\Users\HP\AppData\Local\Temp\pip-install-uqfplxdz\dlib_4d5c2e0ec61f4c228f2dc7828c073e11\dlib\stack_trace.cpp(1,1): error C1356: unable to find mspdbcore.dll [C:\Users\HP\AppData\Local\Temp\pip-install-uqfplxdz\dlib_4d5c2e0ec61f4c228f2dc7828c073e11\build\temp.win-amd64-3.6\Release\dlib_build\dlib.vcxproj]
  (compiling source file '../../../../dlib/stack_trace.cpp')

  cpu_dlib.cpp
  tensor_tools.cpp
  image_dataset_metadata.cpp
  mnist.cpp
C:\Users\HP\AppData\Local\Temp\pip-install-uqfplxdz\dlib_4d5c2e0ec61f4c228f2dc7828c073e11\dlib\data_io\image_dataset_metadata.cpp(1,1): error C1356: unable to find mspdbcore.dll [C:\Users\HP\AppData\Local\Temp\pip-install-uqfplxdz\dlib_4d5c2e0ec61f4c228f2dc7828c073e11\build\temp.win-amd64-3.6\Release\dlib_build\dlib.vcxproj]
  (compiling source file '../../../../dlib/data_io/image_dataset_metadata.cpp')

C:\Users\HP\AppData\Local\Temp\pip-install-uqfplxdz\dlib_4d5c2e0ec61f4c228f2dc7828c073e11\dlib\cuda\cpu_dlib.cpp(1,1): error C1356: unable to find mspdbcore.dll [C:\Users\HP\AppData\Local\Temp\pip-install-uqfplxdz\dlib_4d5c2e0ec61f4c228f2dc7828c073e11\build\temp.win-amd64-3.6\Release\dlib_build\dlib.vcxproj]
  (compiling source file '../../../../dlib/cuda/cpu_dlib.cpp')

C:\Users\HP\AppData\Local\Temp\pip-install-uqfplxdz\dlib_4d5c2e0ec61f4c228f2dc7828c073e11\dlib\data_io\mnist.cpp(1,1): error C1356: unable to find mspdbcore.dll [C:\Users\HP\AppData\Local\Temp\pip-install-uqfplxdz\dlib_4d5c2e0ec61f4c228f2dc7828c073e11\build\temp.win-amd64-3.6\Release\dlib_build\dlib.vcxproj]
  (compiling source file '../../../../dlib/data_io/mnist.cpp')

C:\Users\HP\AppData\Local\Temp\pip-install-uqfplxdz\dlib_4d5c2e0ec61f4c228f2dc7828c073e11\dlib\cuda\tensor_tools.cpp(1,1): error C1356: unable to find mspdbcore.dll [C:\Users\HP\AppData\Local\Temp\pip-install-uqfplxdz\dlib_4d5c2e0ec61f4c228f2dc7828c073e11\build\temp.win-amd64-3.6\Release\dlib_build\dlib.vcxproj]
  (compiling source file '../../../../dlib/cuda/tensor_tools.cpp')

  cifar.cpp
  global_function_search.cpp
  kalman_filter.cpp
  auto.cpp
  widgets.cpp
C:\Users\HP\AppData\Local\Temp\pip-install-uqfplxdz\dlib_4d5c2e0ec61f4c228f2dc7828c073e11\dlib\data_io\cifar.cpp(1,1): error C1356: unable to find mspdbcore.dll [C:\Users\HP\AppData\Local\Temp\pip-install-uqfplxdz\dlib_4d5c2e0ec61f4c228f2dc7828c073e11\build\temp.win-amd64-3.6\Release\dlib_build\dlib.vcxproj]
  (compiling source file '../../../../dlib/data_io/cifar.cpp')

C:\Users\HP\AppData\Local\Temp\pip-install-uqfplxdz\dlib_4d5c2e0ec61f4c228f2dc7828c073e11\dlib\global_optimization\global_function_search.cpp(1,1): error C1356: unable to find mspdbcore.dll [C:\Users\HP\AppData\Local\Temp\pip-install-uqfplxdz\dlib_4d5c2e0ec61f4c228f2dc7828c073e11\build\temp.win-amd64-3.6\Release\dlib_build\dlib.vcxproj]
  (compiling source file '../../../../dlib/global_optimization/global_function_search.cpp')

  drawable.cpp
  canvas_drawing.cpp
  style.cpp
  base_widgets.cpp
C:\Users\HP\AppData\Local\Temp\pip-install-uqfplxdz\dlib_4d5c2e0ec61f4c228f2dc7828c073e11\dlib\filtering\kalman_filter.cpp(1,1): error C1356: unable to find mspdbcore.dll [C:\Users\HP\AppData\Local\Temp\pip-install-uqfplxdz\dlib_4d5c2e0ec61f4c228f2dc7828c073e11\build\temp.win-amd64-3.6\Release\dlib_build\dlib.vcxproj]
  (compiling source file '../../../../dlib/filtering/kalman_filter.cpp')

C:\Users\HP\AppData\Local\Temp\pip-install-uqfplxdz\dlib_4d5c2e0ec61f4c228f2dc7828c073e11\dlib\svm\auto.cpp(1,1): error C1356: unable to find mspdbcore.dll [C:\Users\HP\AppData\Local\Temp\pip-install-uqfplxdz\dlib_4d5c2e0ec61f4c228f2dc7828c073e11\build\temp.win-amd64-3.6\Release\dlib_build\dlib.vcxproj]
  (compiling source file '../../../../dlib/svm/auto.cpp')

C:\Users\HP\AppData\Local\Temp\pip-install-uqfplxdz\dlib_4d5c2e0ec61f4c228f2dc7828c073e11\dlib\gui_widgets\widgets.cpp(1,1): error C1356: unable to find mspdbcore.dll [C:\Users\HP\AppData\Local\Temp\pip-install-uqfplxdz\dlib_4d5c2e0ec61f4c228f2dc7828c073e11\build\temp.win-amd64-3.6\Release\dlib_build\dlib.vcxproj]
  (compiling source file '../../../../dlib/gui_widgets/widgets.cpp')

  gui_core_kernel_1.cpp
C:\Users\HP\AppData\Local\Temp\pip-install-uqfplxdz\dlib_4d5c2e0ec61f4c228f2dc7828c073e11\dlib\gui_widgets\drawable.cpp(1,1): error C1356: unable to find mspdbcore.dll [C:\Users\HP\AppData\Local\Temp\pip-install-uqfplxdz\dlib_4d5c2e0ec61f4c228f2dc7828c073e11\build\temp.win-amd64-3.6\Release\dlib_build\dlib.vcxproj]
  (compiling source file '../../../../dlib/gui_widgets/drawable.cpp')

C:\Users\HP\AppData\Local\Temp\pip-install-uqfplxdz\dlib_4d5c2e0ec61f4c228f2dc7828c073e11\dlib\gui_widgets\base_widgets.cpp(1,1): error C1356: unable to find mspdbcore.dll [C:\Users\HP\AppData\Local\Temp\pip-install-uqfplxdz\dlib_4d5c2e0ec61f4c228f2dc7828c073e11\build\temp.win-amd64-3.6\Release\dlib_build\dlib.vcxproj]
  (compiling source file '../../../../dlib/gui_widgets/base_widgets.cpp')

C:\Users\HP\AppData\Local\Temp\pip-install-uqfplxdz\dlib_4d5c2e0ec61f4c228f2dc7828c073e11\dlib\gui_widgets\canvas_drawing.cpp(1,1): error C1356: unable to find mspdbcore.dll [C:\Users\HP\AppData\Local\Temp\pip-install-uqfplxdz\dlib_4d5c2e0ec61f4c228f2dc7828c073e11\build\temp.win-amd64-3.6\Release\dlib_build\dlib.vcxproj]
  (compiling source file '../../../../dlib/gui_widgets/canvas_drawing.cpp')

C:\Users\HP\AppData\Local\Temp\pip-install-uqfplxdz\dlib_4d5c2e0ec61f4c228f2dc7828c073e11\dlib\gui_widgets\style.cpp(1,1): error C1356: unable to find mspdbcore.dll [C:\Users\HP\AppData\Local\Temp\pip-install-uqfplxdz\dlib_4d5c2e0ec61f4c228f2dc7828c073e11\build\temp.win-amd64-3.6\Release\dlib_build\dlib.vcxproj]
  (compiling source file '../../../../dlib/gui_widgets/style.cpp')

  gui_core_kernel_2.cpp
  png_loader.cpp
C:\Users\HP\AppData\Local\Temp\pip-install-uqfplxdz\dlib_4d5c2e0ec61f4c228f2dc7828c073e11\dlib\gui_core\gui_core_kernel_1.cpp(1,1): error C1356: unable to find mspdbcore.dll [C:\Users\HP\AppData\Local\Temp\pip-install-uqfplxdz\dlib_4d5c2e0ec61f4c228f2dc7828c073e11\build\temp.win-amd64-3.6\Release\dlib_build\dlib.vcxproj]
  (compiling source file '../../../../dlib/gui_core/gui_core_kernel_1.cpp')

  save_png.cpp
  jpeg_loader.cpp
C:\Users\HP\AppData\Local\Temp\pip-install-uqfplxdz\dlib_4d5c2e0ec61f4c228f2dc7828c073e11\dlib\image_loader\png_loader.cpp(1,1): error C1356: unable to find mspdbcore.dll [C:\Users\HP\AppData\Local\Temp\pip-install-uqfplxdz\dlib_4d5c2e0ec61f4c228f2dc7828c073e11\build\temp.win-amd64-3.6\Release\dlib_build\dlib.vcxproj]
  (compiling source file '../../../../dlib/image_loader/png_loader.cpp')

C:\Users\HP\AppData\Local\Temp\pip-install-uqfplxdz\dlib_4d5c2e0ec61f4c228f2dc7828c073e11\dlib\gui_core\gui_core_kernel_2.cpp(1,1): error C1356: unable to find mspdbcore.dll [C:\Users\HP\AppData\Local\Temp\pip-install-uqfplxdz\dlib_4d5c2e0ec61f4c228f2dc7828c073e11\build\temp.win-amd64-3.6\Release\dlib_build\dlib.vcxproj]
  (compiling source file '../../../../dlib/gui_core/gui_core_kernel_2.cpp')

  save_jpeg.cpp
C:\Users\HP\AppData\Local\Temp\pip-install-uqfplxdz\dlib_4d5c2e0ec61f4c228f2dc7828c073e11\dlib\image_saver\save_png.cpp(1,1): error C1356: unable to find mspdbcore.dll [C:\Users\HP\AppData\Local\Temp\pip-install-uqfplxdz\dlib_4d5c2e0ec61f4c228f2dc7828c073e11\build\temp.win-amd64-3.6\Release\dlib_build\dlib.vcxproj]
  (compiling source file '../../../../dlib/image_saver/save_png.cpp')

C:\Users\HP\AppData\Local\Temp\pip-install-uqfplxdz\dlib_4d5c2e0ec61f4c228f2dc7828c073e11\dlib\image_loader\jpeg_loader.cpp(1,1): error C1356: unable to find mspdbcore.dll [C:\Users\HP\AppData\Local\Temp\pip-install-uqfplxdz\dlib_4d5c2e0ec61f4c228f2dc7828c073e11\build\temp.win-amd64-3.6\Release\dlib_build\dlib.vcxproj]
  (compiling source file '../../../../dlib/image_loader/jpeg_loader.cpp')

C:\Users\HP\AppData\Local\Temp\pip-install-uqfplxdz\dlib_4d5c2e0ec61f4c228f2dc7828c073e11\dlib\image_saver\save_jpeg.cpp(1,1): error C1356: unable to find mspdbcore.dll [C:\Users\HP\AppData\Local\Temp\pip-install-uqfplxdz\dlib_4d5c2e0ec61f4c228f2dc7828c073e11\build\temp.win-amd64-3.6\Release\dlib_build\dlib.vcxproj]
  (compiling source file '../../../../dlib/image_saver/save_jpeg.cpp')

C:\Program Files\Microsoft Visual Studio\2022\Community\VC\Tools\MSVC\14.39.33519\include\type_traits(934,92): error C1060: compiler is out of heap space [C:\Users\HP\AppData\Local\Temp\pip-install-uqfplxdz\dlib_4d5c2e0ec61f4c228f2dc7828c073e11\build\temp.win-amd64-3.6\Release\dlib_build\dlib.vcxproj]
  (compiling source file '../../../../dlib/bigint/bigint_kernel_1.cpp')

Traceback (most recent call last):
  File "<string>", line 1, in <module>
  File "C:\Users\HP\AppData\Local\Temp\pip-install-uqfplxdz\dlib_4d5c2e0ec61f4c228f2dc7828c073e11\setup.py", line 261, in <module>
    'Topic :: Software Development',
  File "C:\Users\HP\PycharmProjects\FaceRecognitionRealTime\venv\lib\site-packages\setuptools\__init__.py", line 153, in setup
    return distutils.core.setup(**attrs)
  File "C:\Users\HP\AppData\Local\Programs\Python\Python36\lib\distutils\core.py", line 148, in setup
    dist.run_commands()
  File "C:\Users\HP\AppData\Local\Programs\Python\Python36\lib\distutils\dist.py", line 955, in run_commands
    self.run_command(cmd)
  File "C:\Users\HP\AppData\Local\Programs\Python\Python36\lib\distutils\dist.py", line 974, in run_command
    cmd_obj.run()
  File "C:\Users\HP\PycharmProjects\FaceRecognitionRealTime\venv\lib\site-packages\setuptools\command\install.py", line 68, in run
    return orig.install.run(self)
  File "C:\Users\HP\AppData\Local\Programs\Python\Python36\lib\distutils\command\install.py", line 545, in run
    self.run_command('build')
  File "C:\Users\HP\AppData\Local\Programs\Python\Python36\lib\distutils\cmd.py", line 313, in run_command
    self.distribution.run_command(command)
  File "C:\Users\HP\AppData\Local\Programs\Python\Python36\lib\distutils\dist.py", line 974, in run_command
    cmd_obj.run()
  File "C:\Users\HP\AppData\Local\Programs\Python\Python36\lib\distutils\command\build.py", line 135, in run
    self.run_command(cmd_name)
  File "C:\Users\HP\AppData\Local\Programs\Python\Python36\lib\distutils\cmd.py", line 313, in run_command
    self.distribution.run_command(command)
  File "C:\Users\HP\AppData\Local\Programs\Python\Python36\lib\distutils\dist.py", line 974, in run_command
    cmd_obj.run()
  File "C:\Users\HP\AppData\Local\Temp\pip-install-uqfplxdz\dlib_4d5c2e0ec61f4c228f2dc7828c073e11\setup.py", line 134, in run
    self.build_extension(ext)
  File "C:\Users\HP\AppData\Local\Temp\pip-install-uqfplxdz\dlib_4d5c2e0ec61f4c228f2dc7828c073e11\setup.py", line 174, in build_extension
    subprocess.check_call(cmake_build, cwd=build_folder)
  File "C:\Users\HP\AppData\Local\Programs\Python\Python36\lib\subprocess.py", line 291, in check_call
    raise CalledProcessError(retcode, cmd)
subprocess.CalledProcessError: Command '['cmake', '--build', '.', '--config', 'Release', '--', '/m']' returned non-zero exit status 1.
----------------------------------------

ERROR: Command errored out with exit status 1: 'C:\Users\HP\PycharmProjects\FaceRecognitionRealTime\venv\Scripts\python.exe' -u -c 'import io, os, sys, setuptools, tokenize; sys.argv[0] = '"'"'C:\Users\HP\AppData\Local\Temp\pip-install-uqfplxdz\dlib_4d5c2e0ec61f4c228f2dc7828c073e11\setup.py'"'"'; file='"'"'C:\Users\HP\AppData\Local\Temp\pip-install-uqfplxdz\dlib_4d5c2e0ec61f4c228f2dc7828c073e11\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'"'"'))' install --record 'C:\Users\HP\AppData\Local\Temp\pip-record-v2rvyw6q\install-record.txt' --single-version-externally-managed --compile --install-headers 'C:\Users\HP\PycharmProjects\FaceRecognitionRealTime\venv\include\site\python3.6\dlib' Check the logs for full command output.

====I am facing this error, how do I resolve it?

caigang2501 commented 7 months ago

Maybe cmake isn't in your path. If you open a terminal and type cmake and get error then it's not going to work.

I type cmake and get no error,but have the same problom

mrtpk commented 6 months ago

I'm facing this issue on the docker image as well. No idea how to solve it. Docker image details:

ARG CUDA_VERSION="11.8.0"
ARG CUDNN_VERSION="8"
ARG UBUNTU_VERSION="22.04"

# Base NVidia CUDA Ubuntu image
FROM nvidia/cuda:$CUDA_VERSION-cudnn$CUDNN_VERSION-devel-ubuntu$UBUNTU_VERSION AS base
ENV PYTHON_VERSION=3.9.18
Song367 commented 4 months ago

Hello i'm trying to install dlib using pip install dlibbut i get an error.

This is the error:

G:\Gedeelde drives\4TW_2022-2023_T1(Lucas-Bram-Senne)\2. Persoonlijk\2. Lucas N\Test gezichtsherkenning\Test>pip install dlib
Collecting dlib
  Using cached dlib-19.24.0.tar.gz (3.2 MB)
  Preparing metadata (setup.py) ... done
Building wheels for collected packages: dlib
  Building wheel for dlib (setup.py) ... error
  error: subprocess-exited-with-error

  × python setup.py bdist_wheel did not run successfully.
  │ exit code: 1
  ╰─> [8 lines of output]
      running bdist_wheel
      running build
      running build_py
      package init file 'tools\python\dlib\__init__.py' not found (or not a regular file)
      running build_ext

      ERROR: CMake must be installed to build dlib

      [end of output]

  note: This error originates from a subprocess, and is likely not a problem with pip.
  ERROR: Failed building wheel for dlib
  Running setup.py clean for dlib
Failed to build dlib
Installing collected packages: dlib
  Running setup.py install for dlib ... error
  error: subprocess-exited-with-error

  × Running setup.py install for dlib did not run successfully.
  │ exit code: 1
  ╰─> [8 lines of output]
      running install
      running build
      running build_py
      package init file 'tools\python\dlib\__init__.py' not found (or not a regular file)
      running build_ext

      ERROR: CMake must be installed to build dlib

      [end of output]

  note: This error originates from a subprocess, and is likely not a problem with pip.
error: legacy-install-failure

× Encountered error while trying to install package.
╰─> dlib

note: This is an issue with the package mentioned above, not pip.
hint: See above for output from the failure.

i'am using python 3.8.2 I got dlib automaticly using pip install dlib i'am using windows 10 64 bit

maybe pip install cmake

davisking commented 4 months ago

Na definitely don't use pip to get cmake. Get cmake from cmake.org, use their installer, and make sure you tell it to put cmake in your PATH. Then it will all work fine.

kiyanisarah commented 2 months ago

This is what worked for me

sudo apt-get install build-essential
sudo apt-get install libopenblas-dev
sudo apt-get install liblapack-dev
sudo apt-get install libx11-dev
sudo apt-get install libgtk-3-dev
sudo apt-get install libboost-all-dev

Then install these versions:

cmake==3.27.5
distlib==0.3.7
dlib==19.24.2
x64x2 commented 1 month ago

ffn currently having this issue but on web host