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