Registry / other / libx11

libx11

JSON →
library1.8.1vcpkgunverified

libX11 is the core X11 protocol client library for the X Window System.

vcpkg install libx11
INSTALL
IMPORT
SIG · LIBX11
L
libx11
othercppv1.8.1
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

X11/Xlib.h
#include <X11/Xlib.h>

Open and close the default X11 display

#include <X11/Xlib.h> #include <cstdio> int main() { Display *d = XOpenDisplay(NULL); if (!d) { printf("Cannot open display\n"); return 1; } XCloseDisplay(d); return 0; }
Debug
Known issues
gotchalibX11 requires an X server running; it will fail on headless systems without Xvfb.
fix
Use Xvfb or ensure DISPLAY is set appropriately.
affects: *
Upgrade
Version history
1.8.1latest on vcpkg
Audit
Dependencies

No dependency data recorded yet.

Agent activity
12 hits · last 30 days
node
12
Resources

No resource links recorded.

libx11 — pip install libx11 · libregistry