[hdf-forum] C++ and hdf5

Mag Gam magawake at gmail.com
Wed Jun 17 07:11:15 EDT 2009


Thanks for the response. I think I will stick with the C interface or
even dive into Python.

It seems h5py is well maintained.



On Tue, Jun 16, 2009 at 11:25 PM, Binh-Minh Ribler<bmribler at hdfgroup.org> wrote:
> Hi Mag,
>
> The C++ API is not funded and so it is not fully supported yet.  That is, it
> doesn't have wrappers for many C functions.  However, I've seen C++
> applications call some C functions directly when their wrapper is not
> available in the C++ API.  You just need to pass in <C++ API object>.getId()
> as an id to the C function.
>
> In order to build the C++ API, you need to put --enable-cxx on the
> ./configure line.
>
> Hope this helps.
> Binh-Minh
>
> -----Original Message-----
> From: Mag Gam [mailto:magawake at gmail.com]
> Sent: Tuesday, June 16, 2009 11:06 PM
> To: hdf-forum at hdfgroup.org
> Subject: [hdf-forum] C++ and hdf5
>
> I have been working with hdf5 and its C API. I like/love it :-)
>
> However, I would love to try out the C++ API. Is there anything
> special I need to do to get the C++ api to compile when doing
> ./configure in the hdf5 source directory? It does not create the
> hdf5c++ program for me. Any thoughts?
>
> TIA
>
> Also, is it "easier" to go with the C++ API versus the C API?
>
> ----------------------------------------------------------------------
> This mailing list is for HDF software users discussion.
> To subscribe to this list, send a message to
> hdf-forum-subscribe at hdfgroup.org.
> To unsubscribe, send a message to hdf-forum-unsubscribe at hdfgroup.org.
>
>
>
>
> --
> Internal Virus Database is out-of-date.
> Checked by AVG.
> Version: 7.5.549 / Virus Database: 270.9.0/1778 - Release Date: 11/9/2008
> 2:14 PM
>
>
>

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





More information about the Hdf-forum mailing list