techoe / ceres-solver

Automatically exported from code.google.com/p/ceres-solver
Other
0 stars 0 forks source link

Ceres does not compile with libc++ #97

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
The logic for handling the tr1 namespace is broken when libc++ is used with 
clang.

Original issue reported on code.google.com by sameerag...@google.com on 20 Apr 2013 at 4:42

GoogleCodeExporter commented 9 years ago
Disabling TR1 makes the rest of it work. 

It is however important to make sure all your libraries are compiled with 
libc++, as gcc and libc++'s string objects are different and lead to mysterious 
crashes.

its worth looking inside the gmock implementation to see how it deals with TR1 
issues.

Original comment by sameerag...@google.com on 18 Jul 2013 at 5:23

GoogleCodeExporter commented 9 years ago
gmock was updated earlier.

This should fix the issue going forward.

https://ceres-solver-review.googlesource.com/#/c/4170/

Original comment by sameerag...@google.com on 25 Oct 2013 at 5:02

GoogleCodeExporter commented 9 years ago

Original comment by sandwich...@gmail.com on 4 Nov 2013 at 4:02