Project template using GTSAM + Python wrapping
To install the wrap package via GTSAM
:
GTSAM_BUILD_PYTHON
to ON
to enable building the Pybind11 wrapper.GTSAM_PYTHON_VERSION
to 3.x
(e.g. 3.7
), otherwise the default interpreter will be used.cmake -DGTSAM_BUILD_PYTHON=ON -DGTSAM_PYTHON_VERSION=3.7 ..
GTSAM
.build
directory and cd
into it.cmake ..
.make
, and the wrapped module will be installed to the python
directory in the top-level.make python-install
.python main.py
which calls the wrapped module, to get a flavor of how it works.For more detailed information, please refer to the tutorial.