Skip to content
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

Can't seem to find the correct dependencies to make this library #5

Open
canyon289 opened this issue Oct 2, 2021 · 1 comment
Open

Comments

@canyon289
Copy link

Hi,
I'm trying to make this but am getting the error below. Tried for a while to find the right packages to install after using the one in the README but am coming up short. If possible any help or pointers would be appreciated.

Thanks for developing this library

(base) canyon@canyon-MS-7A59:/repos/highlight-pointer$ sudo apt-get install libx11-dev libxext-dev libxfixes-dev libxi-dev
Reading package lists... Done
Building dependency tree
Reading state information... Done
libxext-dev is already the newest version (2:1.3.4-0ubuntu1).
libxfixes-dev is already the newest version (1:5.0.3-2).
libxi-dev is already the newest version (2:1.7.10-0ubuntu1).
libx11-dev is already the newest version (2:1.6.9-2ubuntu1.2).
0 upgraded, 0 newly installed, 0 to remove and 95 not upgraded.
(base) canyon@canyon-MS-7A59:
/repos/highlight-pointer$ make
/home/canyon/miniconda3/bin/x86_64-conda_cos6-linux-gnu-cc highlight-pointer.c -o highlight-pointer -flto -O3 -Wall -Wextra -Wshadow -std=c99 -lX11 -lXext -lXfixes -lXi
highlight-pointer.c:30:10: fatal error: X11/Xatom.h: No such file or directory
#include <X11/Xatom.h>
^~~~~~~~~~~~~
compilation terminated.
make: *** [makefile:2: highlight-pointer] Error 1
(base) canyon@canyon-MS-7A59:~/repos/highlight-pointer$

@newbie-02
Copy link

hmmmm ... I'm neither good in coding nor X11 servers and such stuff, but

'fatal error: X11/Xatom.h: No such file or directory' sounds like a qualified message,

found that file on a fresh ubuntu install, which is somewhat pimped for compiling, in
/usr/include/X11, from here on a good search engine or google may help to get
on the board.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants