Hi,
I’m trying to compile the postgres-plugin for postgres version 12.2
The additional version is already added to PostgreSQL_ADDITIONAL_VERSIONS
Looks like version 12 requires additional tweaks:
[ 2s] – Could NOT find PostgreSQL (missing: PostgreSQL_TYPE_INCLUDE_DIR) (found version “12.2”)
[ 2s] – Looking for C++ include orthanc/OrthancCDatabasePlugin.h
[ 2s] – Looking for C++ include orthanc/OrthancCDatabasePlugin.h - found
[ 2s] Setting the version of the libraries to 3.2
[ 2s] – Configuring done
[ 2s] CMake Error: The following variables are used in this project, but they are set to NOTFOUND.
[ 2s] Please set them or make sure they are set and tested correctly in the CMake files:
[ 2s] PostgreSQL_TYPE_INCLUDE_DIR (ADVANCED)
[ 2s] used as include directory in directory /home/abuild/rpmbuild/BUILD/OrthancPostgreSQL-3.2/PostgreSQL
[ 2s] used as include directory in directory /home/abuild/rpmbuild/BUILD/OrthancPostgreSQL-3.2/PostgreSQL
[ 2s] used as include directory in directory /home/abuild/rpmbuild/BUILD/OrthancPostgreSQL-3.2/PostgreSQL
[ 2s] used as include directory in directory /home/abuild/rpmbuild/BUILD/OrthancPostgreSQL-3.2/PostgreSQL
[ 2s] used as include directory in directory /home/abuild/rpmbuild/BUILD/OrthancPostgreSQL-3.2/PostgreSQL
[ 2s] used as include directory in directory /home/abuild/rpmbuild/BUILD/OrthancPostgreSQL-3.2/PostgreSQL
[ 2s] used as include directory in directory /home/abuild/rpmbuild/BUILD/OrthancPostgreSQL-3.2/PostgreSQL
[ 2s] used as include directory in directory /home/abuild/rpmbuild/BUILD/OrthancPostgreSQL-3.2/PostgreSQL
[ 2s] used as include directory in directory /home/abuild/rpmbuild/BUILD/OrthancPostgreSQL-3.2/PostgreSQL
Any ideas?
Thanks
Axel