This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original intention was to install dlib dep for https://github.com/cubiq/ComfyUI_FaceAnalysis. Even though both cmake and MSVC 14 with VS 2022 build tool (17.9.7) were installed, when doign pip install dlib under ComfyUI_FaceAnalysis venv, it complained that cmake was not available. | |
So tried to build it from latest dlib repo. Took such a long time debugging the process: | |
- initially build failed with ValueError: path 'dlib/CMakeLists.txt/' cannot end with '/'. Found https://github.com/davisking/dlib/issues/2668 which led to https://github.com/davisking/dlib/issues/2480#issuecomment-1003647257. Apparently the build needs to be in the same drive as where Python is located (I had it in C:), even though the build was initiated from a venv (in D:). | |
- then the build couldn't locate cudnn, as cmake needs these cmake specific paths to point to the cudnn directories - https://stackoverflow.com/questions/78276120/dlib-fails-to-install-with-cuda-says-i-am-missing-cudnn | |
- build still failed as cuda wasn't compatible |