[gdal-dev] Trouble Building GDAL with HDF5
Christopher Puda
cp2732 at gmail.com
Wed Jul 25 13:02:32 PDT 2018
I am trying to build GDAL with HDF5 usability on a Windows 7 64-bit
computer using Visual Studio Community Edition 2017. I have followed a
YouTube video (https://www.youtube.com/watch?v=Yf8rYOfvZjY) for getting the
vcxproj files, but get stuck when trying to build the main project. The
command I use is .\generate_vcxproj.bat 15.0 64 gdal_vs2017. Currently, I
am getting six errors and 11 warnings. I have attached the nmake.opt file I
use. I do not have a nmake.local file currently. The errors are as follows:
LNK1120 3 unresolved externals
LNK2019 unresolved external symbol SZ_BufftoBuffCompress referenced in
function H5Z_filter_szip
LNK2019 unresolved external symbol SZ_BufftoBuffDecompress referenced in
function H5Z_filter_szip
LNK2019 unresolved external symbol SZ_encoder_enabled referenced in
function H5Z_init_package
U1077 -> "C:\Program Files (x86)\Microsoft Visual
Studio\2017\Community\VC\Tools\MSVC\14.14.26428\bin\HostX86\x64\link.EXE"'
: return code '0x460'
MSB0373 The command "nmake -f makefile.vc MSVC_VER=1910 WIN64=1 DEBUG=1
WITH_PDB=1" exited with code 2.
This warning could also be a clue:
LNK4098 defaultlib 'MSVCRT' conflicts with use of other libs; use
/NODEFAULTLIB:library
More details for this issue can be found on the YouTube video link above
under the Comments section. Any help would be appreciated!
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/gdal-dev/attachments/20180725/60773c8c/attachment-0001.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: nmake.opt
Type: application/octet-stream
Size: 35419 bytes
Desc: not available
URL: <http://lists.osgeo.org/pipermail/gdal-dev/attachments/20180725/60773c8c/attachment-0001.obj>
More information about the gdal-dev
mailing list