简体   繁体   中英

Can't run Android OpenCV face detection example

I'm trying to compile and run the OpenCV face detection example but it won't let me. I'm using Linux Mint 17, Eclipse with ADT and NDK installed. I have the gcc, g++, build-essentials packages installed. I'm getting the following errors:

错误

包括

Thanks in advance!

You should compile that stuff for ARM architecture (depending on your device). In principle gcc can do that but it is a little bit of work because your need android ndk , android sdk and android built-tools .

I advice you to start very simple. Having a running empty app that calls a native c++ function. And once this is settled your should proceed to opencv.

Have a look at this. I made it https://github.com/skanti/Android-Manual-Build-Command-Line

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM