initial problems

Hello List,
I have downloaded 1.6.7, compiled and built the libraries. When I statrted using the libraries, even for H5Fopen(), it is giving the follwoing errors. I am working on windows 2000 and using Visual studio 6. Please advise me where I am going wrong

all - 0 error(s), 211 warning(s)
The following environment variables were not found
$(HDF5_EXT_ZLIB)
$(HDF5_EXT_SZIP)

HDF5-DIAG: Error detected in HDF5 library version: 1.6.7 thread 0. Back trace f
ollows.
  #000: D:\HDF5\src\H5F.c line 2048 in H5Fopen(): unable to open file
    major(04): File interface
    minor(17): Unable to open file
  #001: D:\HDF5\src\H5F.c line 1725 in H5F_open(): unable to open file
    major(04): File interface
    minor(17): Unable to open file
  #002: D:\HDF5\src\H5FD.c line 1041 in H5FD_open(): open failed
    major(22): Virtual File Layer
    minor(29): Unable to initialize object
  #003: D:\HDF5\src\H5FDsec2.c line 367 in H5FD_sec2_open(): unable to open file

    major(04): File interface
    minor(17): Unable to open file
  #004: D:\HDF5\src\H5FDsec2.c line 367 in H5FD_sec2_open(): No such file or dir
ectory
    major(03): Internal HDF5 error
    minor(87): System error message
Press any key to continue

regards
Prakash

Have you compiled and set up the zlib and szip libraries (compression libraries) that are needed by HDF5? That is what is being searched for.

-Roy M.

···

On Aug 9, 2008, at 5:47 AM, Surya Prakash wrote:

Hello List,
I have downloaded 1.6.7, compiled and built the libraries. When I statrted using the libraries, even for H5Fopen(), it is giving the follwoing errors. I am working on windows 2000 and using Visual studio 6. Please advise me where I am going wrong

all - 0 error(s), 211 warning(s)
The following environment variables were not found
$(HDF5_EXT_ZLIB)
$(HDF5_EXT_SZIP)

HDF5-DIAG: Error detected in HDF5 library version: 1.6.7 thread 0. Back trace f
ollows.
  #000: D:\HDF5\src\H5F.c line 2048 in H5Fopen(): unable to open file
    major(04): File interface
    minor(17): Unable to open file
  #001: D:\HDF5\src\H5F.c line 1725 in H5F_open(): unable to open file
    major(04): File interface
    minor(17): Unable to open file
  #002: D:\HDF5\src\H5FD.c line 1041 in H5FD_open(): open failed
    major(22): Virtual File Layer
    minor(29): Unable to initialize object
  #003: D:\HDF5\src\H5FDsec2.c line 367 in H5FD_sec2_open(): unable to open file

    major(04): File interface
    minor(17): Unable to open file
  #004: D:\HDF5\src\H5FDsec2.c line 367 in H5FD_sec2_open(): No such file or dir
ectory
    major(03): Internal HDF5 error
    minor(87): System error message
Press any key to continue

regards
Prakash

**********************
"The contents of this message do not reflect any position of the U.S. Government or NOAA."
**********************
Roy Mendelssohn
Supervisory Operations Research Analyst
NOAA/NMFS
Environmental Research Division
Southwest Fisheries Science Center
1352 Lighthouse Avenue
Pacific Grove, CA 93950-2097

e-mail: Roy.Mendelssohn@noaa.gov (Note new e-mail address)
voice: (831)-648-9029
fax: (831)-648-8440
www: http://www.pfeg.noaa.gov/

"Old age and treachery will overcome youth and skill."
"From those who have been given much, much will be expected"

----------------------------------------------------------------------
This mailing list is for HDF software users discussion.
To subscribe to this list, send a message to hdf-forum-subscribe@hdfgroup.org.
To unsubscribe, send a message to hdf-forum-unsubscribe@hdfgroup.org.

Ya,
I followed install_windows.txt. As I didn't want those compression features I have commented those lines in the configuration file. Further help please

regards
Prakash

···

On Mon, 11 Aug 2008 MuQun Yang wrote :

Yes,you missed zlib and szip libraries.

You need to follow install_windows.txt to build the library on windows.

Kent

On Sat, Aug 9, 2008 at 7:47 AM, Surya Prakash <ds_prakash@rediffmail.com> wrote:
>
> Hello List,
> I have downloaded 1.6.7, compiled and built the libraries. When I statrted
> using the libraries, even for H5Fopen(), it is giving the follwoing errors.
> I am working on windows 2000 and using Visual studio 6. Please advise me
> where I am going wrong
>
>
>
> all - 0 error(s), 211 warning(s)
> The following environment variables were not found
> $(HDF5_EXT_ZLIB)
> $(HDF5_EXT_SZIP)
>
> HDF5-DIAG: Error detected in HDF5 library version: 1.6.7 thread 0. Back
> trace f
> ollows.
> #000: D:\HDF5\src\H5F.c line 2048 in H5Fopen(): unable to open file
> major(04): File interface
> minor(17): Unable to open file
> #001: D:\HDF5\src\H5F.c line 1725 in H5F_open(): unable to open file
> major(04): File interface
> minor(17): Unable to open file
> #002: D:\HDF5\src\H5FD.c line 1041 in H5FD_open(): open failed
> major(22): Virtual File Layer
> minor(29): Unable to initialize object
> #003: D:\HDF5\src\H5FDsec2.c line 367 in H5FD_sec2_open(): unable to open
> file
>
> major(04): File interface
> minor(17): Unable to open file
> #004: D:\HDF5\src\H5FDsec2.c line 367 in H5FD_sec2_open(): No such file or
> dir
> ectory
> major(03): Internal HDF5 error
> minor(87): System error message
> Press any key to continue
>
>
>
> regards
> Prakash
>
>
>
>

Hi Surya,

The errors you receive here imply that the file you're attempting to open can't be found. Make sure you're application is being run from the correct directory, and that the file does exist where the program is looking for it.

Scott

Surya Prakash wrote:

···

Ya,
I followed install_windows.txt. As I didn't want those compression features I have commented those lines in the configuration file. Further help please

regards
Prakash

On Mon, 11 Aug 2008 MuQun Yang wrote :
>Yes,you missed zlib and szip libraries.
>
>You need to follow install_windows.txt to build the library on windows.
>
>Kent
>
>On Sat, Aug 9, 2008 at 7:47 AM, Surya Prakash > <ds_prakash@rediffmail.com> wrote:
> >
> > Hello List,
> > I have downloaded 1.6.7, compiled and built the libraries. When I statrted
> > using the libraries, even for H5Fopen(), it is giving the follwoing errors.
> > I am working on windows 2000 and using Visual studio 6. Please advise me
> > where I am going wrong
> >
> > all - 0 error(s), 211 warning(s)
> > The following environment variables were not found
> > $(HDF5_EXT_ZLIB)
> > $(HDF5_EXT_SZIP)
> >
> > HDF5-DIAG: Error detected in HDF5 library version: 1.6.7 thread 0. Back
> > trace f
> > ollows.
> > #000: D:\HDF5\src\H5F.c line 2048 in H5Fopen(): unable to open file
> > major(04): File interface
> > minor(17): Unable to open file
> > #001: D:\HDF5\src\H5F.c line 1725 in H5F_open(): unable to open file
> > major(04): File interface
> > minor(17): Unable to open file
> > #002: D:\HDF5\src\H5FD.c line 1041 in H5FD_open(): open failed
> > major(22): Virtual File Layer
> > minor(29): Unable to initialize object
> > #003: D:\HDF5\src\H5FDsec2.c line 367 in H5FD_sec2_open(): unable to open
> > file
> >
> > major(04): File interface
> > minor(17): Unable to open file
> > #004: D:\HDF5\src\H5FDsec2.c line 367 in H5FD_sec2_open(): No such file or
> > dir
> > ectory
> > major(03): Internal HDF5 error
> > minor(87): System error message
> > Press any key to continue
> >
> > regards
> > Prakash
> >

SK_Signatureline_30July08.gif <http://adworks.rediff.com/cgi-bin/AdWorks/click.cgi/www.rediff.com/signature-default.htm/1050715198@Middle5/2212064_2204411/2248455/1?PARTNER=3&OAS_QUERY=null>

----------------------------------------------------------------------
This mailing list is for HDF software users discussion.
To subscribe to this list, send a message to hdf-forum-subscribe@hdfgroup.org.
To unsubscribe, send a message to hdf-forum-unsubscribe@hdfgroup.org.