yvbbrjdr / i3lock-fancy-rapid

A faster implementation of i3lock-fancy.
BSD 3-Clause "New" or "Revised" License
144 stars 20 forks source link

Cannot build on my machine #2

Closed simlevesque closed 5 years ago

simlevesque commented 5 years ago

Here's the output: gcc -lX11 -fopenmp i3lock-fancy-rapid.o lodepng.o -o i3lock-fancy-rapid i3lock-fancy-rapid.o: In function 'main': i3lock-fancy-rapid.c:(.text.startup+0x5f): undefined reference to 'XOpenDisplay' i3lock-fancy-rapid.c:(.text.startup+0x71): undefined reference to 'XDefaultRootWindow' i3lock-fancy-rapid.c:(.text.startup+0x8d): undefined reference to 'XGetWindowAttributes' i3lock-fancy-rapid.c:(.text.startup+0xdd): undefined reference to 'XGetImage' i3lock-fancy-rapid.c:(.text.startup+0x194): undefined reference to 'XDestroyWindow' i3lock-fancy-rapid.c:(.text.startup+0x19c): undefined reference to 'XCloseDisplay' collect2: error: ld returned 1 exit status Makefile:7: recipe for target 'i3lock-fancy-rapid' failed make: *** [i3lock-fancy-rapid] Error 1

I'm on Ubuntu 17.10. libx11-dev is installed.

yvbbrjdr commented 5 years ago

Thank you for your report. This bug is fixed in 7c655bb.