libx11
X.Org: Core X11 protocol client library
Latest version: 1.8.13
Add to xmake.lua
add_requires("libx11 1.8.13")Learn how to add and link packages with Xmake →
Information
- License
- X11
- Recipe updated
- 2026-04-10T02:23:22.000Z
Platforms
- linux: i386, x86_64, armv7, armv7s, arm64, mips, mips64, mipsel, mips64el, loong64, riscv64, s390x, ppc, ppc64, ppc64el, sparc64
- bsd: i386, x86_64, arm, arm64, ppc, ppc64, ppc64el, riscv64, sparc64
- cross: i386, x86_64, arm, armv7, arm64, mips, mips64, mips64el, riscv, riscv64, loong64, s390x, ppc, ppc64, ppc64el, sh4, sparc64
- macosx: x86_64, arm64
Options
shared- Build shared library. · Type: boolean · Default: true
Versions
- 1.6.9
- 1.7.0
- 1.7.3
- 1.8.1
- 1.8.7
- 1.8.12
- 1.8.13
Dependencies
No dependencies declared.
Used by (21)
Packages declaring this dependency; requirements can vary by platform and configuration.
Install with xrepo
Install the package independently of a project and inspect its available configuration.
install
xrepo install "libx11 1.8.13"show info
xrepo info "libx11"Link a library to your target
Declare the requirement, then attach the library to the target that uses it.
xmake.lua
add_requires("libx11 1.8.13")
target("demo")
set_kind("binary")
add_files("src/*.cpp")
add_packages("libx11")Open a package environment
Open a shell with the environment exported by this package. Use the executable names documented by the package.
enter shell
xrepo env -b "libx11 1.8.13" shell