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>)
Список pgsql-general

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