Hello!
I need to build HDF5 with thread safety.
Previously the following command (followed by cmake --build .) worked
perfectly:
cmake -G "Visual Studio 12" -DBUILD_SHARED_LIBS=ON
-DCMAKE_BUILD_TYPE=Release -DHDF5_ENABLE_Z_LIB_SUPPORT=ON
-DHDF5_ALLOW_EXTERNAL_SUPPORT=SVN
-DZLIB_SVN_URL=http://svn.hdfgroup.uiuc.edu/zlib/trunk
-DHDF5_ENABLE_THREADSAFE=ON ../hdf5-1.8.19
Now that http://svn.hdfgroup.uiuc.edu/zlib/trunk is no more available,
I'm trying:
cmake -G "Visual Studio 12" -DBUILD_SHARED_LIBS=ON
-DCMAKE_BUILD_TYPE=Release -DHDF5_ENABLE_Z_LIB_SUPPORT=ON
-DHDF5_ALLOW_EXTERNAL_SUPPORT=TGZ -DTGZPATH=.
-DHDF5_ENABLE_THREADSAFE=ON -DHDF5_BUILD_CPP_LIB=OFF
-DHDF5_BUILD_HL_LIB=OFF ../hdf5-1.10.1
(ZLib.tar.gz is in the build dir)
But I get
"hdf5-1.10.1-build\ALL_BUILD.vcxproj" (целевой объект по умолчанию) (1) ->
"hdf5-1.10.1-build\ZLIB.vcxproj" (целевой объект по умолчанию) (7) ->
(Целевой объект CustomBuild) ->
C:\Program Files
(x86)\MSBuild\Microsoft.Cpp\v4.0\V120\Microsoft.CppCommon.targets(170,5):
error MSB6006: "cmd.exe" завершилась с кодом 1.
[E:\hdf5-1.10.1-build\ZLIB.vcxproj]
How to properly use
-DHDF5_ALLOW_EXTERNAL_SUPPORT=TGZ
???
Best wishes,
Andrey Paramonov
--
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.
_______________________________________________
Hdf-forum is for HDF software users discussion.
[email protected]
http://lists.hdfgroup.org/mailman/listinfo/hdf-forum_lists.hdfgroup.org
Twitter: https://twitter.com/hdf5