-
Notifications
You must be signed in to change notification settings - Fork 788
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Project Tango Compilation #90
Comments
I would need to make this step automatic for easier compilation. If you don't have rtabmap already built for the host computer, you have to build it using standard instructions for the host to get cheers |
OK I'll give it a shot, thanks for your quick reply! |
@matlabbe Thanks `[ 79%] Building CXX object app/android/jni/CMakeFiles/NativeRTABMap.dir/RTABMapApp.cpp.o |
Locate to 2 errors, Any ideas for this 2 lines? |
Update: |
For the first error, it may be fixed with the above c++11 commit. |
The second commit would fix the second error. cheers |
Hi @matlabbe |
@zhngling123 Are you using PCL1.7 ? |
@willdzeng |
try use 1.7 |
After try pcl 1.7.2, it seems that multiple definition gone. But undefined reference to 'pcl::io::ply::ply_parser::parse(std::string const&)' is still. Linking CXX executable ../../../bin/rtabmap-bow_mapping |
Hi Mathieu, ../../../../lib/librtabmap_core.a(util3d_registration.cpp.o):util3d_registration.cpp:vtable for pcl::registration::CorrespondenceEstimationBase<pcl::PointNormal, pcl::PointNormal, float>: error: undefined reference to 'pcl::PCLBasepcl::PointNormal::setIndices(unsigned int, unsigned int, unsigned int, unsigned int)' |
The Tango app is built with PCL 1.7.2 on my computer. For pcl_remove_duplicate_libraries(PCL_LIBRARIES PCL_DEDUP_LIBRARIES)
set(PCL_LIBRARIES ${PCL_DEDUP_LIBRARIES})
+ set(PCL_LIBRARIES ${PCL_LIBRARIES} /Users/mathieu/Documents/workspace/android_libs/install/lib/libpcl_io_ply.a)
# Add 3rd party libraries, as user code might include our .HPP implementations
list(APPEND PCL_LIBRARIES ${BOOST_LIBRARIES} ${QHULL_LIBRARIES} ${OPENNI_LIBRARIES} ${OPENNI2_LIBRARIES} ${FLANN_LIBRARIES} ${VTK_LIBRARIES}) This is not related to the error, but I also I added writing OBJ/PLY optimizations from this pull request. cheers |
Closed by this post: #74 (comment) |
Hi Mathieu,
I'm trying to compile rtabmap using the standalone toolchain from android-ndk-r12.
I have been following your recommendations using Code Works from a previous post. I'm getting the following message and I'm not sure how to address it. I can't find that res_tool anywhere.
Any suggestion? Thanks in advance!
CMake Error at corelib/src/CMakeLists.txt:263 (MESSAGE):
RTABMAP_RES_TOOL is not defined (it is the path to "rtabmap-res_tool"
application created by a non-Android build).
The text was updated successfully, but these errors were encountered: