hi
if I want to unistall from source, what should i do?? |
Administrator
|
You can go in rtabmap/build, then do "make uninstall".
Otherwise, if the install prefix was /usr/local: rm -r /usr/local/include/rtabmap* rm /usr/local/lib/librtabmap* rm -r /usr/local/lib/rtabmap* rm /usr/local/bin/rtabmap* |
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 |
Administrator
|
Difficult to say, you have other packages built from source. cmake seems broken, I am surprised that CeresConfig.cmake fails. Look at the kinetic docker for reference: https://github.com/introlab/rtabmap/blob/master/docker/xenial/Dockerfile
|
thank you, but i unistalled rtabmap, and now I am in the step that should install libpointmatcher.
but now, when I do masoumeh@masoumeh-ThinkPad-T490s:~/Libraries/libpointmatcher/build$ utest/utest --path ${SRC_DIR}/examples/data/ bash: utest/utest: No such file or directory and then i do make, it shows: In file included from /home/masoumeh/Libraries/libpointmatcher/utest/ui/../utest.h:6:0, from /home/masoumeh/Libraries/libpointmatcher/utest/ui/Transformations.cpp:1: /home/masoumeh/Libraries/libpointmatcher/utest/ui/../../contrib/gtest/gtest.h: In instantiation of ‘void testing::internal::DefaultPrintTo(testing::internal::IsContainer, testing::internal::false_type, const C&, std::ostream*) [with C = Eigen::Matrix<long int, -1, -1>; testing::internal::IsContainer = int; testing::internal::false_type = testing::internal::bool_constant<false>; std::ostream = std::basic_ostream<char>]’: /home/masoumeh/Libraries/libpointmatcher/utest/ui/../../contrib/gtest/gtest.h:9567:17: required from ‘void testing::internal::PrintTo(const T&, std::ostream*) [with T = Eigen::Matrix<long int, -1, -1>; std::ostream = std::basic_ostream<char>]’ /home/masoumeh/Libraries/libpointmatcher/utest/ui/../../contrib/gtest/gtest.h:9791:12: required from ‘static void testing::internal::UniversalPrinter<T>::Print(const T&, std::ostream*) [with T = Eigen::Matrix<long int, -1, -1>; std::ostream = std::basic_ostream<char>]’ /home/masoumeh/Libraries/libpointmatcher/utest/ui/../../contrib/gtest/gtest.h:9947:30: required from ‘void testing::internal::UniversalPrint(const T&, std::ostream*) [with T = Eigen::Matrix<long int, -1, -1>; std::ostream = std::basic_ostream<char>]’ /home/masoumeh/Libraries/libpointmatcher/utest/ui/../../contrib/gtest/gtest.h:9875:19: required from ‘static void testing::internal::UniversalTersePrinter<T>::Print(const T&, std::ostream*) [with T = Eigen::Matrix<long int, -1, -1>; std::ostream = std::basic_ostream<char>]’ /home/masoumeh/Libraries/libpointmatcher/utest/ui/../../contrib/gtest/gtest.h:10040:44: required from ‘std::__cxx11::string testing::PrintToString(const T&) [with T = Eigen::Matrix<long int, -1, -1>; std::__cxx11::string = std::__cxx11::basic_string<char>]’ /home/masoumeh/Libraries/libpointmatcher/utest/ui/../../contrib/gtest/gtest.h:18771:36: required from ‘static std::__cxx11::string testing::internal::FormatForComparison<ToPrint, OtherOperand>::Format(const ToPrint&) [with ToPrint = Eigen::Matrix<long int, -1, -1>; OtherOperand = Eigen::Matrix<long int, -1, -1>; std::__cxx11::string = std::__cxx11::basic_string<char>]’ /home/masoumeh/Libraries/libpointmatcher/utest/ui/../../contrib/gtest/gtest.h:18846:45: required from ‘std::__cxx11::string testing::internal::FormatForComparisonFailureMessage(const T1&, const T2&) [with T1 = Eigen::Matrix<long int, -1, -1>; T2 = Eigen::Matrix<long int, -1, -1>; std::__cxx11::string = std::__cxx11::basic_string<char>]’ /home/masoumeh/Libraries/libpointmatcher/utest/ui/../../contrib/gtest/gtest.h:18871:53: required from ‘testing::AssertionResult testing::internal::CmpHelperEQ(const char*, const char*, const T1&, const T2&) [with T1 = Eigen::Matrix<long int, -1, -1>; T2 = Eigen::Matrix<long int, -1, -1>]’ /home/masoumeh/Libraries/libpointmatcher/utest/ui/../../contrib/gtest/gtest.h:18897:23: required from ‘static testing::AssertionResult testing::internal::EqHelper<lhs_is_null_literal>::Compare(const char*, const char*, const T1&, const T2&) [with T1 = Eigen::Matrix<long int, -1, -1>; T2 = Eigen::Matrix<long int, -1, -1>; bool lhs_is_null_literal = false]’ /home/masoumeh/Libraries/libpointmatcher/utest/ui/Transformations.cpp:62:5: required from here /home/masoumeh/Libraries/libpointmatcher/utest/ui/../../contrib/gtest/gtest.h:9466:35: error: variable or field ‘it’ declared void for (typename C::const_iterator it = container.begin(); ^ utest/CMakeFiles/utest.dir/build.make:159: recipe for target 'utest/CMakeFiles/utest.dir/ui/Transformations.cpp.o' failed make[2]: *** [utest/CMakeFiles/utest.dir/ui/Transformations.cpp.o] Error 1 CMakeFiles/Makefile2:607: recipe for target 'utest/CMakeFiles/utest.dir/all' failed make[1]: *** [utest/CMakeFiles/utest.dir/all] Error 2 Makefile:145: recipe for target 'all' failed make: *** [all] Error 2 it cannot find utest. I have opened another topic related to this issue. |
Free forum by Nabble | Edit this page |