Search Postgresql Archives

Re: Cannot open include file: 'nodes/nodes.h'

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 




2008/12/1 elekis <elekis@xxxxxxxxx>
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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Postgresql Jobs]     [Postgresql Admin]     [Postgresql Performance]     [Linux Clusters]     [PHP Home]     [PHP on Windows]     [Kernel Newbies]     [PHP Classes]     [PHP Books]     [PHP Databases]     [Postgresql & PHP]     [Yosemite]
  Powered by Linux