WillPower3309 / swayfx

SwayFX: Sway, but with eye candy!
MIT License
1.2k stars 47 forks source link

swayfx fails to build on Arch #221

Open lolplayer69420 opened 10 months ago

lolplayer69420 commented 10 months ago

Im trying to install swayfx on Arch Linux, but whether i try to do it by building it manually from source, or i try to install it via AUR, it fails

meson build/
ninja -C build/
sudo ninja -C build/ install

or

yay -S swayfx 
RicArch97 commented 10 months ago

Perhaps check if you have wlroots 0.17 on your system

lolplayer69420 commented 10 months ago

Perhaps check if you have wlroots 0.17 on your system

i tried to install it via the AUR, but trying to build swayfx had the same error, so i tried to build and install it directly from the wlroot's git and meson failed with the following errors:

ninja: Entering directory `build/'
ninja: error: '/usr/lib/libwlroots.so', needed by 'sway/sway', missing and no known rule to make it
ninja: Entering directory `build/'
ninja: error: '/usr/lib/libwlroots.so', needed by 'sway/sway', missing and no known rule to make it
ErikReider commented 10 months ago

You need wlroots 0.16 installed, not wlroots-git

lolplayer69420 commented 10 months ago

You need wlroots 0.16 installed, not wlroots-git

i installed wlroots and i have the same error

RicArch97 commented 10 months ago

You need wlroots 0.16 installed, not wlroots-git

i installed wlroots and i have the same error

You likely still have wlroots 0.17 (wlroots-git) installed on your system. This is usually the case when you have compiled it from source at some point. Those files aren't managed by anything other than yourself, so it might still be there. Look for libwlroots.so.12 in /usr/local/lib (and maybe also /usr/lib just to be sure). If it's there, remove it and try again.

lolplayer69420 commented 10 months ago

You need wlroots 0.16 installed, not wlroots-git

i installed wlroots and i have the same error

You likely still have wlroots 0.17 (wlroots-git) installed on your system. This is usually the case when you have compiled it from source at some point. Those files aren't managed by anything other than yourself, so it might still be there. Look for libwlroots.so.12 in /usr/local/lib (and maybe also /usr/lib just to be sure). If it's there, remove it and try again.

You need wlroots 0.16 installed, not wlroots-git

i installed wlroots and i have the same error

You likely still have wlroots 0.17 (wlroots-git) installed on your system. This is usually the case when you have compiled it from source at some point. Those files aren't managed by anything other than yourself, so it might still be there. Look for libwlroots.so.12 in /usr/local/lib (and maybe also /usr/lib just to be sure). If it's there, remove it and try again.

same error, i also deleted a file named libwlroots.so.12032 just for being sure

ErikReider commented 7 months ago

When running meson build/ you should see the wlroots version found on your system

lolplayer69420 commented 7 months ago

now it works, but it doesnt apply any effects like shadows or round corners

ErikReider commented 7 months ago

now it works, but it doesnt apply any effects like shadows or round corners

Run sway --version and paste the output here

lolplayer69420 commented 7 months ago

sway version 0.3.2-26cdeeb (Dec 6 2023, branch 'master')

lolplayer69420 commented 6 months ago

The problem was that for some reason, it didnt read the config file, launching it with the --config option solved it, but now i have to logout each time i change something in the config file