Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

OpenCV setup issue with dlib build on windows

On windows 10, dlib fails to build due to cmake error, please let me know how to resolve it

Building extension for Python 3.7.3 (default, Mar 27 2019, 17:13:21) [MSC v.1915 64 bit (AMD64)] Invoking CMake setup: 'cmake C:\Users\Ivan\AppData\Local\Temp\pip-install-t_dopc7a\dlib\tools\python -DCMAKE_LIBRARY_OUTPUT_DIRECTORY=C:\Users\Ivan\AppData\Local\Temp\pip-install-t_dopc7a\dlib\build\lib.win-amd64-3.7 -DPYTHON_EXECUTABLE=C:\Users\Ivan\Anaconda3\python.exe -DCMAKE_LIBRARY_OUTPUT_DIRECTORY_RELEASE=C:\Users\Ivan\AppData\Local\Temp\pip-install-t_dopc7a\dlib\build\lib.win-amd64-3.7 -A x64' -- Building for: NMake Makefiles CMake Error in CMakeLists.txt: Generator

NMake Makefiles

does not support platform specification, but platform

x64

was specified.

CMake Error: CMAKE_C_COMPILER not set, after EnableLanguage CMake Error: CMAKE_CXX_COMPILER not set, after EnableLanguage -- Configuring incomplete, errors occurred!