hdf5/1.14.4.3

HDF5 is a data model, library, and file format for storing and managing data.
Recipe info
2024-06-13

Available packages
Linux
Windows
macOS
macOS Apple Silicon

Install
Add the following line to your conanfile.txt:
[requires]
hdf5/1.14.4.3

Using hdf5

Note

If you are a new Conan user, we recommend reading the how to consume packages tutorial.

If you need additional assistance, please ask a question in the Conan Center Index repository.

Simplest use case consuming this recipe and assuming CMake as your local build tool:

[requires]
hdf5/1.14.4.3
[generators]
CMakeDeps
CMakeToolchain
[layout]
cmake_layout
from conan import ConanFile
from conan.tools.cmake import cmake_layout


class ExampleRecipe(ConanFile):
    settings = "os", "compiler", "build_type", "arch"
    generators = "CMakeDeps", "CMakeToolchain"

    def requirements(self):
        self.requires("hdf5/1.14.4.3")

    def layout(self):
        cmake_layout(self)

Now, you can run this Conan command to locally install (and build if necessary) this recipe and its dependencies (if any):

$ conan install conanfile.txt --build=missing

Useful information to take into account to consume this library:


These are the main declared targets:

  • CMake package name(s): HDF5
  • CMake target name(s): HDF5::HDF5
  • hdf5_c => hdf5::hdf5
    hdf5_hl => hdf5::hdf5_hl
    hdf5_cpp => hdf5::hdf5_cpp
    hdf5_hl_cpp => hdf5::hdf5_hl_cpp
    
  • pkg-config file name(s): hdf5-all-do-not-use.pc
  • hdf5_c => hdf5.pc
    hdf5_hl => hdf5_hl.pc
    hdf5_cpp => hdf5_cpp.pc
    hdf5_hl_cpp => hdf5_hl_cpp.pc
    

A simple use case using the CMake file name and the global target:

# ...
find_package(HDF5 REQUIRED)
# ...
target_link_libraries(YOUR_TARGET HDF5::HDF5)

These are all the available headers. Some of these ones might be non-public; make sure of it by visiting the hdf5 homepage listed above:

#include "hdf5/H5ACpublic.h"
#include "hdf5/H5AbstractDs.h"
#include "hdf5/H5Alltypes.h"
#include "hdf5/H5Apublic.h"
#include "hdf5/H5ArrayType.h"
#include "hdf5/H5AtomType.h"
#include "hdf5/H5Attribute.h"
#include "hdf5/H5Classes.h"
#include "hdf5/H5CommonFG.h"
#include "hdf5/H5CompType.h"
#include "hdf5/H5Cpp.h"
#include "hdf5/H5CppDoc.h"
#include "hdf5/H5Cpublic.h"
#include "hdf5/H5DOpublic.h"
#include "hdf5/H5DSpublic.h"
#include "hdf5/H5DaccProp.h"
#include "hdf5/H5DataSet.h"
#include "hdf5/H5DataSpace.h"
#include "hdf5/H5DataType.h"
#include "hdf5/H5DcreatProp.h"
#include "hdf5/H5Dpublic.h"
#include "hdf5/H5DxferProp.h"
#include "hdf5/H5ESdevelop.h"
#include "hdf5/H5ESpublic.h"
#include "hdf5/H5EnumType.h"
#include "hdf5/H5Epubgen.h"
#include "hdf5/H5Epublic.h"
#include "hdf5/H5Exception.h"
#include "hdf5/H5FDcore.h"
#include "hdf5/H5FDdevelop.h"
#include "hdf5/H5FDdirect.h"
#include "hdf5/H5FDfamily.h"
#include "hdf5/H5FDhdfs.h"
#include "hdf5/H5FDioc.h"
#include "hdf5/H5FDlog.h"
#include "hdf5/H5FDmirror.h"
#include "hdf5/H5FDmpi.h"
#include "hdf5/H5FDmpio.h"
#include "hdf5/H5FDmulti.h"
#include "hdf5/H5FDonion.h"
#include "hdf5/H5FDpublic.h"
#include "hdf5/H5FDros3.h"
#include "hdf5/H5FDs3comms.h"
#include "hdf5/H5FDsec2.h"
#include "hdf5/H5FDsplitter.h"
#include "hdf5/H5FDstdio.h"
#include "hdf5/H5FDsubfiling.h"
#include "hdf5/H5FDwindows.h"
#include "hdf5/H5FaccProp.h"
#include "hdf5/H5FcreatProp.h"
#include "hdf5/H5File.h"
#include "hdf5/H5FloatType.h"
#include "hdf5/H5Fpublic.h"
#include "hdf5/H5Gpublic.h"
#include "hdf5/H5Group.h"
#include "hdf5/H5IMpublic.h"
#include "hdf5/H5IdComponent.h"
#include "hdf5/H5Idevelop.h"
#include "hdf5/H5Include.h"
#include "hdf5/H5IntType.h"
#include "hdf5/H5Ipublic.h"
#include "hdf5/H5LDpublic.h"
#include "hdf5/H5LTpublic.h"
#include "hdf5/H5LaccProp.h"
#include "hdf5/H5LcreatProp.h"
#include "hdf5/H5Ldevelop.h"
#include "hdf5/H5Library.h"
#include "hdf5/H5Location.h"
#include "hdf5/H5Lpublic.h"
#include "hdf5/H5MMpublic.h"
#include "hdf5/H5Mpublic.h"
#include "hdf5/H5Object.h"
#include "hdf5/H5OcreatProp.h"
#include "hdf5/H5Opublic.h"
#include "hdf5/H5PLextern.h"
#include "hdf5/H5PLpublic.h"
#include "hdf5/H5PTpublic.h"
#include "hdf5/H5PacketTable.h"
#include "hdf5/H5Ppublic.h"
#include "hdf5/H5PredType.h"
#include "hdf5/H5PropList.h"
#include "hdf5/H5Rpublic.h"
#include "hdf5/H5Spublic.h"
#include "hdf5/H5StrType.h"
#include "hdf5/H5TBpublic.h"
#include "hdf5/H5TSdevelop.h"
#include "hdf5/H5Tdevelop.h"
#include "hdf5/H5Tpublic.h"
#include "hdf5/H5VLconnector.h"
#include "hdf5/H5VLconnector_passthru.h"
#include "hdf5/H5VLnative.h"
#include "hdf5/H5VLpassthru.h"
#include "hdf5/H5VLpublic.h"
#include "hdf5/H5VarLenType.h"
#include "hdf5/H5Zdevelop.h"
#include "hdf5/H5Zpublic.h"
#include "hdf5/H5api_adpt.h"
#include "hdf5/H5encode.h"
#include "hdf5/H5overflow.h"
#include "hdf5/H5pubconf.h"
#include "hdf5/H5public.h"
#include "hdf5/H5version.h"
#include "hdf5/hdf5.h"
#include "hdf5/hdf5_hl.h"