Skip to content
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

Cross-Compilation android help #76

Closed
diophantine86 opened this issue Apr 29, 2016 · 2 comments
Closed

Cross-Compilation android help #76

diophantine86 opened this issue Apr 29, 2016 · 2 comments

Comments

@diophantine86
Copy link

i have used Cross-Complie toolchain to complied pcl ,g2o and opencv.but i donnot know how to complie all the code.where can i change the code to help android-cmake find the lib and include?
thx again~/

@matlabbe matlabbe changed the title plz see comment Cross-Compilation android help Apr 29, 2016
@matlabbe
Copy link
Member

matlabbe commented Apr 29, 2016

I install all dependencies in the same install directory. For example : ~/android_install. So I add -DCMAKE_INSTALL_PREFIX=~/android_install to each cmake compilation (appending this to cmake line of #74 ). When you do that with rtabmap too, cmake should look for dependencies in the directory before /usr or /usr/local.

@matlabbe
Copy link
Member

Added info to #74

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants