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

compile on raspberry pi (bookworm) #15

Open
ashah7 opened this issue Nov 22, 2024 · 1 comment
Open

compile on raspberry pi (bookworm) #15

ashah7 opened this issue Nov 22, 2024 · 1 comment

Comments

@ashah7
Copy link

ashah7 commented Nov 22, 2024

I'm trying to compile this on my raspberry pi
I've installed all the dependences

pi@10000000240297d5:~/xlibinput_calibrator/src $ make
g++ -MT gui_x11.o -MMD -MP -MF .d/gui_x11.Td -Wall -pedantic -std=c++17   -c -o gui_x11.o gui_x11.cc
gui_x11.cc:29:10: fatal error: X11/extensions/Xrandr.h: No such file or directory
   29 | #include <X11/extensions/Xrandr.h>
      |          ^~~~~~~~~~~~~~~~~~~~~~~~~
compilation terminated.
make: *** [Makefile:48: gui_x11.o] Error 1


ii  gcc                                  4:12.2.0-3+rpi1                  armhf        GNU C compiler
ii  gcc-10-base:armhf                    10.4.0-7+rpi1                    armhf        GCC, the GNU Compiler Collection (base package)
ii  gcc-12                               12.2.0-14+rpi1                   armhf        GNU C compiler
ii  gcc-12-base:armhf                    12.2.0-14+rpi1                   armhf        GCC, the GNU Compiler Collection (base package)
ii  gcc-7-base:armhf                     7.5.0-6+rpi1+b2                  armhf        GCC, the GNU Compiler Collection (base package)
ii  gcc-8-base:armhf                     8.4.0-7+rpi1                     armhf        GCC, the GNU Compiler Collection (base package)
ii  gcc-9-base:armhf                     9.4.0-2+rpi1                     armhf        GCC, the GNU Compiler Collection (base package)
ii  libgcc-12-dev:armhf                  12.2.0-14+rpi1                   armhf        GCC support library (development files)
ii  libgcc-s1:armhf                      12.2.0-14+rpi1                   armhf        GCC support library


@kreijack
Copy link
Owner

You need to add also libxrandr-dev

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