Rate This Document
Findability
Accuracy
Completeness
Readability

X11/Xlib.h Not Found When Compiling JNA

Symptom

An error is reported when compiling JNA:

1
fatal error: X11/Xlib.h: No such file or directory

Key Process and Cause Analysis

None

Conclusion and Solution

Install libXpm-devel.

1
yum install libXpm-devel