Skip to content

Latest commit

 

History

History
28 lines (17 loc) · 823 Bytes

QUICKSTART.md

File metadata and controls

28 lines (17 loc) · 823 Bytes

Ubuntu 20.04 C++ api quick start

This is aimed at a developer the needs to write a C++ application that uses the BAG library to read a bag file.

Build the library

Make sure dependencies are installed.

sudo apt install libxml2-dev libhdf5-dev

Follow usual cmake procedures, disabling testing by setting BAG_BUILD_TESTS to OFF.

mkdir build
cd build
cmake-gui ../

Modify CMAKE_INSTALL_PREFIX if desired, build, and install.

make
make install

Using the library

See the How-to Guide and C++ API Reference and Python API Reference for tips on how to use the BAG library to read and create BAG files.