dlib
dlib copied to clipboard
How to fix the error in building dlib
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
Hello, I have encountered the same problem. Can you help me how to fix it?
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.
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.
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.