Maldela / fancontrol-gui

GUI for Fancontrol. It uses the KAuth module of the KDE Frameworks 5 to write the generated config file. Furthermore it communicates with systemd via dbus to control the fancontrol service. If you want to compile without systemd support set the -DNO_SYSTEMD option.
GNU General Public License v2.0
309 stars 31 forks source link

I need help on this Cmake error OS: Linuxmint 20.2 uma Kernel: x86_64 Linux 5.4.0-90-generic #63

Open JamBlueberry opened 2 years ago

JamBlueberry commented 2 years ago

jam@jams-desktopv7:~/fan/fancontrol-gui/build$ sudo cmake .. -DCMAKE_INSTALL_PREFIX=/usr -DBUILD_KCM=on -- qmlplugindump failed for QtQuick.Controls. -- Could NOT find QtQuick.Controls-QMLModule (missing: QtQuick.Controls-QMLModule_FOUND) -- Compiling for Systemd -- Build the standalone application CMake Error at /usr/lib/x86_64-linux-gnu/cmake/Qt5Gui/Qt5GuiConfig.cmake:27 (message): The imported target "Qt5::Gui" references the file

 "/usr/lib/x86_64-linux-gnu/libEGL.so"

but this file does not exist. Possible reasons include:

Call Stack (most recent call first): /usr/lib/x86_64-linux-gnu/cmake/Qt5Gui/Qt5GuiConfigExtras.cmake:45 (_qt5_Gui_check_file_exists) /usr/lib/x86_64-linux-gnu/cmake/Qt5Gui/Qt5GuiConfigExtras.cmake:67 (_qt5gui_find_extra_libs) /usr/lib/x86_64-linux-gnu/cmake/Qt5Gui/Qt5GuiConfig.cmake:186 (include) /usr/lib/x86_64-linux-gnu/cmake/Qt5/Qt5Config.cmake:28 (find_package) fancontrol-gui/CMakeLists.txt:14 (find_package)

-- Configuring incomplete, errors occurred! See also "/home/jam/fan/fancontrol-gui/build/CMakeFiles/CMakeOutput.log". jam@jams-desktopv7:~/fan/fancontrol-gui/build$ ^C jam@jams-desktopv7:~/fan/fancontrol-gui/build$

Maldela commented 2 years ago

There seems to be a broken dependency on libegl. Try installing libegl or even libegl-dev.