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

Error on cmake Command #60

Open andrewkhardy opened 3 years ago

andrewkhardy commented 3 years ago

I'm having difficulty running this on Pop OS 21. When I run

 cmake .. -DCMAKE_INSTALL_PREFIX=/usr -DBUILD_KCM=on -DBUILD_PLASMOID=on

I get the error that

-- The following RUNTIME packages have not been found:

 * QtQuick.Controls-QMLModule, QML module 'QtQuick.Controls' is a runtime dependency.
 * org.kde.kirigami-QMLModule, QML module 'org.kde.kirigami' is a runtime dependency.
 * org.kde.kcm-QMLModule, QML module 'org.kde.kcm' is a runtime dependency.
 * org.kde.plasma.core-QMLModule, QML module 'org.kde.plasma.core' is a runtime dependency.

-- Configuring done

This is strange because I ran the dependencies command, and I tried installing all these modules and I seem to have all of them installed, other than KDE plasma. Im not sure why I need it as its a desktop and Im using GNOME. Does this not work with gnome? Specifically, running

sudo apt-get install org.kde.plasma.core

cannot find a package of that name.

Next I get a huge number of errors of a conflict with my miniconda installation. Here is one for example.


CMake Warning at /usr/share/ECM/modules/ECMAddTests.cmake:89 (add_executable):
  Cannot generate a safe runtime search path for target loadertest because
  files in some directories may conflict with libraries in implicit
  directories:

    runtime library [libQt5Qml.so.5] in /usr/lib/x86_64-linux-gnu may be hidden by files in:
      /home/andrewhardy/miniconda3/lib

If I try sudo make -j despite this, I get


/usr/bin/ld: /usr/bin/ld: /usr/bin/ld: CMakeFiles/fantest.dir/fantest.cpp.o: in function `FanTest::rpmTest()':
/home/andrewhardy/fancontrol-gui/import/tests/fantest.cpp:84: undefined reference to `QTest::qCompare(int, int, char const*, char const*, char const*, int)'

I wonder if its another miniconda issues, as when I run

qmake --version

I get back

QMake version 3.1 Using Qt version 5.9.7 in /home/andrewhardy/miniconda3/lib