a-parhom / LightlyShaders

Rounded window corners and outline effect for KWin.
350 stars 23 forks source link

Error Running install.sh #129

Open Not4Eric opened 3 months ago

Not4Eric commented 3 months ago

Distro: Nobara Linux 39 KDE Plasma 6.0.2

I have a problem where when I run the install script it gives me this error and I don't know how to fix it

  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/lib64/cmake/Qt6Core/Qt6CoreConfig.cmake:68 (include)
  /usr/share/cmake/Modules/CMakeFindDependencyMacro.cmake:76 (find_package)
  /usr/lib64/cmake/Qt6/QtPublicDependencyHelpers.cmake:111 (find_dependency)
  /usr/lib64/cmake/Qt6Gui/Qt6GuiDependencies.cmake:39 (_qt_internal_find_qt_dependencies)
  /usr/lib64/cmake/Qt6Gui/Qt6GuiConfig.cmake:50 (include)
  /usr/share/cmake/Modules/CMakeFindDependencyMacro.cmake:76 (find_package)
  /usr/lib64/cmake/KDecoration2/KDecoration2Config.cmake:38 (find_dependency)
  CMakeLists.txt:63 (find_package)

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

    /usr/lib64/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/lib64/cmake/KDecoration2/KDecoration2Config.cmake:38 (find_dependency)
  CMakeLists.txt:63 (find_package)

And I have all the dependencies installed

J-Wyz commented 3 months ago

Same issue here on fedora 40 beta. I was running it in a gnome boxes vm on 6.0.1. It might have to do with fedora based distros but I am not sure

Not4Eric commented 3 months ago

Same issue here on fedora 40 beta. I was running it in a gnome boxes vm on 6.0.1. It might have to do with fedora based distros but I am not sure

Well, I was on nobara 39 and now I switched to EndevourOS (Arch based) and yeah it still cannot build it but I got a different error now

-- Found KF5GuiAddons: /usr/lib/cmake/KF5GuiAddons/KF5GuiAddonsConfig.cmake (found version "5.115.0")
-- Found KF5: success (found suitable version "5.115.0", minimum required is "5.102.0") found components: Config ConfigWidgets CoreAddons Crash GlobalAccel I18n KIO Service Init Notifications Service WidgetsAddons WindowSystem GuiAddons
-- Found XCB_XCB: /usr/lib/libxcb.so (found version "1.16.1")
-- Found XCB_RENDER: /usr/lib/libxcb-render.so (found version "1.16.1")
-- Found XCB_SHAPE: /usr/lib/libxcb-shape.so (found version "1.16.1")
-- Found XCB_XFIXES: /usr/lib/libxcb-xfixes.so (found version "1.16.1")
-- Found XCB_SHM: /usr/lib/libxcb-shm.so (found version "1.16.1")
-- Found XCB_ATOM: /usr/lib/libxcb-util.so (found version "0.4.1")
-- Found XCB_AUX: /usr/lib/libxcb-util.so (found version "0.4.1")
-- Found XCB_COMPOSITE: /usr/lib/libxcb-composite.so (found version "1.16.1")
-- Found XCB_CURSOR: /usr/lib/libxcb-cursor.so (found version "0.1.5")
-- Found XCB_DAMAGE: /usr/lib/libxcb-damage.so (found version "1.16.1")
-- Found XCB_DPMS: /usr/lib/libxcb-dpms.so (found version "1.16.1")
-- Found XCB_DRI2: /usr/lib/libxcb-dri2.so (found version "1.16.1")
-- Found XCB_DRI3: /usr/lib/libxcb-dri3.so (found version "1.16.1")
-- Found XCB_EVENT: /usr/lib/libxcb-util.so (found version "0.4.1")
-- Found XCB_EWMH: /usr/lib/libxcb-ewmh.so (found version "0.4.2")
-- Found XCB_GLX: /usr/lib/libxcb-glx.so (found version "1.16.1")
-- Found XCB_ICCCM: /usr/lib/libxcb-icccm.so (found version "0.4.2")
-- Found XCB_IMAGE: /usr/lib/libxcb-image.so (found version "0.4.1")
-- Found XCB_KEYSYMS: /usr/lib/libxcb-keysyms.so (found version "0.4.1")
-- Found XCB_PRESENT: /usr/lib/libxcb-present.so (found version "1.16.1")
-- Found XCB_RANDR: /usr/lib/libxcb-randr.so (found version "1.16.1")
-- Found XCB_RECORD: /usr/lib/libxcb-record.so (found version "1.16.1")
-- Found XCB_RENDERUTIL: /usr/lib/libxcb-render-util.so (found version "0.3.10")
-- Found XCB_RES: /usr/lib/libxcb-res.so (found version "1.16.1")
-- Found XCB_SCREENSAVER: /usr/lib/libxcb-screensaver.so (found version "1.16.1")
-- Found XCB_SYNC: /usr/lib/libxcb-sync.so (found version "1.16.1")
-- Found XCB_UTIL: /usr/lib/libxcb-util.so (found version "0.4.1")
-- Found XCB_XF86DRI: /usr/lib/libxcb-xf86dri.so (found version "1.16.1")
-- Found XCB_XINERAMA: /usr/lib/libxcb-xinerama.so (found version "1.16.1")
-- Found XCB_XINPUT: /usr/lib/libxcb-xinput.so (found version "1.16.1")
-- Found XCB_XKB: /usr/lib/libxcb-xkb.so (found version "1.16.1")
-- Found XCB_XTEST: /usr/lib/libxcb-xtest.so (found version "1.16.1")
-- Found XCB_XV: /usr/lib/libxcb-xv.so (found version "1.16.1")
-- Found XCB_XVMC: /usr/lib/libxcb-xvmc.so (found version "1.16.1")
-- Found XCB: /usr/lib/libxcb.so;/usr/lib/libxcb-render.so;/usr/lib/libxcb-shape.so;/usr/lib/libxcb-xfixes.so;/usr/lib/libxcb-shm.so;/usr/lib/libxcb-util.so;/usr/lib/libxcb-composite.so;/usr/lib/libxcb-cursor.so;/usr/lib/libxcb-damage.so;/usr/lib/libxcb-dpms.so;/usr/lib/libxcb-dri2.so;/usr/lib/libxcb-dri3.so;/usr/lib/libxcb-ewmh.so;/usr/lib/libxcb-glx.so;/usr/lib/libxcb-icccm.so;/usr/lib/libxcb-image.so;/usr/lib/libxcb-keysyms.so;/usr/lib/libxcb-present.so;/usr/lib/libxcb-randr.so;/usr/lib/libxcb-record.so;/usr/lib/libxcb-render-util.so;/usr/lib/libxcb-res.so;/usr/lib/libxcb-screensaver.so;/usr/lib/libxcb-sync.so;/usr/lib/libxcb-xf86dri.so;/usr/lib/libxcb-xinerama.so;/usr/lib/libxcb-xinput.so;/usr/lib/libxcb-xkb.so;/usr/lib/libxcb-xtest.so;/usr/lib/libxcb-xv.so;/usr/lib/libxcb-xvmc.so (found version "1.16.1")
-- Found OpenGL: /usr/lib/libOpenGL.so
-- Found WrapOpenGL: TRUE
-- Found XKB: /usr/lib/libxkbcommon.so (found suitable version "1.7.0", minimum required is "0.5.0")
-- Found WrapVulkanHeaders: /usr/include
-- Performing Test HAVE_STDATOMIC
-- Performing Test HAVE_STDATOMIC - Success
-- Found WrapAtomic: TRUE
-- didnt find kwineffects.h, not building effects
-- didnt find kwineffects lib, not building effects
-- didnt find kwin glutils lib, not building effects
CMake Error at CMakeLists.txt:92 (message):
  cant continue

This is the last part of the error

And btw I did create a symlink from libkwin.so.6 to libkwin.so.5

J-Wyz commented 3 months ago

Hmm… Check the file paths and structure. I can’t tell you exactly what is went wrong with it in fedora but the file paths of qtcore were screwed up and I couldn’t figure out what went wrong. Maybe I need multiple versions of the same software for it to work? Maybe the same issue is in endeavor? I can’t confirm with fedora until Saturday.

Not4Eric commented 3 months ago

Well, sorry for the sudden distro hop, but now I'm on fedora 39 and It works fine, It may do with plasma 6 stuff (Fedora 39 still uses Plasma 5.27)

Edit: Or it doesn't I don't even know anymore

Btw: Which Branch did you use?

J-Wyz commented 3 months ago

I used the plasma 6 branch since I was experimenting with plasma 6. I think it is a particular issue with that branch.