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!

Attachment: nmake.opt
Description: Binary data

_______________________________________________
gdal-dev mailing list
[email protected]
https://lists.osgeo.org/mailman/listinfo/gdal-dev

Reply via email to