Added note in readme about glibc debug

release/4.3a0
Alex Cunningham 2011-07-15 18:26:18 +00:00
parent e517dee4f8
commit 641bd239bc
1 changed files with 5 additions and 0 deletions

5
README
View File

@ -60,9 +60,14 @@ so that debug checks are disabled.
Another useful debugging symbol is _GLIBCXX_DEBUG, which enables debug checks
and safe containers in the standard C++ library and makes problems much easier
to find.
NOTE: The native Snow Leopard g++ compiler/library contains a bug that makes
it impossible to use _GLIBCXX_DEBUG. MacPorts g++ compilers do work with it though.
NOTE: If _GLIBCXX_DEBUG is used to compile gtsam, anything that links against
gtsam will need to be compiled with _GLIBCXX_DEBUG as well, due to the use of
header-only Eigen.
3)
Putting the above together, here are some sample ./configure commands for
compiling gtsam: