Search Postgresql Archives

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

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

 



hi all,

I tried your both solutions (and effectively, I forget the $ signe,
sorry) but know , I have that




C:\Program Files\PostgreSQL\8.3\include\server\nodes/nodes.h(390) :
error C2054: expected '(' to follow 'PGDLLIMPORT'
C:\Program Files\PostgreSQL\8.3\include\server\nodes/nodes.h(390) :
error C2085: 'newNodeMacroHolder' : not in formal parameter list
C:\Program Files\PostgreSQL\8.3\include\server\nodes/nodes.h(414) :
error C2085: 'nodeToString' : not in formal parameter list
C:\Program Files\PostgreSQL\8.3\include\server\nodes/nodes.h(419) :
error C2085: 'stringToNode' : not in formal parameter list
C:\Program Files\PostgreSQL\8.3\include\server\nodes/nodes.h(424) :
error C2085: 'copyObject' : not in formal parameter list
C:\Program Files\PostgreSQL\8.3\include\server\nodes/nodes.h(429) :
error C2085: 'equal' : not in formal parameter list
C:\Program Files\PostgreSQL\8.3\include\server\nodes/nodes.h(440) :
error C2085: 'Selectivity' : not in formal parameter list
C:\Program Files\PostgreSQL\8.3\include\server\nodes/nodes.h(441) :
error C2085: 'Cost' : not in formal parameter list
C:\Program Files\PostgreSQL\8.3\include\server\nodes/nodes.h(461) :
error C2085: 'CmdType' : not in formal parameter list
C:\Program Files\PostgreSQL\8.3\include\server\nodes/nodes.h(497) :
error C2085: 'JoinType' : not in formal parameter list
C:\Program Files\PostgreSQL\8.3\include\server/catalog/pg_type.h(43) :
error C2061: syntax error : identifier 'CATALOG'
C:\Program Files\PostgreSQL\8.3\include\server/catalog/pg_type.h(217)
: error C2143: syntax error : missing '{' before '*'
C:\Program Files\PostgreSQL\8.3\include\server/catalog/pg_type.h(265)
: error C2146: syntax error : missing ')' before identifier 'OID'
C:\Program Files\PostgreSQL\8.3\include\server/catalog/pg_type.h(265)
: error C2061: syntax error : identifier 'OID'
C:\Program Files\PostgreSQL\8.3\include\server/catalog/pg_type.h(265)
: error C2059: syntax error : ';'
C:\Program Files\PostgreSQL\8.3\include\server/catalog/pg_type.h(265)
: error C2513: '/*global*/ ' : no variable declared before '='
C:\Program Files\PostgreSQL\8.3\include\server/catalog/pg_type.h(265)
: error C2064: term does not evaluate to a function taking -22
arguments
C:\Program Files\PostgreSQL\8.3\include\server/catalog/pg_type.h(265)
: error C2143: syntax error : missing ')' before 'type'
C:\Program Files\PostgreSQL\8.3\include\server/catalog/pg_type.h(265)
: error C2017: illegal escape sequence
C:\Program Files\PostgreSQL\8.3\include\server/catalog/pg_type.h(265)
: error C2059: syntax error : ')'
C:\Program Files\PostgreSQL\8.3\include\server/catalog/pg_type.h(265)
: error C2059: syntax error : ')'
C:\Program Files\PostgreSQL\8.3\include\server/catalog/pg_type.h(266)
: error C2143: syntax error : missing ')' before 'string'
C:\Program Files\PostgreSQL\8.3\include\server/catalog/pg_type.h(266)
: error C2143: syntax error : missing '{' before 'string'
C:\Program Files\PostgreSQL\8.3\include\server/catalog/pg_type.h(266)
: error C2059: syntax error : '<Unknown>'
C:\Program Files\PostgreSQL\8.3\include\server/catalog/pg_type.h(266)
: error C2059: syntax error : ')'
C:\Program Files\PostgreSQL\8.3\include\server/catalog/pg_type.h(269)
: error C2146: syntax error : missing ')' before identifier 'OID'
C:\Program Files\PostgreSQL\8.3\include\server/catalog/pg_type.h(269)
: error C2061: syntax error : identifier 'OID'
C:\Program Files\PostgreSQL\8.3\include\server/catalog/pg_type.h(269)
: error C2059: syntax error : ';'
C:\Program Files\PostgreSQL\8.3\include\server/catalog/pg_type.h(269)
: error C2513: '/*global*/ ' : no variable declared before '='
C:\Program Files\PostgreSQL\8.3\include\server/catalog/pg_type.h(269)
: error C2064: term does not evaluate to a function taking -22
arguments
C:\Program Files\PostgreSQL\8.3\include\server/catalog/pg_type.h(269)
: error C2065: 'bytea' : undeclared identifier
C:\Program Files\PostgreSQL\8.3\include\server/catalog/pg_type.h(269)
: error C2146: syntax error : missing ')' before identifier 'PGNSP'
C:\Program Files\PostgreSQL\8.3\include\server/catalog/pg_type.h(269)
: error C2017: illegal escape sequence
C:\Program Files\PostgreSQL\8.3\include\server/catalog/pg_type.h(269)
: error C2059: syntax error : ')'
C:\Program Files\PostgreSQL\8.3\include\server/catalog/pg_type.h(269)
: error C2059: syntax error : ')'
C:\Program Files\PostgreSQL\8.3\include\server/catalog/pg_type.h(270)
: error C2143: syntax error : missing ')' before 'string'
C:\Program Files\PostgreSQL\8.3\include\server/catalog/pg_type.h(270)
: error C2143: syntax error : missing '{' before 'string'
C:\Program Files\PostgreSQL\8.3\include\server/catalog/pg_type.h(270)
: error C2059: syntax error : '<Unknown>'
C:\Program Files\PostgreSQL\8.3\include\server/catalog/pg_type.h(270)
: error C2059: syntax error : ')'
C:\Program Files\PostgreSQL\8.3\include\server/catalog/pg_type.h(273)
: error C2146: syntax error : missing ')' before identifier 'OID'
C:\Program Files\PostgreSQL\8.3\include\server/catalog/pg_type.h(273)
: error C2061: syntax error : identifier 'OID'
C:\Program Files\PostgreSQL\8.3\include\server/catalog/pg_type.h(273)
: error C2059: syntax error : ';'
C:\Program Files\PostgreSQL\8.3\include\server/catalog/pg_type.h(273)
: error C2513: '/*global*/ ' : no variable declared before '='
C:\Program Files\PostgreSQL\8.3\include\server/catalog/pg_type.h(273)
: error C2064: term does not evaluate to a function taking -22
arguments
C:\Program Files\PostgreSQL\8.3\include\server/catalog/pg_type.h(273)
: error C2143: syntax error : missing ')' before 'type'
C:\Program Files\PostgreSQL\8.3\include\server/catalog/pg_type.h(273)
: error C2017: illegal escape sequence
C:\Program Files\PostgreSQL\8.3\include\server/catalog/pg_type.h(273)
: error C2059: syntax error : ')'
C:\Program Files\PostgreSQL\8.3\include\server/catalog/pg_type.h(273)
: error C2059: syntax error : ')'
C:\Program Files\PostgreSQL\8.3\include\server/catalog/pg_type.h(274)
: error C2143: syntax error : missing ')' before 'string'
C:\Program Files\PostgreSQL\8.3\include\server/catalog/pg_type.h(274)
: error C2143: syntax error : missing '{' before 'string'
C:\Program Files\PostgreSQL\8.3\include\server/catalog/pg_type.h(274)
: error C2059: syntax error : '<Unknown>'
C:\Program Files\PostgreSQL\8.3\include\server/catalog/pg_type.h(274)
: error C2059: syntax error : ')'
C:\Program Files\PostgreSQL\8.3\include\server/catalog/pg_type.h(277)
: error C2146: syntax error : missing ')' before identifier 'OID'
C:\Program Files\PostgreSQL\8.3\include\server/catalog/pg_type.h(277)
: error C2061: syntax error : identifier 'OID'
C:\Program Files\PostgreSQL\8.3\include\server/catalog/pg_type.h(277)
: error C2059: syntax error : ';'
C:\Program Files\PostgreSQL\8.3\include\server/catalog/pg_type.h(277)
: error C2513: '/*global*/ ' : no variable declared before '='
C:\Program Files\PostgreSQL\8.3\include\server/catalog/pg_type.h(277)
: error C2064: term does not evaluate to a function taking -22
arguments
C:\Program Files\PostgreSQL\8.3\include\server/catalog/pg_type.h(277)
: error C2065: 'name' : undeclared identifier
C:\Program Files\PostgreSQL\8.3\include\server/catalog/pg_type.h(277)
: error C2146: syntax error : missing ')' before identifier 'PGNSP'
C:\Program Files\PostgreSQL\8.3\include\server/catalog/pg_type.h(277)
: error C2017: illegal escape sequence
C:\Program Files\PostgreSQL\8.3\include\server/catalog/pg_type.h(277)
: error C2059: syntax error : ')'
C:\Program Files\PostgreSQL\8.3\include\server/catalog/pg_type.h(277)
: error C2059: syntax error : ')'
C:\Program Files\PostgreSQL\8.3\include\server/catalog/pg_type.h(278)
: error C2143: syntax error : missing ')' before 'string'
C:\Program Files\PostgreSQL\8.3\include\server/catalog/pg_type.h(278)
: error C2143: syntax error : missing '{' before 'string'
C:\Program Files\PostgreSQL\8.3\include\server/catalog/pg_type.h(278)
: error C2059: syntax error : '<Unknown>'
C:\Program Files\PostgreSQL\8.3\include\server/catalog/pg_type.h(278)
: error C2059: syntax error : ')'
C:\Program Files\PostgreSQL\8.3\include\server/catalog/pg_type.h(281)
: error C2146: syntax error : missing ')' before identifier 'OID'
C:\Program Files\PostgreSQL\8.3\include\server/catalog/pg_type.h(281)
: error C2061: syntax error : identifier 'OID'
C:\Program Files\PostgreSQL\8.3\include\server/catalog/pg_type.h(281)
: error C2059: syntax error : ';'
C:\Program Files\PostgreSQL\8.3\include\server/catalog/pg_type.h(281)
: error C2513: '/*global*/ ' : no variable declared before '='
C:\Program Files\PostgreSQL\8.3\include\server/catalog/pg_type.h(281)
: error C2064: term does not evaluate to a function taking -22
arguments
C:\Program Files\PostgreSQL\8.3\include\server/catalog/pg_type.h(281)
: error C2143: syntax error : missing ')' before 'type'
C:\Program Files\PostgreSQL\8.3\include\server/catalog/pg_type.h(281)
: error C2017: illegal escape sequence
C:\Program Files\PostgreSQL\8.3\include\server/catalog/pg_type.h(281)
: error C2059: syntax error : ')'
C:\Program Files\PostgreSQL\8.3\include\server/catalog/pg_type.h(281)
: error C2059: syntax error : ')'
C:\Program Files\PostgreSQL\8.3\include\server/catalog/pg_type.h(282)
: error C2143: syntax error : missing ')' before 'string'
C:\Program Files\PostgreSQL\8.3\include\server/catalog/pg_type.h(282)
: error C2143: syntax error : missing '{' before 'string'
C:\Program Files\PostgreSQL\8.3\include\server/catalog/pg_type.h(282)
: error C2059: syntax error : '<Unknown>'
C:\Program Files\PostgreSQL\8.3\include\server/catalog/pg_type.h(282)
: error C2059: syntax error : ')'
C:\Program Files\PostgreSQL\8.3\include\server/catalog/pg_type.h(285)
: error C2146: syntax error : missing ')' before identifier 'OID'
C:\Program Files\PostgreSQL\8.3\include\server/catalog/pg_type.h(285)
: error C2061: syntax error : identifier 'OID'
C:\Program Files\PostgreSQL\8.3\include\server/catalog/pg_type.h(285)
: error C2059: syntax error : ';'
C:\Program Files\PostgreSQL\8.3\include\server/catalog/pg_type.h(285)
: error C2513: '/*global*/ ' : no variable declared before '='
C:\Program Files\PostgreSQL\8.3\include\server/catalog/pg_type.h(285)
: error C2064: term does not evaluate to a function taking -22
arguments
C:\Program Files\PostgreSQL\8.3\include\server/catalog/pg_type.h(285)
: error C2065: 'int2' : undeclared identifier
C:\Program Files\PostgreSQL\8.3\include\server/catalog/pg_type.h(285)
: error C2146: syntax error : missing ')' before identifier 'PGNSP'
C:\Program Files\PostgreSQL\8.3\include\server/catalog/pg_type.h(285)
: error C2017: illegal escape sequence
C:\Program Files\PostgreSQL\8.3\include\server/catalog/pg_type.h(285)
: error C2059: syntax error : ')'
C:\Program Files\PostgreSQL\8.3\include\server/catalog/pg_type.h(285)
: error C2059: syntax error : ')'
C:\Program Files\PostgreSQL\8.3\include\server/catalog/pg_type.h(286)
: error C2143: syntax error : missing ')' before 'string'
C:\Program Files\PostgreSQL\8.3\include\server/catalog/pg_type.h(286)
: error C2143: syntax error : missing '{' before 'string'
C:\Program Files\PostgreSQL\8.3\include\server/catalog/pg_type.h(286)
: error C2059: syntax error : '<Unknown>'
C:\Program Files\PostgreSQL\8.3\include\server/catalog/pg_type.h(286)
: error C2059: syntax error : ')'
C:\Program Files\PostgreSQL\8.3\include\server/catalog/pg_type.h(289)
: error C2146: syntax error : missing ')' before identifier 'OID'
C:\Program Files\PostgreSQL\8.3\include\server/catalog/pg_type.h(289)
: error C2061: syntax error : identifier 'OID'
C:\Program Files\PostgreSQL\8.3\include\server/catalog/pg_type.h(289)
: error C2059: syntax error : ';'
C:\Program Files\PostgreSQL\8.3\include\server/catalog/pg_type.h(289)
: error C2513: '/*global*/ ' : no variable declared before '='
C:\Program Files\PostgreSQL\8.3\include\server/catalog/pg_type.h(289)
: error C2064: term does not evaluate to a function taking -22
arguments
C:\Program Files\PostgreSQL\8.3\include\server/catalog/pg_type.h(289)
: error C2065: 'int2vector' : undeclared identifier
C:\Program Files\PostgreSQL\8.3\include\server/catalog/pg_type.h(289)
: error C2146: syntax error : missing ')' before identifier 'PGNSP'
C:\Program Files\PostgreSQL\8.3\include\server/catalog/pg_type.h(289)
: error C2017: illegal escape sequence
C:\Program Files\PostgreSQL\8.3\include\server/catalog/pg_type.h(289)
: fatal error C1003: error count exceeds 100; stopping compilation



my command line is
cl  /c /O2 /Ox runtime\rcqpgsql.c -I"C:\Program Files\MySQL\MySQL
Server 5.0"\include -I"C:\Program Files\PostgreSQL\8.3"\include
-I"C:\Program Files\PostgreSQL\8.3"\include\server -DPOSTGRES_TARGET
-Zi -D_CRT_SECURE_NO_DEPRECATE -DPROFILER_MODE /Foruntime\rcqpgsql.obj

and my include is

  #include "catalog/pg_type.h"
  #include "nodes/nodes.h"

where this both file are in
C:\Program Files\PostgreSQL\8.3\include\server\catalog\pg_type.h
C:\Program Files\PostgreSQL\8.3\include\server\nodes\nodes.h


thanks

a+++


On Mon, Dec 1, 2008 at 2:01 PM, Tom Lane <tgl@xxxxxxxxxxxxx> wrote:
> elekis <elekis@xxxxxxxxx> writes:
>> I tried , in the command line to put
>>  -I$(PGSQL_HOME)\include  -I(PGSQL_HOME)\include\server
>> but, nothing change.
>
> If that's really what you put, then you forgot a dollar sign...
>
>                        regards, tom lane
>



-- 
http://deathboater.blogspot.com/

-- 
Sent via pgsql-general mailing list (pgsql-general@xxxxxxxxxxxxxx)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-general

[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