[gdal-dev] Problem building GDAL 3.0.0 on VS2015 x64
Nikita Petrov
nikitapetroff at gmail.com
Mon Jun 24 08:24:58 PDT 2019
Dear all,
I have a strange error while building GDAL 3.0.0:
C:\OSG\test_osg\build\gdal>if exist *.ilk del *.ilk
link /nologo /dll /INCLUDE:OSRValidate /INCLUDE:OGR_G_GetPointCount
/INCLUDE:OGRRegisterAll /INCLUDE:GDALSimpleImageWarp
/INCLUDE:GDALReprojectImage /INCLUDE:GDALComputeMedianCutPCT
/INCLUDE:GDALDitherRGB2PCT /INCLUDE:OCTNewCoordinateTransformation
port\*.obj gcore\*.obj alg\*.obj frmts\o\*.obj
ogr\ogrsf_frmts\ogrsf_frmts.lib ogr\ogr.lib gnm\*.obj gnm\gnm_frmts\o\*.obj
third_party\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:\OSG\test_osg\install\libjpeg\Release\lib\jpeg.lib
C:\OSG\test_osg\install\libgeotiff\Release\lib\geotiff.lib
C:\OSG\test_osg\install\libtiff\Release\lib\tiff.lib
C:\OSG\test_osg\install\proj\Release\lib\proj_6_1.lib
C:\OSG\test_osg\install\libcurl\Release\lib\libcurl_imp.lib wsock32.lib
wldap32.lib winmm.lib legacy_stdio_definitions.lib odbc32.lib
odbccp32.lib user32.lib
C:\OSG\test_osg\install\libpng\Release\lib\libpng16.lib
C:\OSG\test_osg\install\zlib\Release\lib\zlib.lib
ws2_32.lib kernel32.lib psapi.lib gcore\Version.res /out:gdal300.dll
/implib:gdal_i.lib
Creating library gdal_i.lib and object gdal_i.exp
gdal_crs.obj : error LNK2019: unresolved external symbol
GDALSerializeGCPListToXML referenced in function GDALSerializeGCPTransformer
gdal_crs.obj : error LNK2019: unresolved external symbol
GDALDeserializeGCPListFromXML referenced in function
GDALDeserializeGCPTransformer
gdal300.dll : fatal error LNK1120: 2 unresolved externals
I build all the needed libs from sources with CMake and MSBuild:
- zlib 1.2.11
- libpng 1.6.37
- libjpeg-turbo 2.0.2
- libtiff 4.0.10
- libcurl 7.65.1
- proj.4 6.1.0
- libgeotiff 1.5.1
This error occurs in both Release and Debug builds.
Just today I've reinstalled Windows 10 x64 and made a clean install of
VS2015.3.
Any ideas what could be wrong?
Kind regards,
Nikita
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/gdal-dev/attachments/20190624/92eafc5f/attachment.html>
More information about the gdal-dev
mailing list