Hi everyone,
I'm trying to install manim using devel/uv and at some point I get the following output It says I need to install "a library that provides "X11/Xlib.h" for glcontext 3.0.0" and I dont know what library it is that I should provide...
Thank you.
I'm trying to install manim using devel/uv and at some point I get the following output It says I need to install "a library that provides "X11/Xlib.h" for glcontext 3.0.0" and I dont know what library it is that I should provide...
Code:
uv add manim
Using CPython 3.11.11 interpreter at: /usr/local/bin/python3.11
Creating virtual environment at: .venv
Resolved 38 packages in 6.85s
Built srt==3.5.3
Built watchdog==6.0.0
× Failed to download and build `glcontext==3.0.0`
╰─▶ Build backend failed to build wheel through `build_wheel` (exit status: 1)
[stdout]
running bdist_wheel
running build
running build_py
creating build/lib.freebsd-14.2-RELEASE-p1-amd64-cpython-311/glcontext
copying glcontext/__init__.py -> build/lib.freebsd-14.2-RELEASE-p1-amd64-cpython-311/glcontext
copying glcontext/empty.py -> build/lib.freebsd-14.2-RELEASE-p1-amd64-cpython-311/glcontext
running build_ext
building 'glcontext.x11' extension
creating build/temp.freebsd-14.2-RELEASE-p1-amd64-cpython-311/glcontext
c++ -pthread -Wsign-compare -Wunreachable-code -DNDEBUG -O2 -pipe -fstack-protector-strong -fno-strict-aliasing
-fPIC -I/home/free/.cache/uv/builds-v0/.tmptb1DV0/include -I/usr/local/include/python3.11 -c glcontext/x11.cpp -o
build/temp.freebsd-14.2-RELEASE-p1-amd64-cpython-311/glcontext/x11.o -fpermissive
[stderr]
glcontext/x11.cpp:5:10: fatal error: 'X11/Xlib.h' file not found
5 | #include <X11/Xlib.h>
| ^~~~~~~~~~~~
1 error generated.
error: command '/usr/bin/c++' failed with exit code 1
hint: This error likely indicates that you need to install a library that provides "X11/Xlib.h" for `glcontext@3.0.0`
help: `glcontext` (v3.0.0) was included because `manimation` (v0.1.0) depends on `manim` (v0.19.0) which depends on `moderngl` (v5.12.0)
which depends on `glcontext`
Thank you.