[gdal-dev] compiling gdal: ogr_ODS error
Hernán De Angelis
variablestarlight at gmail.com
Sat Aug 26 04:35:31 PDT 2023
rpc.h is missing och is not located in a standard path in your system.
What package provides rpc in your OS? Perhaps installing grpc-devel?
Den 2023-08-26 kl. 13:06, skrev andy:
> Hi,
> if I try to compile gdal 3.7.1 on debian bullseye,
>
> cmake -D GDAL_USE_GEOS=ON -D GDAL_USE_PARQUET=ON ..
> cmake --build .
>
> I have this error:
>
> Scanning dependencies of target ogr_ODS
> [ 89%] Building CXX object
> ogr/ogrsf_frmts/ods/CMakeFiles/ogr_ODS.dir/ods_formula_node.cpp.o
> [ 89%] Building CXX object
> ogr/ogrsf_frmts/ods/CMakeFiles/ogr_ODS.dir/ods_formula.cpp.o
> [ 89%] Building CXX object
> ogr/ogrsf_frmts/ods/CMakeFiles/ogr_ODS.dir/ogrodsdatasource.cpp.o
> [ 89%] Building CXX object
> ogr/ogrsf_frmts/ods/CMakeFiles/ogr_ODS.dir/ogrodsdriver.cpp.o
> [ 89%] Built target ogr_ODS
> Scanning dependencies of target ogr_OGDI
> [ 89%] Building CXX object
> ogr/ogrsf_frmts/ogdi/CMakeFiles/ogr_OGDI.dir/ogrogdidatasource.cpp.o
> In file included from
> /home/aborruso/lavagna/tmp/gdal-3.7.1/ogr/ogrsf_frmts/ogdi/ogrogdi.h:41,
> from
> /home/aborruso/lavagna/tmp/gdal-3.7.1/ogr/ogrsf_frmts/ogdi/ogrogdidatasource.cpp:30:
> /usr/include/ogdi/ecs.h:9:10: fatal error: rpc/rpc.h: No such file or
> directory
> 9 | #include <rpc/rpc.h>
> | ^~~~~~~~~~~
> compilation terminated.
> gmake[2]: ***
> [ogr/ogrsf_frmts/ogdi/CMakeFiles/ogr_OGDI.dir/build.make:82:
> ogr/ogrsf_frmts/ogdi/CMakeFiles/ogr_OGDI.dir/ogrogdidatasource.cpp.o]
> Error 1
> gmake[1]: *** [CMakeFiles/Makefile2:10535:
> ogr/ogrsf_frmts/ogdi/CMakeFiles/ogr_OGDI.dir/all] Error 2
> gmake: *** [Makefile:160: all] Error 2
>
> How to solve it?
>
> Thank you
>
> --
> ___________________
>
> Andrea Borruso
> website: https://medium.com/tantotanto
> 38° 7' 48" N, 13° 21' 9" E, EPSG:4326
> ___________________
>
> "cercare e saper riconoscere chi e cosa,
> in mezzo all’inferno, non è inferno,
> e farlo durare, e dargli spazio"
>
> Italo Calvino
>
> _______________________________________________
> gdal-dev mailing list
> gdal-dev at lists.osgeo.org
> https://lists.osgeo.org/mailman/listinfo/gdal-dev
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/gdal-dev/attachments/20230826/99eb848b/attachment.htm>
More information about the gdal-dev
mailing list