-
Notifications
You must be signed in to change notification settings - Fork 2
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Compilation error #1
Comments
Hey, it looks like you don't have the XCB headers installed. You'll need the dev version of your distro's XCB library
…On 24 March 2024 11:20:47 GMT, D ***@***.***> wrote:
When I run `make`
rm -f xoop
cc -Wall -Wextra -pedantic -lxcb -lxcb-randr -lxcb-xinput -lxcb-xfixes xoop.c -o xoop
xoop.c:27:10: fatal error: xcb/randr.h: No such file or directory
27 | #include <xcb/randr.h>
| ^~~~~~~~~~~~~
compilation terminated.
make: *** [<builtin>: xoop] Error 1
--
Reply to this email directly or view it on GitHub:
#1
You are receiving this because you are subscribed to this thread.
Message ID: ***@***.***>
|
Hi! I installed the required libraries and still got compilation errors:
This is due to the Makefile itself: The libaries are included in CFLAGS, but they should be listed in LDLIBS. The order of the parameters for @m-col I'll send you a PR 🙂 And of course, thank you for this amazing tool! |
When I run
make
rm -f xoop
cc -Wall -Wextra -pedantic -lxcb -lxcb-randr -lxcb-xinput -lxcb-xfixes xoop.c -o xoop
xoop.c:27:10: fatal error: xcb/randr.h: No such file or directory
27 | #include <xcb/randr.h>
| ^~~~~~~~~~~~~
compilation terminated.
make: *** [: xoop] Error 1
The text was updated successfully, but these errors were encountered: