Categories
Mastering Development

Installing only clang and cmake, CMake was unable to find a build program corresponding to “Unix Makefiles”. CMAKE_MAKE_PROGRAM is not set

I’m trying to use clang with CMake. Here’s my Dockerfile. You can see that I did not install build-essentials, only clang, because I dont want GNU compilers to be made default. My Dockerfile: FROM ubuntu:bionic WORKDIR /home/project RUN export DEBIAN_FRONTEND=noninteractive && apt-get update\ && apt-get install -y clang wget RUN wget https://github.com/Kitware/CMake/releases/download/v3.18.0-rc2/cmake-3.18.0-rc2-Linux-x86_64.sh && ls RUN […]

Categories
Development

Installation of dlib with pip fails on Windows 10

I tried a lot to install pip install dlib but it always shows an error and I reinstalled cmake. I got the error: pip install dlib Collecting dlib Using cached https://files.pythonhosted.org/packages/1e/62/aacb236d21fbd08148b1d517d58a9d80ea31bdcd386d26f21f8b23b1eb28/dlib-19.18.0.tar.gz Building wheels for collected packages: dlib Building wheel for dlib (setup.py) … error ERROR: Command errored out with exit status 1: command: ‘c:\program files\python37\python.exe’ […]