File tree Expand file tree Collapse file tree 1 file changed +24
-1
lines changed
Expand file tree Collapse file tree 1 file changed +24
-1
lines changed Original file line number Diff line number Diff line change 11# gtsam-project-python
2+
23Project template using GTSAM + python wrapping
34
4- Please refer to the [ tutorial] ( TUTORIAL.md ) to get started.
5+ ## PREREQUISITES
6+
7+ - Python 3.6+ is required, since we support these versions.
8+ - Make the following changes to ` GTSAM ` :
9+
10+ - Set the CMake flag ` GTSAM_INSTALL_CYTHON_TOOLBOX ` to ` ON ` to enable building the cython wrapper.
11+ - Set the CMake flag ` GTSAM_PYTHON_VERSION ` to ` 3 ` , otherwise the default interpreter will be used.
12+ - You can do this on the command line as follows:
13+
14+ ``` sh
15+ cmake -GTSAM_INSTALL_CYTHON_TOOLBOX=ON -DGTSAM_PYTHON_VERSION=3 ..
16+ ```
17+
18+ # # INSTALL
19+
20+ - In the ` example` directory, create the ` build` directory and ` cd` into it.
21+ - Run ` cmake ..` .
22+ - Run ` make` , and the wrapped module will be installed to a ` cython` directory.
23+ - Navigate to the ` cython` directory and run ` python setup.py install` .
24+
25+ # # DOCUMENTATION
26+
27+ For more detailed information, please refer to the [tutorial](TUTORIAL.md).
You can’t perform that action at this time.
0 commit comments