Can't build - X11/Xlib.h : No such file or directory
QJoly opened this issue · comments
Go version : go version go1.20.3 linux/amd64
Hi
I encountered an error while compiling the Aiac program in Go. The error message states that "X11/Xlib.h: No such file or directory" is missing. Can you please help me resolve this issue?
Thank you.
go: downloading golang.design/x/clipboard v0.7.0
go: downloading github.com/fatih/color v1.7.0
go: downloading github.com/rodaine/table v1.1.0
go: downloading github.com/alecthomas/kong v0.7.1
go: downloading github.com/briandowns/spinner v1.19.0
go: downloading github.com/manifoldco/promptui v0.9.0
go: downloading github.com/ido50/requests v1.5.0
go: downloading github.com/mattn/go-isatty v0.0.16
go: downloading github.com/mattn/go-colorable v0.1.2
go: downloading github.com/chzyer/readline v0.0.0-20180603132655-2972be24d48e
go: downloading go.uber.org/zap v1.24.0
go: downloading golang.org/x/sys v0.5.0
go: downloading go.uber.org/multierr v1.8.0
go: downloading go.uber.org/atomic v1.10.0
# golang.design/x/clipboard
clipboard_linux.c:15:10: erreur fatale: X11/Xlib.h : No such file or directory
15 | #include <X11/Xlib.h>
| ^~~~~~~~~~~~
compilation terminée.
Hi @liavyona
Thanks, the issue is fixed