Closed Itv1529 closed 4 months ago
postgres.h
is missing, you didn't install the PostgreSQL C headers, or you didn't supply the correct path to the build processoci.h
is missing, you didn't install the Oracle software development kit, or you didn't supply the correct path to the build processunistd.h
is missing, you don't have a C development environment installed on the machineMake sure to follow the installation instructions and have all the requirements installed.
Please show me the exact steps you followed from the beginning and provide a literal copy of the error messages you get.
installing and running the oracle_fdw.sln from the visual studio getting this error. and oracle19.3(instantclient_19_22) , postgresql12.19 are installed.
Severity Code Description Project File Line Suppression State Details Error C1083 Cannot open include file: 'postgres.h': No such file or directory oracle_fdw C:\oracle_fdw-master\oracle_fdw.c 8
Severity Code Description Project File Line Suppression State Details Error C1083 Cannot open include file: 'oci.h': No such file or directory oracle_fdw C:\oracle_fdw-master\oracle_gis.c 15
Severity Code Description Project File Line Suppression State Details Error C1083 Cannot open include file: 'unistd.h': No such file or directory oracle_fdw C:\oracle_fdw-master\oracle_utils.c 12
Severity Code Description Project File Line Suppression State Details Error C1083 Cannot open include file: 'postgres.h': No such file or directory oracle_fdw C:\oracle_fdw-master\msvc\oracle_msvc.c 1
Ok, so we have the error messages and we know that you are using Visual Studio.
So what exactly did you do before you started the build?
Any update here, or shall I close the issue?
i am trying to setup both the oracle19.3 and postgresql12.19 in windows. while setting up the environment it is lacking of these header files "postgres.h", "oci.h" ,"unistd.h".
help for this.