[Gdal-dev] compile problem gdal 1.4 on windows with postgresql support

Mateusz Loskot mateusz at loskot.net
Thu Jan 18 11:54:10 EST 2007


Dolf Andringa wrote:
> Ok, it was an error on my side :) I found the libpq-fs.h file and
> assumed that should be the folder in the PG_INC_DIR, but it isn't. It
> is the parent folder.
> Using the following two lines, the compilation works:
> PG_INC_DIR = "c:\Program Files\PostgreSQL\8.1\include"
> PG_LIB = "c:\Program Files\PostgreSQL\8.1\lib\ms\libpq.lib" wsock32.lib

Dolf,

Yes, these paths are correct now.

Cheers
-- 
Mateusz Loskot
http://mateusz.loskot.net



More information about the Gdal-dev mailing list