Hi,<br><br>We had some problems to enable the OGDI driver in the 1.6.0 version of GDAL/OGR, with Windows.<br><br>The OGDI library uses the zlib library in version 1.1.4 as a dynamic library, whereas GDAL uses the same library in version 1.2.? as a static library. Thus there is name conflicts in the linking of the GDAL dll with the zlib related functions.<br>
<br>In order to make the driver works, we had to do the following things in the file port/<a href="http://makefile.vc">makefile.vc</a> :<br><br>- Remove the -DHAVE_ZLIB from the EXTRAFLAGS variable.<br>- Remove the cpl_vsil_gzip.obj entry from the OBJ list.<br>
<br>With this we manage to compile and link GDAL with the OGDI driver (But we lost the abality of GDAL 1.6 to read files inside zip/gzip files).<br><br>Could you think of a better solution ? Perhaps encapsulating the cpl_vsil_gzip methods code in #ifdef HAVE_ZLIB would be a first solution.<br>
<br>Best regards,<br><br>Alexandre Gacon<br><br>PS : this problem was the reason why I couldn't see the OGDI driver in my ogrinfo --formats list yesterday.<br>