bartoli@Calliope ~/Projects/rtabmap/build $ make > log.txt In file included from /usr/include/c++/4.8/unordered_map:35:0, from /usr/local/include/g2o/core/hyper_graph.h:38, from /usr/local/include/g2o/core/optimizable_graph.h:38, from /usr/local/include/g2o/core/sparse_optimizer.h:32, from /home/bartoli/Projects/rtabmap/corelib/src/Graph.cpp:42: /usr/include/c++/4.8/bits/c++0x_warning.h:32:2: error: #error This file requires compiler and library support for the ISO C++ 2011 standard. This support is currently experimental, and must be enabled with the -std=c++11 or -std=gnu++11 compiler options. #error This file requires compiler and library support for the \ ^ In file included from /home/bartoli/Projects/rtabmap/corelib/src/toro3d/posegraph2.hh:47:0, from /home/bartoli/Projects/rtabmap/corelib/src/toro3d/treeoptimizer2.hh:47, from /home/bartoli/Projects/rtabmap/corelib/src/Graph.cpp:39: /home/bartoli/Projects/rtabmap/corelib/src/toro3d/transformation2.hh: In constructor ‘AISNavigation::Transformation2::Transformation2(const T&, const AISNavigation::Vector2&)’: /home/bartoli/Projects/rtabmap/corelib/src/toro3d/transformation2.hh:191:49: warning: delegating constructors only available with -std=c++11 or -std=gnu++11 [enabled by default] Transformation2(trans.x(), trans.y(), _theta){} ^ In file included from /usr/local/include/g2o/core/optimizable_graph.h:38:0, from /usr/local/include/g2o/core/sparse_optimizer.h:32, from /home/bartoli/Projects/rtabmap/corelib/src/Graph.cpp:42: /usr/local/include/g2o/core/hyper_graph.h: At global scope: /usr/local/include/g2o/core/hyper_graph.h:138:15: error: ‘unordered_map’ in namespace ‘std’ does not name a type typedef std::unordered_map VertexIDMap; ^ /usr/local/include/g2o/core/hyper_graph.h:225:13: error: ‘VertexIDMap’ does not name a type const VertexIDMap& vertices() const {return _vertices;} ^ /usr/local/include/g2o/core/hyper_graph.h:227:7: error: ‘VertexIDMap’ does not name a type VertexIDMap& vertices() {return _vertices;} ^ /usr/local/include/g2o/core/hyper_graph.h:274:7: error: ‘VertexIDMap’ does not name a type VertexIDMap _vertices; ^ In file included from /usr/local/include/g2o/core/sparse_block_matrix.h:38:0, from /usr/local/include/g2o/core/sparse_optimizer.h:33, from /home/bartoli/Projects/rtabmap/corelib/src/Graph.cpp:42: /usr/local/include/g2o/core/sparse_block_matrix_ccs.h:222:15: error: ‘unordered_map’ in namespace ‘std’ does not name a type typedef std::unordered_map SparseColumn; ^ /usr/local/include/g2o/core/sparse_block_matrix_ccs.h:241:25: error: ‘SparseColumn’ was not declared in this scope const std::vector& blockCols() const { return _blockCols;} ^ /usr/local/include/g2o/core/sparse_block_matrix_ccs.h:241:37: error: template argument 1 is invalid const std::vector& blockCols() const { return _blockCols;} ^ /usr/local/include/g2o/core/sparse_block_matrix_ccs.h:241:37: error: template argument 2 is invalid /usr/local/include/g2o/core/sparse_block_matrix_ccs.h:242:19: error: ‘SparseColumn’ was not declared in this scope std::vector& blockCols() { return _blockCols;} ^ /usr/local/include/g2o/core/sparse_block_matrix_ccs.h:242:31: error: template argument 1 is invalid std::vector& blockCols() { return _blockCols;} ^ /usr/local/include/g2o/core/sparse_block_matrix_ccs.h:242:31: error: template argument 2 is invalid /usr/local/include/g2o/core/sparse_block_matrix_ccs.h:273:19: error: ‘SparseColumn’ was not declared in this scope std::vector _blockCols; ///< the matrices stored in CCS order ^ /usr/local/include/g2o/core/sparse_block_matrix_ccs.h:273:31: error: template argument 1 is invalid std::vector _blockCols; ///< the matrices stored in CCS order ^ /usr/local/include/g2o/core/sparse_block_matrix_ccs.h:273:31: error: template argument 2 is invalid /usr/local/include/g2o/core/sparse_block_matrix_ccs.h: In member function ‘MatrixType* g2o::SparseBlockMatrixHashMap::addBlock(int, int, bool)’: /usr/local/include/g2o/core/sparse_block_matrix_ccs.h:256:9: error: ‘SparseColumn’ was not declared in this scope SparseColumn& sparseColumn = _blockCols[c]; ^ /usr/local/include/g2o/core/sparse_block_matrix_ccs.h:256:23: error: ‘sparseColumn’ was not declared in this scope SparseColumn& sparseColumn = _blockCols[c]; ^ /usr/local/include/g2o/core/sparse_block_matrix_ccs.h:256:50: error: invalid types ‘int[int]’ for array subscript SparseColumn& sparseColumn = _blockCols[c]; ^ /usr/local/include/g2o/core/sparse_block_matrix_ccs.h:257:18: error: ‘SparseColumn’ is not a class or namespace typename SparseColumn::iterator foundIt = sparseColumn.find(r); ^ /usr/local/include/g2o/core/sparse_block_matrix_ccs.h:257:41: error: expected ‘(’ before ‘foundIt’ typename SparseColumn::iterator foundIt = sparseColumn.find(r); ^ /usr/local/include/g2o/core/sparse_block_matrix_ccs.h:257:41: error: expected ‘;’ before ‘foundIt’ /usr/local/include/g2o/core/sparse_block_matrix_ccs.h:258:13: error: ‘foundIt’ was not declared in this scope if (foundIt == sparseColumn.end()) { ^ /usr/local/include/g2o/core/sparse_block_matrix_ccs.h:267:16: error: ‘foundIt’ was not declared in this scope return foundIt->second; ^ In file included from /usr/local/include/g2o/solvers/csparse/linear_solver_csparse.h:34:0, from /home/bartoli/Projects/rtabmap/corelib/src/Graph.cpp:48: /usr/local/include/g2o/core/marginal_covariance_cholesky.h: At global scope: /usr/local/include/g2o/core/marginal_covariance_cholesky.h:50:15: error: ‘unordered_map’ in namespace ‘std’ does not name a type typedef std::unordered_map LookupMap; ^ In file included from /usr/local/include/g2o/solvers/csparse/linear_solver_csparse.h:34:0, from /home/bartoli/Projects/rtabmap/corelib/src/Graph.cpp:48: /usr/local/include/g2o/core/marginal_covariance_cholesky.h:86:7: error: ‘LookupMap’ does not name a type LookupMap _map; ///< hash look up table for the already computed entries ^ In file included from /usr/local/include/g2o/core/base_binary_edge.h:34:0, from /usr/local/include/g2o/types/slam3d/edge_se3.h:4, from /home/bartoli/Projects/rtabmap/corelib/src/Graph.cpp:50: /usr/local/include/g2o/core/robust_kernel.h:74:11: error: ‘shared_ptr’ in namespace ‘std’ does not name a type typedef std::shared_ptr RobustKernelPtr; ^ In file included from /home/bartoli/Projects/rtabmap/corelib/src/../include/rtabmap/core/Link.h:32:0, from /home/bartoli/Projects/rtabmap/corelib/src/../include/rtabmap/core/Graph.h:35, from /home/bartoli/Projects/rtabmap/corelib/src/Graph.cpp:27: /home/bartoli/Projects/rtabmap/corelib/src/Graph.cpp: In member function ‘virtual std::map rtabmap::graph::G2OOptimizer::optimize(int, const std::map&, const std::multimap&, std::list >*)’: /home/bartoli/Projects/rtabmap/corelib/src/Graph.cpp:810:77: error: ‘class g2o::SparseOptimizer’ has no member named ‘vertices’ UDEBUG("iteration %d: %d nodes, %d edges, chi2: %f", i, (int)optimizer.vertices().size(), (int)optimizer.edges().size(), optimizer.chi2()); ^ /home/bartoli/Projects/rtabmap/utilite/include/rtabmap/utilite/ULogger.h:48:89: note: in definition of macro ‘ULOGGER_LOG’ #define ULOGGER_LOG(level, ...) ULogger::write(level, __FILE__, __LINE__, __FUNCTION__, __VA_ARGS__) ^ /home/bartoli/Projects/rtabmap/utilite/include/rtabmap/utilite/ULogger.h:56:23: note: in expansion of macro ‘ULOGGER_DEBUG’ #define UDEBUG(...) ULOGGER_DEBUG(__VA_ARGS__) ^ /home/bartoli/Projects/rtabmap/corelib/src/Graph.cpp:810:6: note: in expansion of macro ‘UDEBUG’ UDEBUG("iteration %d: %d nodes, %d edges, chi2: %f", i, (int)optimizer.vertices().size(), (int)optimizer.edges().size(), optimizer.chi2()); ^ /home/bartoli/Projects/rtabmap/corelib/src/Graph.cpp:819:58: error: ‘class g2o::SparseOptimizer’ has no member named ‘vertices’ UDEBUG("%d nodes, %d edges, chi2: %f", (int)optimizer.vertices().size(), (int)optimizer.edges().size(), optimizer.chi2()); ^ /home/bartoli/Projects/rtabmap/utilite/include/rtabmap/utilite/ULogger.h:48:89: note: in definition of macro ‘ULOGGER_LOG’ #define ULOGGER_LOG(level, ...) ULogger::write(level, __FILE__, __LINE__, __FUNCTION__, __VA_ARGS__) ^ /home/bartoli/Projects/rtabmap/utilite/include/rtabmap/utilite/ULogger.h:56:23: note: in expansion of macro ‘ULOGGER_DEBUG’ #define UDEBUG(...) ULOGGER_DEBUG(__VA_ARGS__) ^ /home/bartoli/Projects/rtabmap/corelib/src/Graph.cpp:819:4: note: in expansion of macro ‘UDEBUG’ UDEBUG("%d nodes, %d edges, chi2: %f", (int)optimizer.vertices().size(), (int)optimizer.edges().size(), optimizer.chi2()); ^ In file included from /usr/local/include/g2o/core/block_solver.h:189:0, from /home/bartoli/Projects/rtabmap/corelib/src/Graph.cpp:43: /usr/local/include/g2o/core/block_solver.hpp: In instantiation of ‘bool g2o::BlockSolver::buildStructure(bool) [with Traits = g2o::BlockSolverTraits<-1, -1>]’: /home/bartoli/Projects/rtabmap/corelib/src/Graph.cpp:1419:1: required from here /usr/local/include/g2o/core/block_solver.hpp:198:5: error: request for member ‘resize’ in ‘schurMatrixLookup->g2o::SparseBlockMatrixHashMap::blockCols >()’, which is of non-class type ‘int’ schurMatrixLookup->blockCols().resize(_Hschur->blockCols().size()); ^ make[2]: *** [corelib/src/CMakeFiles/rtabmap_core.dir/Graph.cpp.o] Error 1 make[1]: *** [corelib/src/CMakeFiles/rtabmap_core.dir/all] Error 2 make: *** [all] Error 2