MrGlockenspiel / activate-linux

The "Activate Windows" watermark ported to Linux
GNU General Public License v3.0
4.4k stars 92 forks source link

Build error #142

Closed MrAru closed 2 years ago

MrAru commented 2 years ago

Just clone this repo and make

❯ make
mkdir -p protocols
wayland-scanner private-code //usr/share/wayland-protocols/stable/xdg-shell/xdg-shell.xml protocols/xdg-shell.c
wayland-scanner client-header wlr-layer-shell-unstable-v1.xml protocols/wlr-layer-shell-unstable-v1.h
wayland-scanner private-code wlr-layer-shell-unstable-v1.xml protocols/wlr-layer-shell-unstable-v1.c
  CC     src/activate_linux.c
cc: fatal error: cannot specify ‘-o’ with ‘-c’, ‘-S’ or ‘-E’ with multiple files
compilation terminated.
make: *** [Makefile:54: obj/activate_linux.o] Error 1

OS: Arch Linux 5.19.4-zen1-1-zen DE: KDE, Xorg clang version 14.0.6

Any suggestion? BTW, I'm not sure why I need to build something about wayland, since I'm using KDE.

MrGlockenspiel commented 2 years ago

it builds both backends by default, also the problems should be fixed now

MrAru commented 2 years ago

Thanks for your reply, the latest commit 547030 seems work for me without any problem.