Lightly icon indicating copy to clipboard operation
Lightly copied to clipboard

Help Needed: Issues Installing Lightly on KDE Neon with Plasma 6.1.2

Open ildevesh opened this issue 1 year ago • 3 comments

Hi everyone, I'm reaching out for some help with a problem I'm facing while trying to install Lightly on my KDE neon desktop. My Plasma version is 6.1.2. I'm trying to build Lightly using CMake, but I keep running into errors that I can't seem to resolve. Here’s what I’ve done so far:

Cloned the Lightly repository by running: git clone --single-branch --depth=1 https://github.com/Luwx/Lightly.git

Created a build directory and navigated into it by running: cd Lightly && mkdir build && cd build

Ran CMake by executing: cmake -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_INSTALL_LIBDIR=lib -DBUILD_TESTING=OFF ..

This is where I’m encountering issues. The output shows errors that I can't figure out. Here’s a snippet of the error messages I’m seeing:


ildevesh@Devesh-PC:~/Downloads/Lightly/build$ cmake -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_INSTALL_LIBDIR=lib -DBUILD_TESTING=OFF ..
CMake Deprecation Warning at CMakeLists.txt:1 (cmake_minimum_required):
 Compatibility with CMake < 3.5 will be removed from a future version of
 CMake.

 Update the VERSION argument <min> value or use a ...<max> suffix to tell
 CMake that the project does not need compatibility with older versions.


-- The C compiler identification is GNU 11.4.0
-- The CXX compiler identification is GNU 11.4.0
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working C compiler: /usr/bin/cc - skipped
-- Detecting C compile features
-- Detecting C compile features - done
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Check for working CXX compiler: /usr/bin/c++ - skipped
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Installing in the same prefix as Qt, adopting their path scheme.
-- Setting build type to 'Debug' as none was specified.
-- Looking for __GLIBC__
-- Looking for __GLIBC__ - found
-- Performing Test _OFFT_IS_64BIT
-- Performing Test _OFFT_IS_64BIT - Success
-- Performing Test HAVE_DATE_TIME
-- Performing Test HAVE_DATE_TIME - Success
-- Performing Test CMAKE_HAVE_LIBC_PTHREAD
-- Performing Test CMAKE_HAVE_LIBC_PTHREAD - Success
-- Found Threads: TRUE
-- Found OpenGL: /usr/lib/x86_64-linux-gnu/libOpenGL.so
-- Found WrapOpenGL: TRUE
-- Found XKB: /usr/lib/x86_64-linux-gnu/libxkbcommon.so (found suitable version "1.4.0", minimum required is "0.5.0")
-- Found WrapVulkanHeaders: /usr/include
-- Performing Test HAVE_STDATOMIC
-- Performing Test HAVE_STDATOMIC - Success
-- Found WrapAtomic: TRUE
CMake Error at /usr/lib/x86_64-linux-gnu/cmake/Qt6Core/Qt6CoreVersionlessTargets.cmake:42 (message):
 Some (but not all) targets in this export set were already defined.

 Targets Defined: Qt::Core

 Targets not yet defined: Qt::CorePrivate

Call Stack (most recent call first):
 /usr/lib/x86_64-linux-gnu/cmake/Qt6Core/Qt6CoreConfig.cmake:72 (include)
 /usr/share/cmake-3.30/Modules/CMakeFindDependencyMacro.cmake:76 (find_package)
 /usr/lib/x86_64-linux-gnu/cmake/Qt6/QtPublicDependencyHelpers.cmake:111 (find_dependency)
 /usr/lib/x86_64-linux-gnu/cmake/Qt6Gui/Qt6GuiDependencies.cmake:42 (_qt_internal_find_qt_dependencies)
 /usr/lib/x86_64-linux-gnu/cmake/Qt6Gui/Qt6GuiConfig.cmake:53 (include)
 /usr/share/cmake-3.30/Modules/CMakeFindDependencyMacro.cmake:76 (find_package)
 /usr/lib/x86_64-linux-gnu/cmake/KDecoration2/KDecoration2Config.cmake:38 (find_dependency)
 CMakeLists.txt:25 (find_package)


CMake Error at /usr/share/cmake-3.30/Modules/CMakeFindDependencyMacro.cmake:76 (find_package):
 Found package configuration file:

   /usr/lib/x86_64-linux-gnu/cmake/Qt6Gui/Qt6GuiConfig.cmake

 but it set Qt6Gui_FOUND to FALSE so package "Qt6Gui" is considered to be
 NOT FOUND.
Call Stack (most recent call first):
 /usr/lib/x86_64-linux-gnu/cmake/KDecoration2/KDecoration2Config.cmake:38 (find_dependency)
 CMakeLists.txt:25 (find_package)


-- Configuring incomplete, errors occurred!

I’ve also attached a screenshot of the errors for additional context: https://imgur.com/a/IVqp9aZ Additionally, here are my system specs: https://imgur.com/a/viZXrwB

I’ve tried searching for solutions and checking the documentation, but I haven’t had any luck so far. Has anyone else faced similar issues or can anyone provide some guidance on how to resolve this? Any help would be greatly appreciated! Thanks in advance.

ildevesh avatar Jul 17 '24 12:07 ildevesh

im getting the same thing

WOLFBED avatar Sep 07 '24 23:09 WOLFBED

me too

Lull3n avatar Sep 22 '24 22:09 Lull3n

Hey, this repo has been abandoned. https://github.com/Bali10050/Lightly is being actively maintained so you should probably give it a try.

TKK13909 avatar Nov 07 '24 21:11 TKK13909