I installed git, cmake, gcc-7, g++-7 (also I have set aliases for them as gcc and g++), and now I try to install dlib. I hoped that this time everything will be OK :)
I get the following errors:
CMake Error: CMake was unable to find a build program corresponding to "Unix Makefiles".
CMAKE_MAKE_PROGRAM is not set. You probably need to select a different build tool.
CMake Error: CMAKE_C_COMPILER not set, after EnableLanguage
CMake Error: CMAKE_CXX_COMPILER not set, after EnableLanguage
-- Configuring incomplete, errors occurred!
. . .
subprocess.CalledProcessError: Command '['cmake',
'/aivanf/dlib/tools/python',
'-DCMAKE_LIBRARY_OUTPUT_DIRECTORY=/aivanf/dlib/build/lib.linux-x86_64-3.6',
'-DPYTHON_EXECUTABLE=/usr/bin/python3',
'-DCMAKE_BUILD_TYPE=Release']'
returned non-zero exit status 1.
I tried set specify env variables and to add compiler to CMakeLists.txt also deleting the cache file, but nothing helped me.
I just install the dlib from the repository to my Ubuntu following that guide.
Thank you a lot for your wonderful lib and troubleshooting!
Is make installed?
Indeed! Sorry for such a silly question, I'm still continuing fulfilling the "Issues" with such noob problems... But maybe it will help someone else who knows few about compiling on Linux :)
Most helpful comment
Indeed! Sorry for such a silly question, I'm still continuing fulfilling the "Issues" with such noob problems... But maybe it will help someone else who knows few about compiling on Linux :)