[gdal-dev] GDAL/OGR 1.5.0 build errors

Clay, Bruce bclay at ball.com
Wed Jan 2 17:53:33 EST 2008


I am running into problems rebuilding some of the OGR libraries.  It
looks like a couple of the source trees have not migrated from the OGR
sub-tree into the main trunk.  In particular gml and pg and a file
(ogr\ogrsf_frmts\ogrsf_frmts.h).  After I copied the gml, oci and pg
directories over to the main trunk I had to change the GDAL_ROOT from
..\..\.. to ..\..

 

Since PostgreSql is by default installed in c:\Program Files I had to
add quotes in the nmake.opt file for:

PG_INC_DIR = "C:\Program Files\PostgreSQL\8.2\include"

PG_LIB = "C:\Program Files\PostgreSQL\8.2\lib\libpq.lib" wsock32.lib -
note libpqdll.lib changed to libpq.lib in current version of PostGis

 

Also OCI is not included in the frmts/makefile.vc

 

After a few minor adjustments and file rearrangements I got both SDE and
OCI built in and loading in my c# app.

 

One thing I noticed is that the OGR plugin source code is in 2 places in
the source tree.  I don't know if that is intentional or not.

 

Bruce

 




This message and any enclosures are intended only for the addressee.  Please  
notify the sender by email if you are not the intended recipient.  If you are  
not the intended recipient, you may not use, copy, disclose, or distribute this  
message or its contents or enclosures to any other person and any such actions  
may be unlawful.  Ball reserves the right to monitor and review all messages  
and enclosures sent to or from this email address.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/gdal-dev/attachments/20080102/0e09b47a/attachment.html


More information about the gdal-dev mailing list