Note
This documentation is for the new Bio-Formats 5.1 version. See the latest Bio-Formats 5.0.x version or the previous versions page to find documentation for the version you are using.
To install dependencies on Mac OS X, we advise using Homebrew:
brew install maven cmake boost
Unless otherwise configured, this will install binaries into /usr/local/.
The following commands will generate and build the Bio-Formats C++ bindings:
# generate the C++ bindings
cd components/formats-bsd
mvn -DskipTests package dependency:copy-dependencies cppwrap:wrap
# compile the C++ bindings
cd target/cppwrap
mkdir build
cd build
cmake ..
make