zzag / plasma5-wallpapers-dynamic

Dynamic wallpaper plugin for KDE Plasma
329 stars 18 forks source link

problem in step 'Configure the build' #35

Closed JotaJota96 closed 4 years ago

JotaJota96 commented 4 years ago

(sorry for my English) I am trying to install the plugin, but I have the following problem. I am using Kubuntu 19.10 I created a folder on the desktop, and inside I ran the commands in the instructions

$ sudo apt install cmake extra-cmake-modules git libkf5package-dev libkf5plasma-dev \
    libkf5i18n-dev libkf5kio-dev qtbase5-dev qtdeclarative5-dev qtpositioning5-dev \
    gettext qml-module-qtpositioning
$ git clone https://github.com/zzag/plasma5-wallpapers-dynamic.git
$ cd plasma5-wallpapers-dynamic
$ git checkout 2.7.1
$ mkdir build && cd build
$ cmake .. -DCMAKE_BUILD_TYPE=Release \
    -DCMAKE_INSTALL_PREFIX=/usr \
    -DCMAKE_INSTALL_LIBDIR=lib \
    -DBUILD_TESTING=OFF

And here it shows the following problem (exit value = 1)

-- The C compiler identification is GNU 9.2.1
-- The CXX compiler identification is unknown
-- Check for working C compiler: /usr/bin/cc
-- Check for working C compiler: /usr/bin/cc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Detecting C compile features
-- Detecting C compile features - done
CMake Error at CMakeLists.txt:6 (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/juan/Escritorio/fondo-dinamico/plasma5-wallpapers-dynamic/build/CMakeFiles/CMakeOutput.log".
See also "/home/juan/Escritorio/fondo-dinamico/plasma5-wallpapers-dynamic/build/CMakeFiles/CMakeError.log".

I don't understand what the problem is or how to fix it

zzag commented 4 years ago

The error message says that no C++ compiler is installed. Try to install build-essential

sudo apt install build-essential
JotaJota96 commented 4 years ago

thanks, it was installed correctly

zzag commented 4 years ago

Can I close the issue?

JotaJota96 commented 4 years ago

yes

zzag commented 4 years ago

Thanks.