Open jje8910 opened 8 years ago
Now I succeed the compile for rtabmap but when I try "cmake .." in app/android, the below error occurs.
"CMake Error at src/CMakeLists.txt:11 (QT5_WRAP_CPP): Unknown CMake command "QT5_WRAP_CPP"."
You cannot do that. The android app should be cross-compiled, so all the app/android branch is ignored in the standard build.
Building for android is not easy, I cannot help more than what is it written in this issue: https://github.com/introlab/rtabmap/issues/74
cheers, Mathieu
Hi, I want to run rtabmap in my Ubuntu. I follow the guid, cmake .. succeed, but when I try "make -j4" it throw an error like below. /path/rtabmap/utilite/src/ULogger.cpp: In static member function ‘static void ULogger::unregisterCurrentThread()’: /path/rtabmap/utilite/src/ULogger.cpp:235:9: error: no match for ‘operator=’ (operand types are ‘std::map<std::basic_string, long unsigned int>::iterator {aka std::_Rb_tree_iterator<std::pair<const std::basicstring, long unsigned int> >}’ and ‘void’)
iter = registeredThreads .erase(iter);
^
/path/rtabmap/utilite/src/ULogger.cpp:235:9: note: candidate is:
In file included from /usr/include/c++/4.8/map:60:0,
from /path/rtabmap/utilite/src/../include/rtabmap/utilite/ULogger.h:34,
from /path/rtabmap/utilite/src/ULogger.cpp:20:
/usr/include/c++/4.8/bits/stl_tree.h:157:12: note: std::_Rb_tree_iterator<std::pair<const std::basic_string, long unsigned int> >& std::_Rb_tree_iterator<std::pair<const std::basic_string, long unsigned int> >::operator=(const std::_Rb_tree_iterator<std::pair<const std::basic_string, long unsigned int> >&)
struct _Rb_tree_iterator
^
/usr/include/c++/4.8/bits/stl_tree.h:157:12: note: no known conversion for argument 1 from ‘void’ to ‘const std::_Rb_tree_iterator<std::pair<const std::basic_string, long unsigned int> >&’
Could you give me a guide?