CMake - Issues while installing dlib or other packages
For installing dlib, I followed this tutorial : http://www.pyimagesearch.com/2017/03/27/how-to-install-dlib/. I am on Mac OS X 10.12.5 and using Python 3.5. I run
$ brew install cmake
$ brew install boost
$ brew install boost-python --with-python3
It works without any error.
But when I try to install dlib with pip install dlib. I have an error :
The C compiler
"/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/cc"
is not able to compile a simple test program.
error: cmake configuration failed!
For the full error, please see on this link (doesn't want to paste the full error) : https://gist.github.com/alexattia/e2b57914fdde51ccbc575d60750d13d7
I reinstalled XCode (from Apple Store) and CMake (3.8.2 from the downloaded page), I even installed Qt Creator to have a clean version of Qt, but I still have the same error.
(In addition, I also tried to install it with conda but after the installation, I still don't have the module in python. )
Thank you very much for any help.
Edited by Alexandre Attia