Re: unistall rtabmap from source

Posted by Masoumeh on
URL: http://official-rtab-map-forum.206.s1.nabble.com/unistall-rtabmap-from-source-tp8036p8040.html

i really get stuck and dont know what should i do:((
from one side if i want to do rtabmap update i face this error when running "make" command:

masoumeh@masoumeh-ThinkPad-T490s:~/rtabmap$ git pull origin master
From https://github.com/introlab/rtabmap
 * branch            master     -> FETCH_HEAD
Already up-to-date.
masoumeh@masoumeh-ThinkPad-T490s:~/rtabmap$ cd build
masoumeh@masoumeh-ThinkPad-T490s:~/rtabmap/build$ make
make: *** No targets specified and no makefile found. Stop.


then i go to do reinstall rtabmap, but when I run "cmake ..  " , it shows the following error:

CMake Warning (dev) at /usr/local/share/cmake-3.20/Modules/FindBoost.cmake:1480 (if):
  Policy CMP0054 is not set: Only interpret if() arguments as variables or
  keywords when unquoted.  Run "cmake --help-policy CMP0054" for policy
  details.  Use the cmake_policy command to set the policy and suppress this
  warning.

  Quoted variables like "chrono" will no longer be dereferenced when the
  policy is set to NEW.  Since the policy is not set the OLD behavior will be
  used.
Call Stack (most recent call first):
  /usr/local/share/cmake-3.20/Modules/FindBoost.cmake:2086 (_Boost_MISSING_DEPENDENCIES)
  /home/masoumeh/libpointmatcherConfig.cmake:10 (find_package)
  CMakeLists.txt:460 (find_package)
This warning is for project developers.  Use -Wno-dev to suppress it.

-- Found Boost: /usr/include (found version "1.58.0") found components: thread filesystem system program_options date_time chrono chrono atomic
CMake Error at /home/masoumeh/libpointmatcherConfig.cmake:13 (include):
  include could not find requested file:

    /home/masoumeh/yaml-cpp-pm-targets.cmake
Call Stack (most recent call first):
  CMakeLists.txt:460 (find_package)


-- Found libpointmatcher: /home/masoumeh/eigen;/home/masoumeh/Libraries/libpointmatcher/contrib/yaml-cpp-pm/include
-- Found Boost: /usr/include (found version "1.58.0") found components: thread filesystem system program_options date_time chrono atomic
-- Found Boost: /usr/include (found version "1.58.0") found components: thread filesystem system program_options date_time chrono timer chrono atomic
chrono
-- Found RealSense: /opt/ros/kinetic/include
-- Found octomap 1.8.1: /opt/ros/kinetic/include
CMake Error at /usr/lib/cmake/ceres/CeresConfig.cmake:89 (else):
  Flow control statements are not properly nested.
Call Stack (most recent call first):
  CMakeLists.txt:634 (FIND_PACKAGE)


CMake Error at CMakeLists.txt:634 (FIND_PACKAGE):
  FIND_PACKAGE Error reading CMake code from
  "/usr/lib/cmake/ceres/CeresConfig.cmake".


-- Configuring incomplete, errors occurred!
See also "/home/masoumeh/rtabmap/build/CMakeFiles/CMakeOutput.log".
See also "/home/masoumeh/rtabmap/build/CMakeFiles/CMakeError.log".

it makes an error from ceres file, i donot know, which instruction  should follow to be able to install ceres.

I really get stuck:((((
Kindly please help me