To get the up and running, install the following dependencies:
- Meson -
pip install meson
- ninja -
pip install ninja
- Python -
sudo apt install python3-dev
(with dev headers) - Cairo -
sudo apt install libcairo2-dev
Then, run the following commands:
meson setup builddir
# This will create a build directory, called builddirmeson compile -C builddir
# This will compile the project- Set the
PYTHONPATH
environment variable to thebuilddir/manim_renderer
directory as well asbuilddir/subprojects/pycairo/cairo
directory. - Run any command you want.
I would recommend configuring VSCode with compile_command.json
from builddir
directory. This will allow you to get autocompletion and other features.