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 _______________________________________________ gdal-dev mailing list [email protected] http://lists.osgeo.org/mailman/listinfo/gdal-dev
