I had to add my C:\HDF5-1.8.2\dll and C:\HDF5-1.8.2\bin paths, e.g.
After these two configuration changes all the test cases worked correctly.
P.S. If you still have troubles dump the 'cygcheck' output for one of your
test executables and send it to me.
···
-----Original Message-----
From: Jean Gilbert [mailto:logiciels@prominov.com]
Sent: Monday, February 23, 2009 1:00 PM
To: jhuddleston@hughes.net
Cc: hdf-forum@hdfgroup.org
Subject: RE: [hdf-forum] Basic question concerning the HDF5 .Net wrapper
Thank you John
That is very kind. I have started to investigate using the Dependency
Walker you suggest me on the
C:\HDF5\HDF5dotNet\tests\h5files\bin\Debug\h5files.exe. However the
program shows the same result on both computer.
That is, the computer on which the csharp wrapper test batch file
succeed and the one on which is fails shows the same number of modules
(126) dependency and it shows that all the required modules are present
on both computers. (I'm not sure to fully understand that tool however
as the HDF5DOTNET.DLL does not appears in the list.) Maybe comparing the
File Version of each of the 126 DLLs would reveals some discrepancies,
but that is a long road from there I believe.
That is why I would hope that someone knows what is needed to be able to
run the C:\HDF5\HDF5dotNet\tests\hdf5csharptest.bat test batch file. Up
to now the requirements list I am building is:
- Windows XP Service pack 3;
- HDF5dotNet.zip (unzipped into the c:\HDF5 folder);
I kept thinking that installing the Visual Studio C# is not required to
run a program developed with the csharp wrapper, but I may be wrong.
Also, I have made some tests adding the following DLLs into the
C:\Windows\System32 folder:
- hdf5dll.dll, szlibdll.dll, szlibdll.lib and HDF5DotNet.dll.
Jean
PS I'm not sure if replying to an e-mail with the hdf-forum@hdfgroup.org
in CC is good practice. Sorry if it's not. I could eventually send only
the answer to my question, if I found it.
From: John Huddleston [mailto:jhuddleston@hughes.net]
Sent: February-21-09 9:58 AM
To: 'Jean Gilbert'; hdf-forum@hdfgroup.org
Subject: RE: [hdf-forum] Basic question concerning the HDF5 .Net wrapper
Jean
You may have the HDF5DOTNET.DLL in your %PATH% but HDF5DOTNET.DLL
depends upon other DLLs.
You can use http://www.dependencywalker.com/ utility to check if all the
other DLLs are found.
I also use the Cygwin 'cygcheck' program from the BASH command line to
verify that all DLLs are found.
John Huddleston, PhD
________________________________
From: Jean Gilbert [mailto:logiciels@prominov.com]
Sent: Friday, February 20, 2009 10:42 PM
To: hdf-forum@hdfgroup.org
Subject: [hdf-forum] Basic question concerning the HDF5 .Net wrapper
Hello,
Does anyone knows what are the settings or packages required to be able
to run the file "hdf5csharptest.bat" provided on the HDFGroup web site ?
(ftp://ftp.hdfgroup.uiuc.edu/pub/outgoing/hdf5/Csharp-prototype/HDF5dotN
et.zip)
It successfully run on a computer having Visual Studio 2005 installed
(and many other things), but not on another that doesn't. The error
message we get is pasted at the bottom of this email.
We developed a C# application that use the C# wrappers and it has the
same behaviour. We would like to be able to run the program on a
computer that doesn't have Visual Studio installed.
So, simply knowing what is required to be able to run the package
downloaded from the HDFGroup on a freshly installed Windows XP would
solve our problem.
Any help on this would be greatly appreciated !
Thanks,
Jean
P.S. We tried installing the "Microsoft Visual C++ 2005 Redistributable
Package", but it doesn't solved the problem.
================================
Testing C# API tests - limited
================================
cd h5files\bin\Debug
Unhandled Exception: System.IO.FileLoadException: Could not load file or
assembl
y 'HDF5DotNet, Version=1.0.2616.13243, Culture=neutral,
PublicKeyToken=null' or
one of its dependencies. This application has failed to start because
the applic
ation configuration is incorrect. Reinstalling the application may fix
this prob
lem. (Exception from HRESULT: 0x800736B1)
File name: 'HDF5DotNet, Version=1.0.2616.13243, Culture=neutral,
PublicKeyToken=
null' ---> System.Runtime.InteropServices.COMException (0x800736B1):
This applic
ation has failed to start because the application configuration is
incorrect. Re
installing the application may fix this problem. (Exception from
HRESULT: 0x8007
36B1)
at h5files.Program.Main(String[] args)
cd h5groups\bin\Debug
No virus found in this incoming message.
Checked by AVG - www.avg.com
Version: 8.0.237 / Virus Database: 270.11.2/1963 - Release Date:
02/20/09 19:22:00
No virus found in this incoming message.
Checked by AVG - www.avg.com
Version: 8.0.237 / Virus Database: 270.11.2/1965 - Release Date: 02/23/09
07:17:00
----------------------------------------------------------------------
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.