These notes describe a typical Linux build of Recast & Detour for research tools that consume navigation meshes. They are not an official project page.
sudo apt-get install -y git cmake g++ make libsdl2-dev
git clone https://github.com/recastnavigation/recastnavigation.git cd recastnavigation cmake -S . -B build -DRECASTNAVIGATION_DEMO=ON cmake --build build -j"$(nproc)"
The RecastDemo binary lives under build/RecastDemo. Load an OBJ, rasterize, and export a .navmesh for your runtime.