error in installing rtabmap on raspberry pi 3 B+

classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

error in installing rtabmap on raspberry pi 3 B+

heba
HI,
I am trying to install rtabmap on raspberry pi 3 B+ by following the guide  , but i received the following error:

 [ 80%] Linking CXX executable ../../../bin/rtabmap
../../../bin/librtabmap_core.so.0.18.3: undefined reference to `cs_pinv'
../../../bin/librtabmap_core.so.0.18.3: undefined reference to `cs_calloc'
../../../bin/librtabmap_core.so.0.18.3: undefined reference to `cs_etree'
../../../bin/librtabmap_core.so.0.18.3: undefined reference to `cs_symperm'
../../../bin/librtabmap_core.so.0.18.3: undefined reference to `cs_schol'
../../../bin/librtabmap_core.so.0.18.3: undefined reference to `g2o::csparse_extension::writeCs2Octave(char const*, cs_sparse const*, bool)'
../../../bin/librtabmap_core.so.0.18.3: undefined reference to `cs_cumsum'
../../../bin/librtabmap_core.so.0.18.3: undefined reference to `cs_amd'
../../../bin/librtabmap_core.so.0.18.3: undefined reference to `g2o::csparse_extension::cs_chol_workspace(cs_sparse const*, cs_symbolic const*, int*, double*)'
../../../bin/librtabmap_core.so.0.18.3: undefined reference to `cs_free'
../../../bin/librtabmap_core.so.0.18.3: undefined reference to `cs_post'
../../../bin/librtabmap_core.so.0.18.3: undefined reference to `cs_malloc'
../../../bin/librtabmap_core.so.0.18.3: undefined reference to `cs_nfree'
../../../bin/librtabmap_core.so.0.18.3: undefined reference to `cs_spfree'
../../../bin/librtabmap_core.so.0.18.3: undefined reference to `g2o::csparse_extension::cs_cholsolsymb(cs_sparse const*, double*, cs_symbolic const*, double*, int*)'
../../../bin/librtabmap_core.so.0.18.3: undefined reference to `cs_sfree'
../../../bin/librtabmap_core.so.0.18.3: undefined reference to `cs_counts'
collect2: error: ld returned 1 exit status
app/src/CMakeFiles/rtabmap.dir/build.make:469: recipe for target '../bin/rtabmap' failed
make[2]: *** [../bin/rtabmap] Error 1
CMakeFiles/Makefile2:421: recipe for target 'app/src/CMakeFiles/rtabmap.dir/all' failed
make[1]: *** [app/src/CMakeFiles/rtabmap.dir/all] Error 2
Makefile:151: recipe for target 'all' failed
make: *** [all] Error 2

any help will be appreciated.
Thanks,
Heba
Reply | Threaded
Open this post in threaded view
|

Re: error in installing rtabmap on raspberry pi 3 B+

matlabbe
Administrator
There is a similar issue here: https://github.com/introlab/rtabmap/issues/162
What is the output of cmake?
Reply | Threaded
Open this post in threaded view
|

Re: error in installing rtabmap on raspberry pi 3 B+

heba
Thank you so much for your replying.

installing rtabmap completed without any error by using  "sudo apt-get install libsuitesparse-dev"  before installing g2o.

thanks again