[gdal-dev] GDAL/OGR 2.1.0 RC1 link error
Even Rouault
even.rouault at spatialys.com
Wed Apr 20 10:05:54 PDT 2016
Le mercredi 20 avril 2016 18:59:43, Shawn Gong a écrit :
> Hi Even,
>
> I tried to compile 2.1.0 RC1 and got this link error:
> link /nologo /dll /INCLUDE:_OSRValidate
> /INCLUDE:_OPTGetProjectionMethods /INCLUDE:_OGR_G_GetPointCount
> /INCLUDE:_OGRRegisterAll /INCLUDE:_GDALSimpleImageWarp at 36
> /INCLUDE:_GDALReprojectImage at 48 /INCLUDE:_GDALComputeMedianCutPCT at 32
> /INCLUDE:_GDALDitherRGB2PCT at 28 /INCLUDE:_OCTNewCoordinateTransformation at 8
> port\*.obj gcore\*.obj alg\*.obj frmts\o\*.obj
> ogr\ogrsf_frmts\ogrsf_frmts.libogr\ogr.lib gnm\*.obj gnm\gnm_frmts\o\*.obj
> apps\commonutils.obj apps\gdalinfo_lib.obj apps\gdal_translate_lib.obj
> apps\gdalwarp_lib.obj apps\ogr2ogr_lib.obj apps\gdaldem_lib.obj
> apps\nearblack_lib.obj apps\gdal_grid_lib.obj apps\gdal_rasterize_lib.obj
> apps\gdalbuildvrt_lib.obj C:\build2\ogdi-3.2.0.beta2\lib\win32\ ogdi.lib
> C:\build2\ogdi-3.2.0.beta2\lib\win32\zlib_ogdi32.lib
> "C:\build2\expat-2.0.1"/win32/bin/Debug/libexpat.lib "C:\Program Files
> (x86)\PostgreSQL\9.2\lib\libpq.lib" wsock32.lib
> C:\build2\libecwj2-3.3\Source\NCSBuildQmake\Debug\libecwj2.lib
> C:\build2\netcdf-3.6.1\netcdf.lib C:\build2\proj-4.6.1\src\proj_i.lib
> C:\build2\geos-3.3.1\src\geos_c_i.lib
> C:\build2\HDF5-188-win32-vs2008\dll\hdf5dll.lib
> C:\build2\curl-7.21.0\lib\DLL-Release\libcurl_imp.lib wsock32.lib
> wldap32.lib winmm.lib C:\build2\kakadu-6.4.1\lib_x86\kdu_v64R.lib
> odbc32.lib odbccp32.lib user32.lib
> C:\build2\jasper-1.900.1.uuid\src\msvc\win32_release\libjasper.lib
> ws2_32.lib gcore\Version.res /out:gdal201.dll
> /implib:gdal_i.lib
>
> Creating library gdal_i.lib and object gdal_i.expcpl_vsil_gzip.obj :
> error LNK2019: unresolved external symbol _inflateCopy referenced in
> function "private: int __thiscall VSIGZipHandle::gzseek(unsigned
> __int64,int)" (?gzseek at VSIGZipHandle@@AAEH_KH at Z) gdal201.dll : fatal error
> LNK1120: 1 unresolved externals
>
> NMAKE : fatal error U1077: '"C:\Program Files (x86)\Microsoft Visual Studio
> 9.0\ VC\BIN\link.EXE"' : return code '0x460'
How did you configure GDAL regarding zlib ? Seems you are using external C:
\build2\ogdi-3.2.0.beta2\lib\win32\zlib_ogdi32.lib, perhaps something wrong
with it ?
>
>
> BTW, the dll version is gdal201.dll, not reflecting the 2.1.0
That's intended. The convention is gdalXYY.dll where X is the major number (2)
and YY the minor number (01).
>
> Thanks,
> Shawn
>
> ________________________________________
> From: gdal-dev [gdal-dev-bounces at lists.osgeo.org] on behalf of Even Rouault
> [even.rouault at spatialys.com] Sent: April-18-16 1:26 PM
> To: gdal-dev at lists.osgeo.org
> Subject: [gdal-dev] GDAL/OGR 2.1.0 RC1 Available for Review
>
> Hi,
>
> I have prepared a GDAL/OGR 2.1.0 release candidate. This is your
> last chance to test before the official release. There have been a number
> of non-trivial changes since beta1 (see diff log in Annex)
>
> Peek up an archive among the following ones (by ascending size):
>
> http://download.osgeo.org/gdal/2.1.0/gdal-2.1.0RC1.tar.xz
> http://download.osgeo.org/gdal/2.1.0/gdal-2.1.0RC1.tar.gz
> http://download.osgeo.org/gdal/2.1.0/gdal210RC1.zip
>
> The gdal-grass plugin is available at :
>
> http://download.osgeo.org/gdal/2.1.0/gdal-grass-2.1.0RC1.tar.gz
>
> A snapshot of the gdalautotest suite is also available :
>
> http://download.osgeo.org/gdal/2.1.0/gdalautotest-2.1.0RC1.tar.gz
> http://download.osgeo.org/gdal/2.1.0/gdalautotest-2.1.0RC1.zip
>
> And the documentation:
>
> http://download.osgeo.org/gdal/2.1.0/gdal210doc.zip
>
> The NEWS file is here :
>
> http://trac.osgeo.org/gdal/wiki/Release/2.1.0-News
>
> I'll call for a vote promoting it to final next week if no serious problems
> are reported.
>
> Best regards,
>
> Even
>
> Annex: changes since 2.1.0beta1:
> - New MRF tile format JPNG (PNG or JPEG, depending on transparency)
> - Perl bindings: fix #6431. Perl bindings: #6431. Typemaps for GIntBig and
> GUIntBig. Also fixes to two other typemaps dealing with these types.
> - A few code cleanups in frmts/raw
> - Java bindings: bump minimal java version to 1.5 in case SWIG generates
> anotations (#6433, patch by Bas Couwenberg)
> - Java bindings: disable generation of bindings for GNM as they are not
> ready yet (#6434)
> - SQLITE VFS: increase mxPathname to 2048 by default, and provide
> OGR_SQLITE_VFS_MAXPATHNAME config option to be able to configure that
> higher if that would be needed. Useful when dealing with very long names
> like /vsicurl/.... with AWS S3 security tokens
> - MBTiles: add capability to open /vsicurl/https:// signed AWS S3 URLs
> - /vsicurl/: by default do not use HEAD request when detecting a AWS S3
> signed URL
> - Use GDALCanFileAcceptSidecarFile() in GDALMDReaderManager::GetReader()
> - Fix GDALDefaultOverviews::OverviewScan() to properly use
> GDALCanFileAcceptSidecarFile(), and unbreak nitf_46_jasper test that relies
> on the OVERVIEW_FILE mechanism
> - /vsicurl/: manage redirection from public URLs to redirected AWS S3
> signed urls, with management of the expiration. Enabled by default. Can be
> disabled if CPL_VSIL_CURL_USE_S3_REDIRECT=NO (#6439)
> - configure: remove useless AC_CHECK_FUNC(setlocale) (#6438)
> - PLScenes V0: avoid opening raster to generate dummy .aux.xml
> - SQLITE VFS: do not probe -wal files on /vsicurl/
> - DXF: take into account full definition of spline entity (degree, control
> points, weights and knots) when stroking splines (#6436)
> - Shape: add capability to restore/build a missing .shx file when defining
> SHAPE_RESTORE_SHX to TRUE (#5035)
> - GRASS: fix compilation by moving C++ headers include out of extern C
> scope - Define HAVE_CXX11 for C++ >= 2011 compilation environments
> (#6432). - SWIG bindings: add SpatialReference.GetAxisName() and
> SpatialReference.GetAxisOrientation() (#6441)
> - gdal_translate: fix -a_nodata with negative values on rasters that have
> PIXELTYPE=SIGNEDBYTE; fix preserving PIXELTYPE=SIGNEDBYTE with VRT
> - MRF: Allow block counts larger than 2e9 by using GIntBig math
> - SWIG: add SpatialReference.GetAngularUnitsName() (#6445)
> - SWIG: partially revert r33734 and r33736 so that GetFieldIndex(name) and
> GetGeomFieldIndex(name) do not emit errors. They are the only way to check
> if a field exists. Particularly Python bindings use them to guess if
> f['foo'] is an attribute field or geometry field
> - Perl bindings: GetFieldIndex should issue an error. Fix an error in STORE
> method. Add tests.
> - MBTiles: fix so that datasets whose lowest min zoom level is 16 or above
> are recognized
> - MBTiles: write minzoom and maxzoom metadata items
> - json_ex_get_object_by_path(): don't make it return intermediate object if
> the full path cannot be solved
> - PLScenes: fix code to work with final V1 API
> - GDALWarpOperation::CreateKernelMask(): fix potential 32 bit integer
> overflow when using warp memory value > 2GB (#6448)
> - ogr2ogr: fix inappropriate warning about FileGDB not being the
> appropriate target driver, when FileGDB is compiled as a plugin and thus
> registered before OpenFileGDB
> - BSB: fix compilation issues with -DBSB_CREATE
> - update mrsid driver build to find MrSID 9.5 dll
> - MBTILES / GPKG: fix generation of files with 1-band paletted input
> dataset. Also improve the logic to retrieve color palette when forcing
> BAND_COUNT=1 on opening (#6450)
> - MSG: fix build with -Werror=format-security (#6451)
> - OGRParseDate(): more strict validation to reject invalide dates (#6452)
> - Fix CPLsscanf() to be conformant regarding how space/tab/... separators
> are handled, so as to fix OGR GMT to be able to read coordinates separated
> by tabulations (#6453)
> - gdal_translate: fix random behaviour when -scale is used without source
> bounds (#6455)
> - MBTiles: be robust to invalid 'bounds' at dataset opening (#6458)
> - MySQL: fix Windows build with recent MySQL versions and Visual Studio
> 2015 (patch by jmckenna, #6457)
> - better handling of various object coordinate systems found in dxf files
> for point, line, polyline, spline and ellipse entities. Add anchor
> position to text styles. Remove polygon/polyface mesh parsing from
> polyline entity (#6459) - RMF: add read/write access to new RMF format for
> files larger than 4 Gb (version=0x201)
> (https://github.com/OSGeo/gdal/pull/11)
> - GPKG/MBTiles writer: implement strategy to flush partial_tiles temporary
> database when it becomes too big (#6462)
> - GPKG/MBTiles writer: when writing to GoogleMapsCompatible tiling scheme,
> better deal with source rasters in EPSG:4326 with latitude = +/-90 (#6463)
> - Java bindings: fix typemap for input parameter of type GIntBig (fixes
> GetFeature(long), DeleteFeature(long), etc...) (#6464)
>
>
> --
> Spatialys - Geospatial professional services
> http://www.spatialys.com
> _______________________________________________
> gdal-dev mailing list
> gdal-dev at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/gdal-dev
--
Spatialys - Geospatial professional services
http://www.spatialys.com
More information about the gdal-dev
mailing list