Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error on cmake Command #60

Open
andrewkhardy opened this issue Jul 8, 2021 · 0 comments
Open

Error on cmake Command #60

andrewkhardy opened this issue Jul 8, 2021 · 0 comments

Comments

@andrewkhardy
Copy link

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant