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!
i do not think, this is related to opencv at all.
(unfortunately, we cannot help with issues building dlib's python bindings, that's far off !)
Its part of OpenCV course setup that Satya Mallick is teaching tomorrow at Embedded Vision Summit so he told me to post it here.
ok,ok, apologies, then ;)
do you happen to have a link ? probably, having more context is helpful here !
https://www.embedded-vision.com/summi...
as part of setup the instructions say to build dlib
pip install dlib
it blows up with above error, everything else appears to work fine
ok, i could reproduce it.
mainly it means, it could not find a proper
c++
compiler installed. to build the dlib src code & the wrappers. (easy on linux, where g++ comes for free, but on win it means, you need visual studio or similar installed)