Error while installing libpointmatcher

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

Error while installing libpointmatcher

Masoumeh
Hi mattieu,
I tried to install libpointmatcher: but when i run the command utest/utest --path ${SRC_DIR}/examples/data/   , it shows the following error. how can i solve it?

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 rin make command, and recieve the folloing error:

[ 91%] Building CXX object utest/CMakeFiles/utest.dir/ui/Transformations.cpp.o
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