2008/12/1 elekis <[EMAIL PROTECTED]>

> 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

Reply via email to