[Gdal-dev] compile problem gdal 1.4 on windows with postgresql
dolf.andringa at elcyion.nl
Thu Jan 18 09:26:41 EST 2007
-----BEGIN PGP SIGNED MESSAGE-----
I am trying to compile gdal on windows XP. I have MS Visual studio
2005 pro and the windows sdk installed.
Compiling goes fine with the standard nmake.opt file. I want to
include PostgreSQL support though, so I specified the location of the
PostgreSQL 8.1 include and lib dirs. I have the PostgreSQL 8.1
development stuff installed.
During compilation though, I get the error that libpq-fe.h could not
I checked the include dir, and indeed I do not have libpq-fe.h but
If I change the filename from libpq-fs.h to libpq-fe.h I get syntax
errors though during compilation.
The syntax errors are reported to be in
<gdalsourcedir>\ogr\ogrsf_frmts\pg\ogr_pg.h on line 159
"missing ; before identifier GeometryToOID". There are many more
syntax errors after that but no errors before this error.
Does anybody know why I am getting this error? Does it have anything
to do with the postgresql version? Hope somebody can shed some light
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.5 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
-----END PGP SIGNATURE-----
More information about the Gdal-dev