further updated MATLAB instructions to remove inconsistencies and oddities
parent
927e8a6c27
commit
53e74a8070
|
@ -4,14 +4,14 @@
|
|||
|
||||
http://borg.cc.gatech.edu/projects/gtsam
|
||||
|
||||
This is the GTSAM MATLAB toolbox, a MATLAB wrapper around the GTSAM C++ library. To build it, enable GTSAM_INSTALL_MATLAB_TOOLBOX in CMake.
|
||||
This is the GTSAM MATLAB toolbox, a MATLAB wrapper around the GTSAM C++ library. To build it, enable `GTSAM_INSTALL_MATLAB_TOOLBOX=ON` in CMake.
|
||||
|
||||
The interface to the toolbox is generated automatically by the wrap
|
||||
tool which directly parses C++ header files. The tool generates matlab proxy objects together with all the native functions for wrapping and unwrapping scalar and non scalar types and objects. The interface generated by the wrap tool also redirects the standard output stream (cout) to matlab's console.
|
||||
|
||||
## Newer Ubuntu versions unsupported by MATLAB (later than 10.04)
|
||||
## Ubuntu
|
||||
|
||||
If you have a newer Ubuntu system, you must make a small modification to your MATLAB installation, due to MATLAB being distributed with an old version of the C++ standard library. Delete or rename all files starting with `libstdc++` in your MATLAB installation directory, in paths:
|
||||
If you have a newer Ubuntu system (later than 10.04), you must make a small modification to your MATLAB installation, due to MATLAB being distributed with an old version of the C++ standard library. Delete or rename all files starting with `libstdc++` in your MATLAB installation directory, in paths:
|
||||
|
||||
/usr/local/MATLAB/[version]/sys/os/[system]/
|
||||
/usr/local/MATLAB/[version]/bin/[system]/
|
||||
|
@ -48,9 +48,9 @@ Missing symbol 'mexCallMATLABWithObject' required by '/usr/local/gtsam_toolbox/g
|
|||
```
|
||||
run following shell line
|
||||
```sh
|
||||
export LD_PRELOAD=/usr/lib/x86_64-linux-gnu/libstdc++.so.6:/usr/lib/x86_64-linux-gnu/libprotobuf.so.9
|
||||
export LD_PRELOAD=/usr/lib/x86_64-linux-gnu/libstdc++.so.6
|
||||
```
|
||||
before you run MATLAB.
|
||||
before you run MATLAB from the same shell.
|
||||
|
||||
This mainly happens if you have GCC >= 5 and newer version MATLAB like R2017a.
|
||||
|
||||
|
|
Loading…
Reference in New Issue