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 <[email protected]> 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 <[email protected]> wrote:
>
>> against .lib as mentioned in the document.
>>
>>
>> On Wed, Jun 9, 2010 at 8:08 PM, Mike Jackson <[email protected]
>> > wrote:
>>
>>> Are linking against the .lib or the .dll file?
>>>
>>> -----
>>> Mike Jackson                       <http://www.bluequartz.net>
>>> www.bluequartz.net
>>> Principal Software Engineer       <[email protected]>
>>> [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>
>>> 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
>>>
>>>
>>
>
> _______________________________________________
> 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