Skip to content

Commit 36637a9

Browse files
author
mxie32
committed
add install instruction
1 parent 389b937 commit 36637a9

File tree

1 file changed

+15
-0
lines changed

1 file changed

+15
-0
lines changed

README.md

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,17 @@
11
# gtsam-project-python
22
Project template using GTSAM + python wrapping
3+
4+
5+
INSTALL
6+
=======
7+
- Python3 is required
8+
- Make the following changes before build and install:
9+
- enable `GTSAM_INSTALL_CYTHON_TOOLBOX`
10+
- if you want to build the gtsam python library for a specific python version (eg 3.6), use the `-DGTSAM_PYTHON_VERSION=3.6` option, otherwise the default interpreter will be used.
11+
- Run `cmake ..`
12+
- Run `make install` (may need use sudo), and the wrapped module will be installed to `GTSAM_CYTHON_INSTALL_PATH`, which is
13+
by default: `<your CMAKE_INSTALL_PREFIX>/cython`
14+
- After build and install gtsam, navigate to `GTSAM_CYTHON_INSTALL_PATH` and run `python setup.py install`
15+
16+
For more detailed information, please see
17+
https://github.com/borglab/gtsam/tree/develop/cython

0 commit comments

Comments
 (0)