Lightly icon indicating copy to clipboard operation
Lightly copied to clipboard

Errors while building

Open CodeWithAlamin opened this issue 1 year ago • 6 comments

After installing the dependencies, I ran below command which went fine: git clone --single-branch --depth=1 https://github.com/boehs/Lightly.git cd Lightly && mkdir build && cd build

But after that when i run this command below It gives me errors: 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 value or use a ... 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!

CodeWithAlamin avatar Oct 07 '24 08:10 CodeWithAlamin

Why don't you just build the package in standalone file like .deb and then share? Not everybody knows how to build and all the stuff!!

CodeWithAlamin avatar Oct 07 '24 08:10 CodeWithAlamin

How do we resolve it? Anyone?

hrqmonteiro avatar Oct 11 '24 11:10 hrqmonteiro

Why don't you just build the package in standalone file like .deb and then share? Not everybody knows how to build and all the stuff!!

What?

You can't be fucking serious lol

hrqmonteiro avatar Oct 11 '24 11:10 hrqmonteiro

@CodePapa360 you could try a fork which has more active development. https://github.com/Bali10050/Lightly

DeltaCopy avatar Oct 16 '24 08:10 DeltaCopy

@CodePapa360 you could try a fork which has more active development. https://github.com/Bali10050/Lightly

They screwed this fork up by making it look like Windows with those decoration buttons

No, that's awful.

hrqmonteiro avatar Oct 19 '24 13:10 hrqmonteiro

@CodePapa360 you could try a fork which has more active development. https://github.com/Bali10050/Lightly

Thanks. It worked on TuxedoOs

CodeWithAlamin avatar Oct 19 '24 14:10 CodeWithAlamin