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

Errors while building #35

Open
CodeWithAlamin opened this issue Oct 7, 2024 · 6 comments
Open

Errors while building #35

CodeWithAlamin opened this issue Oct 7, 2024 · 6 comments

Comments

@CodeWithAlamin
Copy link

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
Copy link
Author

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!!

@hrqmonteiro
Copy link

How do we resolve it? Anyone?

@hrqmonteiro
Copy link

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

@DeltaCopy
Copy link

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

@hrqmonteiro
Copy link

@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.

@CodeWithAlamin
Copy link
Author

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

Thanks. It worked on TuxedoOs

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

3 participants