From charlesreid1

No edit summary
No edit summary
Line 3: Line 3:
== Configuring ==
== Configuring ==


I am using the HDF5 libraries for various software tools available through the CRSim Software repository http://software.crsim.utah.edu/ - specifically, C++ programs using the C++ interface to HDF5:
I am using the HDF5 libraries for various software tools available through the CRSim Software repository http://software.crsim.utah.edu/ - specifically, C++ programs using the C++ interface to HDF5 - necessitating the <code>--enable-cxx</code> configure argument:


<syntaxhighlight lang="bash">
<syntaxhighlight lang="bash">
./configure \
./configure \
  --prefix=/Users/charles/pkg/hdf5-1.8.4 \
  --prefix=/path/to/hdf5 \
  --enable-cxx
  --enable-cxx
</syntaxhighlight>
</syntaxhighlight>
James Sutherland also recommends adding the configure arguments <code>--enable-static-exe --enable-static</code>, though in my experience these aren't necessary to build (and link to) HDF5.

Revision as of 07:56, 5 October 2010

Installing

Configuring

I am using the HDF5 libraries for various software tools available through the CRSim Software repository http://software.crsim.utah.edu/ - specifically, C++ programs using the C++ interface to HDF5 - necessitating the --enable-cxx configure argument:

./configure \
 --prefix=/path/to/hdf5 \
 --enable-cxx

James Sutherland also recommends adding the configure arguments --enable-static-exe --enable-static, though in my experience these aren't necessary to build (and link to) HDF5.