Results 1 to 6 of 6

Thread: hdf5 C++ libraries missing?

  1. #1
    Join Date
    Nov 2012
    Beans
    4

    hdf5 C++ libraries missing?

    Hi,

    I'm on Ubuntu 12.10 and I've installed libhdf5-serial-dev, libhdf5-dev and libhdf5-7. This installs amongst other things:
    /usr/lib/libhdf5.a
    /usr/lib/libhdf5.so
    /usr/lib/libhdf5_fortran.a
    /usr/lib/libhdf5_fortran.so
    /usr/lib/libhdf5_hl.a
    /usr/lib/libhdf5_hl.so

    But the C++ library is completely missing. When you build it yourself or use windows, there's also a libhdf5cpp, the C++ obj. oriented interface to the libhdf5...
    The problem is of course that my application doesn't build because the CPP lib/headers (e.g. H5Cpp.h and all others) are missing.

    I can't find a package in the ubuntu repo with the CPP lib.

    Thank you for any help.
    Last edited by Elador0; November 14th, 2012 at 08:13 PM.

  2. #2
    Join Date
    Nov 2012
    Beans
    4

    Re: hdf5 C++ libraries missing?

    12.10:

    http://packages.ubuntu.com/search?se...antal&arch=any

    You have searched for files named H5Cpp.h in suite quantal, all sections, and all architectures.
    Sorry, your search gave no results

    12.04:

    http://packages.ubuntu.com/search?su...ywords=H5Cpp.h

    You have searched for files named H5Cpp.h in suite precise, all sections, and all architectures. Found 1 results.
    /usr/include/H5Cpp.h libhdf5-serial-dev


    What's going on?
    Last edited by Elador0; November 14th, 2012 at 08:33 PM.

  3. #3
    Join Date
    Apr 2009
    Location
    Germany
    Beans
    2,134
    Distro
    Ubuntu Development Release

    Re: hdf5 C++ libraries missing?

    yes the c++ library is missing
    it has been added again in debian experimental:
    http://packages.qa.debian.org/h/hdf5...1T210247Z.html

    this will likely make it into 13.04

  4. #4
    Join Date
    Nov 2012
    Beans
    4

    Re: hdf5 C++ libraries missing?

    Ok..... can I somehow install from this repo?

  5. #5
    Join Date
    Apr 2009
    Location
    Germany
    Beans
    2,134
    Distro
    Ubuntu Development Release

    Re: hdf5 C++ libraries missing?

    you can probably install the debian libraries into quantal with no issues, precise is less likely to work, but it might.

    possibly you will have to build it from source to get everything right.
    Code:
    apt-get install devscripts equivs ubuntu-dev-tools
    pull-debian-source hdf5 experimental
    cd hdf5-*
    sudo mk-build-deps -ir
    debuild -us -uc
    #pick the library packages from ../*deb
    Last edited by MadCow108; November 14th, 2012 at 09:38 PM.

  6. #6
    Join Date
    Nov 2012
    Beans
    4

    Re: hdf5 C++ libraries missing?

    Thanks very much for this short guide

    This has already cost me several hours to find what's going on and why my CMake project won't compile anymore in Linux, just to find out that some ubuntu/debian package manager had the funny idea to drop the hdf5_cpp library......... what a nice idea.

    I ended up just adding the debian experimental repo, didn't work (no key found ... something), then I just downloaded the .deb's from http://packages.debian.org/experimental/.

    Seems to work, but somewhere my software still crashes. But I guess that's not hdf5's fault. Going to find out now. I think I try your way of compiling hdf5.

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •