Build error for g2O installation [closed]

asked 2015-06-09 10:39:57 -0500

Chidanand gravatar image

updated 2015-08-18 01:33:48 -0500

ahendrix gravatar image

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(SuiteSparse_config.o): undefined reference to symbol 'clock_gettime@@GLIBC_2.2' /usr/bin/ld: note: 'clock_gettime@@GLIBC_2.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/g2o_incremental] Error 1 make[1]: [g2o/examples/interactive_slam/g2o_incremental/CMakeFiles/g2o_incremental_application.dir/all] Error 2 make: ** [all] Error 2*

edit retag flag offensive reopen merge delete

Closed for the following reason question is not relevant or outdated by tfoote
close date 2018-01-30 22:04:40.509685