laurenz / oracle_fdw

PostgreSQL Foreign Data Wrapper for Oracle
http://laurenz.github.io/oracle_fdw/
Other
496 stars 156 forks source link

Unable to get the header files for windows environment #677

Closed Itv1529 closed 4 months ago

Itv1529 commented 6 months ago

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.

laurenz commented 6 months ago

Make 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.

Itv1529 commented 6 months ago

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

laurenz commented 6 months ago

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?

laurenz commented 4 months ago

Any update here, or shall I close the issue?