Can't build and install Lightly
Closed this issue · 1 comments
RUvlad1 commented
After pasting in the commands at Build and Install I got an error:
[vl1@vl1-ms7c09 ~]$ git clone --single-branch --depth=1 https://github.com/Luwx/Lightly.git
cd Lightly && mkdir build && cd build
cmake -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_INSTALL_LIBDIR=lib -DBUILD_TESTING=OFF ..
make
sudo make install
Cloning into 'Lightly'...
remote: Enumerating objects: 171, done.
remote: Counting objects: 100% (171/171), done.
remote: Compressing objects: 100% (124/124), done.
remote: Total 171 (delta 63), reused 104 (delta 42), pack-reused 0
Receiving objects: 100% (171/171), 5.16 MiB | 377.00 KiB/s, done.
Resolving deltas: 100% (63/63), done.
-- The C compiler identification is unknown
-- The CXX compiler identification is unknown
CMake Error at CMakeLists.txt:2 (project):
No CMAKE_C_COMPILER could be found.
Tell CMake where to find the compiler by setting either the environment
variable "CC" or the CMake cache entry CMAKE_C_COMPILER to the full path to
the compiler, or to the compiler name if it is in the PATH.
CMake Error at CMakeLists.txt:2 (project):
No CMAKE_CXX_COMPILER could be found.
Tell CMake where to find the compiler by setting either the environment
variable "CXX" or the CMake cache entry CMAKE_CXX_COMPILER to the full path
to the compiler, or to the compiler name if it is in the PATH.
-- Configuring incomplete, errors occurred!
See also "/home/vl1/Lightly/build/CMakeFiles/CMakeOutput.log".
See also "/home/vl1/Lightly/build/CMakeFiles/CMakeError.log".
make: *** No targets specified and no makefile found. Stop.
[sudo] password for vl1:
make: *** No rule to make target 'install'. Stop.
[vl1@vl1-ms7c09 build]$
I'm running Manjaro
RUvlad1 commented
Fixed by using the chaotic-aur option instead