[gdal-dev] direct.h and other Windows issue
Jürgen E. Fischer
jef at norbit.de
Thu Dec 10 01:42:01 PST 2015
On Thu, 10. Dec 2015 at 10:27:57 +0100, Even Rouault wrote:
> > currently I am working on Windows GRASS builds (using MSYS2 +
> > MinGW64). I have still some issue with GDAL which I am not sure how to
> > correctly solve:
> > 1) GDAL has enabled in cpl_port.h
> > #ifdef HAVE_DIRECT_H
> > # include <direct.h>
> > #endif
> > which is old header used by MSVC, modern is dirent.h, right?
> Don't seem quite the same.
> And normally ./configure should define HAVE_DIRECT_H in port/cpl_config.h only if
> it is available.
It's probably a OSGeo4W issue - because there GDAL is built with MSVC (w/o
configure), while GRASS is built with mingw - using the MSVC built GDAL.
Jürgen E. Fischer norBIT GmbH Tel. +49-4931-918175-31
Dipl.-Inf. (FH) Rheinstraße 13 Fax. +49-4931-918175-50
Software Engineer D-26506 Norden http://www.norbit.de
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 827 bytes
Desc: Digital signature
More information about the gdal-dev