From 1d1da28a21db68a5316c9875db97ed71e716ec05 Mon Sep 17 00:00:00 2001 From: Esteban Zimanyi Date: Thu, 9 Jul 2026 14:07:04 +0200 Subject: [PATCH] Build the ecosystem libmeos with the RASTER family tools/ecosystem-generate.sh builds the all-families libmeos that every binding loads. The flag list enables CBUFFER, JSON, NPOINT, POSE, RGEO, QUADBIN and H3 but omits RASTER, so the runtime lacks the raster family the catalog exposes. Add -DRASTER=ON alongside the other family flags. As with every family, enabling it pulls the family's full dependency chain -- RASTER pulls GDAL through find_package(GDAL REQUIRED), the same way H3 pulls libh3 -- so the runtime carries the raster surface. --- tools/ecosystem-generate.sh | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/tools/ecosystem-generate.sh b/tools/ecosystem-generate.sh index 215cfef..6ba690e 100755 --- a/tools/ecosystem-generate.sh +++ b/tools/ecosystem-generate.sh @@ -54,9 +54,10 @@ PIN="$(git -C "$MDB" rev-parse "${PIN_REF}^{commit}" 2>/dev/null || git -C "$MDB PINWT="$WORK/pin"; rm -rf "$PINWT"; git -C "$MDB" worktree add --detach "$PINWT" "$PIN" ( cd "$MEOSAPI" && MDB_SRC_ROOT="$PINWT" python3 run.py "$PINWT/meos/include" ) export CATALOG="$MEOSAPI/output/meos-idl.json" -# all-families libmeos (the runtime every binding loads); see generation-starts-from-building-so +# all-families libmeos (the runtime every binding loads); see generation-starts-from-building-so. +# Each -D=ON pulls that family's full dependency chain (RASTER -> GDAL, like H3 -> libh3). cmake -S "$PINWT" -B "$PINWT/build-allfam" -DMEOS=ON -DCBUFFER=ON -DJSON=ON -DNPOINT=ON \ - -DPOSE=ON -DRGEO=ON -DQUADBIN=ON -DH3=ON \ + -DPOSE=ON -DRGEO=ON -DQUADBIN=ON -DH3=ON -DRASTER=ON \ -DH3_INCLUDE_DIR=/usr/include/h3 -DH3_LIBRARY=/usr/lib/x86_64-linux-gnu/libh3.so >/dev/null cmake --build "$PINWT/build-allfam" --target meos -j"$(nproc)" export LIBMEOS="$PINWT/build-allfam/libmeos.so"