Robotics StackExchange | Archived questions

Build error for g2O installation

Iam using Ubuntu 12.0.4 and i need to install g2O for Visual odometry and VSLAM. I got stuck up with the link error below.

Any help on this error issue will be appreciated

*> /usr/bin/ld:

/usr/local/lib/libsuitesparseconfig.a(SuiteSparseconfig.o): undefined reference to symbol 'clockgettime@@GLIBC2.2' /usr/bin/ld: note: 'clockgettime@@GLIBC2.2' is defined in DSO /usr/lib/gcc/i686-linux-gnu/4.6/../../../i386-linux-gnu/librt.so so try adding it to the linker command line /usr/lib/gcc/i686-linux-gnu/4.6/../../../i386-linux-gnu/librt.so: could not read symbols: Invalid operation collect2: ld returned 1 exit status make[2]: *** [../bin/g2oincremental] Error 1 make[1]: *** [g2o/examples/interactiveslam/g2oincremental/CMakeFiles/g2oincrementalapplication.dir/all] Error 2 make: *** [all] Error 2*

Asked by Chidanand on 2015-06-09 10:39:57 UTC

Comments

Answers