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

Поиск
Список
Период
Сортировка
Искать
От
Filip Rembiałkowski
Тема
Re: Cannot open include file: 'nodes/nodes.h'
Дата
Msg-id
92869e660812010424x93ce2efw7bdfe3940a8e9a2d@mail.gmail.com
Ответ на
Список
Дерево обсуждения
Cannot open include file: 'nodes/nodes.h' elekis <elekis@gmail.com>
Re: Cannot open include file: 'nodes/nodes.h' Tom Lane <tgl@sss.pgh.pa.us>
Re: Cannot open include file: 'nodes/nodes.h' elekis <elekis@gmail.com>
Re: Cannot open include file: 'nodes/nodes.h' Tom Lane <tgl@sss.pgh.pa.us>
Re: Cannot open include file: 'nodes/nodes.h' "Filip Rembiałkowski" <plk.zuber@gmail.com>

2008/12/1 elekis <elekis@gmail.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
В списке pgsql-general по дате отправления
От: Siddharth Shah
Дата:
Сообщение: Re: configure options
От: Andrus
Дата:
Сообщение: Re: db backup script in gentoo
FAQ