From: | Filip Rembiałkowski <plk(dot)zuber(at)gmail(dot)com> |
---|---|
To: | elekis <elekis(at)gmail(dot)com> |
Cc: | pgsql-general(at)postgresql(dot)org |
Subject: | Re: Cannot open include file: 'nodes/nodes.h' |
Date: | 2008-12-01 12:24:57 |
Message-ID: | 92869e660812010424x93ce2efw7bdfe3940a8e9a2d@mail.gmail.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-general |
2008/12/1 elekis <elekis(at)gmail(dot)com>
> hi all,
>
>
> I try to use the file pg_type.h who containing, pre-defined type like
> INT4IOD, INT2OID, INT8OID.
>
> So I include in the file #include "server/catalog/pg_type.h" but I
> have the followed error
> C:\Program Files\PostgreSQL\8.3\include\server/catalog/pg_type.h(22) :
> fatal error C1083: Cannot open include file: 'nodes/nodes.h': No such
> file or directory
>
> I tried , in the command line to put
>
> -I$(PGSQL_HOME)\include -I(PGSQL_HOME)\include\server
>
> but, nothing change.
>
did you try to locate nodes.h in your filesystem?
on my Linux it's in $PREFIX/include/postgresql/server/nodes/
so I guess you should set
-I$(PGSQL_HOME)\include\postgresql
and use
#include "catalog/pg_type.h"
#include "nodes/nodes.h"
and so on.
--
Filip Rembiałkowski
From | Date | Subject | |
---|---|---|---|
Next Message | Siddharth Shah | 2008-12-01 12:26:19 | Re: configure options |
Previous Message | Albe Laurenz | 2008-12-01 12:03:11 | Re: configure options |