Face_recognition library install

  • The C compiler identification is unknown
    – The CXX compiler identification is GNU 7.5.0
    – Check for working C compiler: /usr/bin/cc
    – Check for working C compiler: /usr/bin/cc – broken
    CMake Error at /usr/share/cmake-3.10/Modules/CMakeTestCCompiler.cmake:52 (message):
    The C compiler

    “/usr/bin/cc”

    is not able to compile a simple test program.

    It fails with the following output:

    Change Dir: /home/nvidia/dlib-19.23/build/CMakeFiles/CMakeTmp

    Run Build Command:“/usr/bin/make” “cmTC_0567e/fast”
    /usr/bin/make -f CMakeFiles/cmTC_0567e.dir/build.make CMakeFiles/cmTC_0567e.dir/build
    make[1]: Entering directory ‘/home/nvidia/dlib-19.23/build/CMakeFiles/CMakeTmp’
    Building C object CMakeFiles/cmTC_0567e.dir/testCCompiler.c.o
    /usr/bin/cc -o CMakeFiles/cmTC_0567e.dir/testCCompiler.c.o -c /home/nvidia/dlib-19.23/build/CMakeFiles/CMakeTmp/testCCompiler.c
    /home/nvidia/dlib-19.23/build/CMakeFiles/CMakeTmp/testCCompiler.c: In function ‘main’:
    /home/nvidia/dlib-19.23/build/CMakeFiles/CMakeTmp/testCCompiler.c:11:1: internal compiler error: Segmentation fault
    { (void)argv; return argc-1;}
    ^
    Please submit a full bug report,
    with preprocessed source if appropriate.
    See <file:///usr/share/doc/gcc-7/README.Bugs> for instructions.
    CMakeFiles/cmTC_0567e.dir/build.make:65: recipe for target ‘CMakeFiles/cmTC_0567e.dir/testCCompiler.c.o’ failed
    make[1]: *** [CMakeFiles/cmTC_0567e.dir/testCCompiler.c.o] Error 1
    make[1]: Leaving directory ‘/home/nvidia/dlib-19.23/build/CMakeFiles/CMakeTmp’
    Makefile:126: recipe for target ‘cmTC_0567e/fast’ failed
    make: *** [cmTC_0567e/fast] Error 2

    CMake will not be able to correctly generate this project.
    Call Stack (most recent call first):
    CMakeLists.txt:3 (project)

– Configuring incomplete, errors occurred!
See also “/home/nvidia/dlib-19.23/build/CMakeFiles/CMakeOutput.log”.
See also “/home/nvidia/dlib-19.23/build/CMakeFiles/CMakeError.log”.
nvidia@ubuntu:~/dlib-19.23/build$

please help me with that