Building Ladybird
CMake fails to configure the build because it’s outdated
Ensure your CMake version is >= 3.30 withcmake --version. If your system doesn’t provide a suitable version of CMake, you can download a binary release from the CMake website.
CMake 3.30 or newer is required to build Ladybird.
GCC is missing or is outdated
Ensure your gcc version is supported by the build system withgcc --version. Otherwise, install it.
If your gcc binary is not called gcc you have to specify the names of your C and C++ compiler when you run cmake:
Legacy renegotiation is disabled
Ensure your/etc/ssl/openssl.cnf file has the following options:
“Targets may link only to libraries” message (Qt UI on macOS)
When building with the Qt UI on macOS, you may encounter the following message:Despite the warning message shown in bright yellow, you’ll be able to build successfully with the Qt UI. This warning can be safely ignored.
Running Ladybird
Race condition on exit when running headless on systems with llvmpipe
When running--headless=text or --headless=layout-tree on a UNIX system with the llvmpipe software rasterizer (common default on virtual machines), Ladybird will occasionally terminate with:
--force-cpu-painting to make that go away.
Likely explanation: atexit handlers are registered twice possibly due to llvmpipe and fork/exec interaction issues when starting WebContent process.