我要评分
获取效率
正确性
完整性
易理解

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