[gdal-dev] ogr2ogr OSM driver
Bjoern Ruff
br at forstware.de
Thu Apr 2 09:23:55 PDT 2015
Thanks for all your answers, clean and building via .sln .vcxproj generate with makegdal_gen.bat (because building with v110_xp toolset) file helped! :-)
Latter had nothing to do with the OSM driver inclusion of course.
Bjørn
-----Ursprüngliche Nachricht-----
Von: even.rouault at spatialys.com Thu Apr 2 15:50:55 2015 [mailto:even.rouault at spatialys.com Thu Apr 2 15:50:55 2015]
Gesendet: Donnerstag, 2. April 2015 15:51
An: gdal-dev at lists.osgeo.org
Cc: Bjoern Ruff
Betreff: Re: [gdal-dev] ogr2ogr OSM driver
Le jeudi 02 avril 2015 15:13:41, Bjoern Ruff a écrit :
> Hello,
>
> can someone give a hint how 2 compile ogr2ogr under Windows so that it
> can work with OSM files?
>
>
>
> What I did was enabling lines for Sqlite and expat in nmake.opt
>
>
> SQLITE_INC=-Ic:\c\sqlite3
>
> SQLITE_LIB=C:\c\sqlite3\sqlite3.lib
>
>
>
> EXPAT_DIR = "C:\externLibs\expat"
>
> EXPAT_INCLUDE = -I$(EXPAT_DIR)/lib
>
> EXPAT_LIB = $(EXPAT_DIR)/win32/bin/release/libexpat.lib
>
Bjørn,
looks ok to me. Make sure to run "nmake /f makefile.vc clean" in case you did several builds and change configuration in-between.
If that still doesn't work, download a dev kit at http://gisinternals.com/ and compare.
Even
>
>
> Thanks, Bjørn
--
Spatialys - Geospatial professional services http://www.spatialys.com
More information about the gdal-dev
mailing list