The hdf5.net wrappers point specifically to the release version. If you want to use the debug hdf libs you need to rename the libs or edit the Wrapper.
S ________________________________________ From: [email protected] [[email protected]] On Behalf Of Gerd Heber [[email protected]] Sent: Sunday, August 28, 2011 4:42 PM To: 'HDF Users Discussion List' Subject: Re: [Hdf-forum] HDF5DotNet assembly Don, it's looking for the native HDF5 library with debugging turned on. (hdf5dlld.lib) ^ We distribute only the release versions in binary form. Your options are: 1. Build the debugging version yourself from source. 2. Build your project in debug mode, but link with the release version of HDF5. (hdf5dll.lib) 3. Build your project in release mode. Best, G. > -----Original Message----- > From: [email protected] [mailto:hdf-forum- > [email protected]] On Behalf Of Donald Brandon > Sent: Sunday, August 28, 2011 1:24 PM > To: HDF Users Discussion List > Subject: Re: [Hdf-forum] HDF5DotNet assembly > > 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 _______________________________________________ Hdf-forum is for HDF software users discussion. [email protected] http://mail.hdfgroup.org/mailman/listinfo/hdf-forum_hdfgroup.org This e-mail and any files transmitted with it may be proprietary and are intended solely for the use of the individual or entity to whom they are addressed. If you have received this e-mail in error please notify the sender. Please note that any views or opinions presented in this e-mail are solely those of the author and do not necessarily represent those of ITT Corporation. The recipient should check this e-mail and any attachments for the presence of viruses. ITT accepts no liability for any damage caused by any virus transmitted by this e-mail. _______________________________________________ Hdf-forum is for HDF software users discussion. [email protected] http://mail.hdfgroup.org/mailman/listinfo/hdf-forum_hdfgroup.org
