dlib icon indicating copy to clipboard operation
dlib copied to clipboard

How to fix the error in building dlib

Open akachi1409 opened this issue 2 years ago • 2 comments

I am going to use dlib module, and I have an error in installing dlib module. I have installed CMake and please check the error message and help me how to fix it.

Expected Behavior

Dlib should be built so I can use that module.

Current Behavior

When I am building dlib with python setup.py install, it has the following error.

-- Selecting Windows SDK version 10.0.19041.0 to target Windows 10.0.18363.
CMake Error at E:/ToTest/dlib-19.24/dlib/external/pybind11/tools/FindPythonLibsNew.cmake:95 (message):
  Python config failure:

Call Stack (most recent call first):
  E:/ToTest/dlib-19.24/dlib/external/pybind11/tools/pybind11Tools.cmake:16 (find_package)
  E:/ToTest/dlib-19.24/dlib/external/pybind11/CMakeLists.txt:33 (include)


-- Configuring incomplete, errors occurred!

Steps to Reproduce

  • Version: 19.24
  • Where did you get dlib: https://github.com/davisking/dlib/releases/tag/v19.24
  • Platform: Window 10 64bit
  • Compiler: CMake

akachi1409 avatar Jun 27 '22 03:06 akachi1409

Hello, I have encountered the same problem. Can you help me how to fix it?

VladyslavMykhalchuk avatar Jun 29 '22 05:06 VladyslavMykhalchuk

Warning: this issue has been inactive for 35 days and will be automatically closed on 2022-08-13 if there is no further activity.

If you are waiting for a response but haven't received one it's possible your question is somehow inappropriate. E.g. it is off topic, you didn't follow the issue submission instructions, or your question is easily answerable by reading the FAQ, dlib's official compilation instructions, dlib's API documentation, or a Google search.

dlib-issue-bot avatar Aug 03 '22 08:08 dlib-issue-bot

Warning: this issue has been inactive for 43 days and will be automatically closed on 2022-08-13 if there is no further activity.

If you are waiting for a response but haven't received one it's possible your question is somehow inappropriate. E.g. it is off topic, you didn't follow the issue submission instructions, or your question is easily answerable by reading the FAQ, dlib's official compilation instructions, dlib's API documentation, or a Google search.

dlib-issue-bot avatar Aug 11 '22 08:08 dlib-issue-bot

Notice: this issue has been closed because it has been inactive for 45 days. You may reopen this issue if it has been closed in error.

dlib-issue-bot avatar Aug 13 '22 08:08 dlib-issue-bot