Kunal
1
Hi,
I am trying to build hdf5-1.8 with Visual Studio 2008 under Windows HPC
Server 2008 (x64).
I am doing the exact steps as mentioned in INSTALL_Windows.txt.
I have set the environment variables:
HDF5_EXT_ZLIB
HDF5_EXT_SZIP
and also included the header and library directories for them in Visual
Studio. But when I build the solution, I get the following error:
···
----------------------------------------------------
5>Linking...
13>------ Build started: Project: h5repart_gentest, Configuration: Debug x64
------
8>C:\MyHDFStuff\szip\dll\szip.dll : fatal error LNK1107: invalid or corrupt
file: cannot read at 0x2E8
6>C:\MyHDFStuff\szip\dll\szip.dll : fatal error LNK1107: invalid or corrupt
file: cannot read at 0x2E8
----------------------------------------------------
I have downloaded szip from :
ftp://ftp.hdfgroup.org/lib-external/szip/2.1/bin/windows
and have selected:
szip-2.1-win64-vs2008-enc.zip<ftp://ftp.hdfgroup.org/lib-external/szip/2.1/bin/windows/szip-2.1-win64-vs2008-enc.zip>
Can you please suggest how should I rectify this?
Thanks & Regards,
Kunal
Are linking against the .lib or the .dll file?
···
-----
Mike Jackson www.bluequartz.net
Principal Software Engineer mike.jackson@bluequartz.net
BlueQuartz Software Dayton, Ohio
On Jun 9, 2010, at 19:43, kunal rao <kunalgrao@gmail.com> wrote:
Hi,
I am trying to build hdf5-1.8 with Visual Studio 2008 under Windows HPC
Server 2008 (x64).
I am doing the exact steps as mentioned in INSTALL_Windows.txt.
I have set the environment variables:
HDF5_EXT_ZLIB
HDF5_EXT_SZIP
and also included the header and library directories for them in Visual
Studio. But when I build the solution, I get the following error:
----------------------------------------------------
5>Linking...
13>------ Build started: Project: h5repart_gentest, Configuration: Debug x64
------
8>C:\MyHDFStuff\szip\dll\szip.dll : fatal error LNK1107: invalid or corrupt
file: cannot read at 0x2E8
6>C:\MyHDFStuff\szip\dll\szip.dll : fatal error LNK1107: invalid or corrupt
file: cannot read at 0x2E8
----------------------------------------------------
I have downloaded szip from :
ftp://ftp.hdfgroup.org/lib-external/szip/2.1/bin/windows
and have selected:
szip-2.1-win64-vs2008-enc.zip<ftp://ftp.hdfgroup.org/lib-external/szip/2.1/bin/windows/szip-2.1-win64-vs2008-enc.zip>
Can you please suggest how should I rectify this?
Thanks & Regards,
Kunal
_______________________________________________
Hdf-forum is for HDF software users discussion.
Hdf-forum@hdfgroup.org
http://mail.hdfgroup.org/mailman/listinfo/hdf-forum_hdfgroup.org
Kunal
3
against .lib as mentioned in the document.
···
On Wed, Jun 9, 2010 at 8:08 PM, Mike Jackson <mike.jackson@bluequartz.net>wrote:
Are linking against the .lib or the .dll file?
-----
Mike Jackson <http://www.bluequartz.net>
www.bluequartz.net
Principal Software Engineer <mike.jackson@bluequartz.net>
mike.jackson@bluequartz.net
BlueQuartz Software Dayton, Ohio
On Jun 9, 2010, at 19:43, kunal rao <kunalgrao@gmail.com> wrote:
Hi,
I am trying to build hdf5-1.8 with Visual Studio 2008 under Windows HPC
Server 2008 (x64).
I am doing the exact steps as mentioned in INSTALL_Windows.txt.
I have set the environment variables:
HDF5_EXT_ZLIB
HDF5_EXT_SZIP
and also included the header and library directories for them in Visual
Studio. But when I build the solution, I get the following error:
----------------------------------------------------
5>Linking...
13>------ Build started: Project: h5repart_gentest, Configuration: Debug
x64 ------
8>C:\MyHDFStuff\szip\dll\szip.dll : fatal error LNK1107: invalid or corrupt
file: cannot read at 0x2E8
6>C:\MyHDFStuff\szip\dll\szip.dll : fatal error LNK1107: invalid or corrupt
file: cannot read at 0x2E8
----------------------------------------------------
I have downloaded szip from : <ftp://ftp.hdfgroup.org/lib-external/szip/2.1/bin/windows>
ftp://ftp.hdfgroup.org/lib-external/szip/2.1/bin/windows
and have selected: szip-2.1-win64-vs2008-enc.zip<ftp://ftp.hdfgroup.org/lib-external/szip/2.1/bin/windows/szip-2.1-win64-vs2008-enc.zip>
Can you please suggest how should I rectify this?
Thanks & Regards,
Kunal
_______________________________________________
Hdf-forum is for HDF software users discussion.
Hdf-forum@hdfgroup.org
http://mail.hdfgroup.org/mailman/listinfo/hdf-forum_hdfgroup.org
_______________________________________________
Hdf-forum is for HDF software users discussion.
Hdf-forum@hdfgroup.org
http://mail.hdfgroup.org/mailman/listinfo/hdf-forum_hdfgroup.org
Kunal
4
I tried by setting the environment variable HDF5_EXT_SZIP with value:
1) C:\MyHDFStuff\szip\dll\szip.lib
2) C:\MyHDFStuff\szip\dll\szip.dll
Both don't work..If I disable szip compression..Then it builds
successfully..
What might be going wrong?
Thanks & Regards,
Kunal
···
On Wed, Jun 9, 2010 at 8:19 PM, kunal rao <kunalgrao@gmail.com> wrote:
against .lib as mentioned in the document.
On Wed, Jun 9, 2010 at 8:08 PM, Mike Jackson <mike.jackson@bluequartz.net>wrote:
Are linking against the .lib or the .dll file?
-----
Mike Jackson <http://www.bluequartz.net>
www.bluequartz.net
Principal Software Engineer <mike.jackson@bluequartz.net>
mike.jackson@bluequartz.net
BlueQuartz Software Dayton, Ohio
On Jun 9, 2010, at 19:43, kunal rao <kunalgrao@gmail.com> wrote:
Hi,
I am trying to build hdf5-1.8 with Visual Studio 2008 under Windows HPC
Server 2008 (x64).
I am doing the exact steps as mentioned in INSTALL_Windows.txt.
I have set the environment variables:
HDF5_EXT_ZLIB
HDF5_EXT_SZIP
and also included the header and library directories for them in Visual
Studio. But when I build the solution, I get the following error:
----------------------------------------------------
5>Linking...
13>------ Build started: Project: h5repart_gentest, Configuration: Debug
x64 ------
8>C:\MyHDFStuff\szip\dll\szip.dll : fatal error LNK1107: invalid or
corrupt file: cannot read at 0x2E8
6>C:\MyHDFStuff\szip\dll\szip.dll : fatal error LNK1107: invalid or
corrupt file: cannot read at 0x2E8
----------------------------------------------------
I have downloaded szip from : <ftp://ftp.hdfgroup.org/lib-external/szip/2.1/bin/windows>
ftp://ftp.hdfgroup.org/lib-external/szip/2.1/bin/windows
and have selected: szip-2.1-win64-vs2008-enc.zip<ftp://ftp.hdfgroup.org/lib-external/szip/2.1/bin/windows/szip-2.1-win64-vs2008-enc.zip>
Can you please suggest how should I rectify this?
Thanks & Regards,
Kunal
_______________________________________________
Hdf-forum is for HDF software users discussion.
Hdf-forum@hdfgroup.org
http://mail.hdfgroup.org/mailman/listinfo/hdf-forum_hdfgroup.org
_______________________________________________
Hdf-forum is for HDF software users discussion.
Hdf-forum@hdfgroup.org
http://mail.hdfgroup.org/mailman/listinfo/hdf-forum_hdfgroup.org
Have you tried adding the path to the szip dll to your PATH environment
variable?
Dana
···
On Wed, Jun 9, 2010 at 7:28 PM, kunal rao <kunalgrao@gmail.com> wrote:
I tried by setting the environment variable HDF5_EXT_SZIP with value:
1) C:\MyHDFStuff\szip\dll\szip.lib
2) C:\MyHDFStuff\szip\dll\szip.dll
Both don't work..If I disable szip compression..Then it builds
successfully..
What might be going wrong?
Thanks & Regards,
Kunal
On Wed, Jun 9, 2010 at 8:19 PM, kunal rao <kunalgrao@gmail.com> wrote:
against .lib as mentioned in the document.
On Wed, Jun 9, 2010 at 8:08 PM, Mike Jackson <mike.jackson@bluequartz.net >> > wrote:
Are linking against the .lib or the .dll file?
-----
Mike Jackson <http://www.bluequartz.net>
www.bluequartz.net
Principal Software Engineer <mike.jackson@bluequartz.net>
mike.jackson@bluequartz.net
BlueQuartz Software Dayton, Ohio
On Jun 9, 2010, at 19:43, kunal rao <kunalgrao@gmail.com> wrote:
Hi,
I am trying to build hdf5-1.8 with Visual Studio 2008 under Windows HPC
Server 2008 (x64).
I am doing the exact steps as mentioned in INSTALL_Windows.txt.
I have set the environment variables:
HDF5_EXT_ZLIB
HDF5_EXT_SZIP
and also included the header and library directories for them in Visual
Studio. But when I build the solution, I get the following error:
----------------------------------------------------
5>Linking...
13>------ Build started: Project: h5repart_gentest, Configuration: Debug
x64 ------
8>C:\MyHDFStuff\szip\dll\szip.dll : fatal error LNK1107: invalid or
corrupt file: cannot read at 0x2E8
6>C:\MyHDFStuff\szip\dll\szip.dll : fatal error LNK1107: invalid or
corrupt file: cannot read at 0x2E8
----------------------------------------------------
I have downloaded szip from : <ftp://ftp.hdfgroup.org/lib-external/szip/2.1/bin/windows>
ftp://ftp.hdfgroup.org/lib-external/szip/2.1/bin/windows
and have selected: szip-2.1-win64-vs2008-enc.zip<ftp://ftp.hdfgroup.org/lib-external/szip/2.1/bin/windows/szip-2.1-win64-vs2008-enc.zip>
Can you please suggest how should I rectify this?
Thanks & Regards,
Kunal
_______________________________________________
Hdf-forum is for HDF software users discussion.
Hdf-forum@hdfgroup.org
http://mail.hdfgroup.org/mailman/listinfo/hdf-forum_hdfgroup.org
_______________________________________________
Hdf-forum is for HDF software users discussion.
Hdf-forum@hdfgroup.org
http://mail.hdfgroup.org/mailman/listinfo/hdf-forum_hdfgroup.org
_______________________________________________
Hdf-forum is for HDF software users discussion.
Hdf-forum@hdfgroup.org
http://mail.hdfgroup.org/mailman/listinfo/hdf-forum_hdfgroup.org