a-parhom / LightlyShaders

Rounded window corners and outline effect for KWin.
367 stars 24 forks source link

The newest version Arch+Plasma 6 compile fails. It tells me: file: kwineffects.h,kwineffects lib,kwin glutils lib didn't find #126

Open Windy-wjf opened 8 months ago

Windy-wjf commented 8 months ago

The dependencies are all installed, and I am compiling the Plasma 6 branch. I tried many times,but it did't work.

              .o+`                     wjf@archlinux-wjf
             `ooo/                   OS: Arch Linux 
            `+oooo:                Kernel: x86_64 Linux 6.7.9-arch1-1
           `+oooooo:             Uptime: 20m
           -+oooooo+:              Packages: 1756
         `/:-:++oooo+:             Shell: zsh 5.9
        `/++++/+++++++:            Resolution: 3840x1080
       `/++++++++++++++:           DE: KDE
      `/+++ooooooooooooo/`         WM: KWin
     ./ooosssso++osssssso+`        GTK Theme: Default [GTK2/3]
    .oossssso-````/ossssss+`       Icon Theme: WhiteSur
   -osssssso.      :ssssssso.      Disk: 970G / 1.4T (69%)
  :osssssss/        osssso+++.     CPU: Intel Core i5-10300H @ 8x 4.5GHz [59.0°C]
 /ossssssss/        +ssssooo/-     GPU: NVIDIA GeForce RTX 2060

`/ossssso+/:- -:/+osssso+- RAM: 5983MiB / 15760MiB

meisaamayako commented 8 months ago

It would help @a-parhom wayy more if you shared your build logs as well :) the full build log, not just in your title :)

playthe218 commented 8 months ago

cmake ../ -DCMAKE_INSTALL_PREFIX=/usr && make && sudo make install -- 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

-- Configuring incomplete, errors occurred!

playthe218 commented 8 months ago

For More:

there is a "export LANG=zh_CN.UTF-8" in .zshrc so

❯ git clone https://github.com/a-parhom/LightlyShaders; cd LightlyShaders; mkdir qt6build; cd qt6build; cmake ../ -DCMAKE_INSTALL_PREFIX=/usr && make && sudo make install

正克隆到 'LightlyShaders'... remote: Enumerating objects: 870, done. remote: Counting objects: 100% (218/218), done. remote: Compressing objects: 100% (38/38), done. remote: Total 870 (delta 195), reused 180 (delta 180), pack-reused 652 接收对象中: 100% (870/870), 19.36 MiB | 1.09 MiB/s, 完成. 处理 delta 中: 100% (531/531), 完成. -- The C compiler identification is GNU 13.2.1 -- The CXX compiler identification is GNU 13.2.1 -- 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 -- Performing Test CMAKE_HAVE_LIBC_PTHREAD -- Performing Test CMAKE_HAVE_LIBC_PTHREAD - Success -- Found Threads: TRUE
-- Installing in the same prefix as Qt, adopting their path scheme. -- 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 -- Found KF5Config: /usr/lib/cmake/KF5Config/KF5ConfigConfig.cmake (found version "5.115.0") -- Found KF5ConfigWidgets: /usr/lib/cmake/KF5ConfigWidgets/KF5ConfigWidgetsConfig.cmake (found version "5.115.0") -- Found KF5CoreAddons: /usr/lib/cmake/KF5CoreAddons/KF5CoreAddonsConfig.cmake (found version "5.115.0") -- Found KF5Crash: /usr/lib/cmake/KF5Crash/KF5CrashConfig.cmake (found version "5.115.0") -- Found KF5GlobalAccel: /usr/lib/cmake/KF5GlobalAccel/KF5GlobalAccelConfig.cmake (found version "5.115.0") -- Found Gettext: /usr/bin/msgmerge (found version "0.22.4") -- Found KF5I18n: /usr/lib/cmake/KF5I18n/KF5I18nConfig.cmake (found version "5.115.0") -- Found X11: /usr/include
-- Looking for XOpenDisplay in /usr/lib/libX11.so;/usr/lib/libXext.so -- Looking for XOpenDisplay in /usr/lib/libX11.so;/usr/lib/libXext.so - found -- Looking for gethostbyname -- Looking for gethostbyname - found -- Looking for connect -- Looking for connect - found -- Looking for remove -- Looking for remove - found -- Looking for shmat -- Looking for shmat - found -- Looking for IceConnectionNumber in ICE -- Looking for IceConnectionNumber in ICE - found -- Found KF5KIO: /usr/lib/cmake/KF5KIO/KF5KIOConfig.cmake (found version "5.115.0") -- Found KF5Service: /usr/lib/cmake/KF5Service/KF5ServiceConfig.cmake (found version "5.115.0") -- Found KF5Init: /usr/lib/cmake/KF5Init/KF5InitConfig.cmake (found version "5.115.0") -- Found KF5Notifications: /usr/lib/cmake/KF5Notifications/KF5NotificationsConfig.cmake (found version "5.115.0") -- Found KF5WidgetsAddons: /usr/lib/cmake/KF5WidgetsAddons/KF5WidgetsAddonsConfig.cmake (found version "5.115.0") -- Found KF5WindowSystem: /usr/lib/cmake/KF5WindowSystem/KF5WindowSystemConfig.cmake (found version "5.115.0") -- 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.6.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

-- Configuring incomplete, errors occurred!

cquasar commented 8 months ago

Same here

Not4Eric commented 8 months ago

Same here

Same here as well

titmouse84 commented 8 months ago

Same output as well. And the script gave this:

Running updatedb... Looking for libkwin.so.5 location... grep: warning: stray \ before / libkwin.so.5 library not found, exiting...

I'm running Garuda fully updated

Vineyo commented 7 months ago

Garuda user here, too. Fixed problem. Actually, it should for Plasma 6. Run:

git clone https://github.com/a-parhom/LightlyShaders

cd LightlyShaders;

git checkout plasma6;

mkdir qt6build; cd qt6build; cmake ../ -DCMAKE_INSTALL_PREFIX=/usr && make && sudo make install

The third line is missed in the tutorial.

cquasar commented 7 months ago

Garuda user here, too. Fixed problem. Actually, it should for Plasma 6. Run:

git clone https://github.com/a-parhom/LightlyShaders

cd LightlyShaders;

git checkout plasma6;

mkdir qt6build; cd qt6build; cmake ../ -DCMAKE_INSTALL_PREFIX=/usr && make && sudo make install

The third line is missed in the tutorial.

Yep, while it is not the main branch

owosoup commented 3 months ago

Oh my god. I am so stupid. I've been trying to fix this for hours ;-; Thanks to Vineyo I can finish my rice! Finally