-
|
Hi, After upgrading my Ubuntu virtual machine to 22.04.1 LTS, I have also tried to compile v1.7.0 of osm2pgsql. However, after updating my local repository to the latest version using a forced update to master by issuing: I then encounter an error regarding the proj_api.h include during compilation using cmake:
which relates to the projection.hpp file. This is despite cmake clearly listing that proj_api.h was found: Looking in the Synaptic Package Manager, I see as installed packages. What am I missing? Full listing: |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
|
Setting the PROJ API version explicitly by setting:
in the CMakeCache.txt configuration file, allowed the compilation to succeed. It appears the default auto option does not choose the right API version. |
Beta Was this translation helpful? Give feedback.
Setting the PROJ API version explicitly by setting:
USE_PROJ_LIB=6in the CMakeCache.txt configuration file, allowed the compilation to succeed. It appears the default auto option does not choose the right API version.