Hey Kevin and Gerb... Thanks for the input. Yea, I figured it was
something to do with the platform I am on. I decided that he best thing
to do would be to try my luck with building it from source. The build
looks good but I have a link error:
error LNK1104: cannot open file 'hdf5dlld.lib'
Suggestions?
Thanks,
DB
On 8/25/2011 8:02 AM, Kevin Sheppard wrote:
You need to set the platform target of your exe under<Project> Properties,
Build to match that of the dll on your path.
Kevin
-----Original Message-----
From: [email protected] [mailto:[email protected]] On
Behalf Of Gerd Heber
Sent: Thursday, August 25, 2011 8:49 AM
To: 'HDF Users Discussion List'
Subject: Re: [Hdf-forum] HDF5DotNet assembly
Don, how are you? Adding an assembly reference should be all that's needed.
Note that there are different .NET assemblies for 32- and 64-bit.
(Under the covers, in the unmanaged API, there's a lot of size_t-ing going on.)
Also, make sure that you're using the assemblies with the correct .NET version
(2, 3.5, 4?). If all fails, you can try to build it from source and/or give us
a few additional clues.
(You got the assemblies + binaries from http://hdf5.net/ , right?)
Best, G.
-----Original Message-----
From: [email protected] [mailto:hdf-forum-
[email protected]] On Behalf Of Donald Brandon
Sent: Wednesday, August 24, 2011 11:00 PM
To: [email protected]
Subject: [Hdf-forum] HDF5DotNet assembly
Hello everyone:
My first post promises to be lame but -
I am wanting to use the DotNet version of HDF5. if HDF5DotNet.dll is
an assembly, what is the best way to register it to use in a C# project?
Simply referencing it in a project will not work, resulting in a
BadImageFormat Exception.
Thanks!
_______________________________________________
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
--
Donald Brandon
228-424-3958 (cell)
http://www.brandondl.com
_______________________________________________
Hdf-forum is for HDF software users discussion.
[email protected]
http://mail.hdfgroup.org/mailman/listinfo/hdf-forum_hdfgroup.org