Are linking against the .lib or the .dll file?

-----
Mike Jackson                      www.bluequartz.net
Principal Software Engineer       [email protected]
BlueQuartz Software               Dayton, Ohio


On Jun 9, 2010, at 19:43, kunal rao <[email protected]> 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.
[email protected]
http://mail.hdfgroup.org/mailman/listinfo/hdf-forum_hdfgroup.org
_______________________________________________
Hdf-forum is for HDF software users discussion.
[email protected]
http://mail.hdfgroup.org/mailman/listinfo/hdf-forum_hdfgroup.org

Reply via email to