saki4510t / UVCCamera

library and sample to access to UVC web camera on non-rooted Android device
3.02k stars 1.21k forks source link

NDK 19 error #456

Open gryphon2411 opened 5 years ago

gryphon2411 commented 5 years ago

After cloning the repository, according to #358 comment I replaced:

APP_ABI := armeabi armeabi-v7a x86 mips

with:

APP_ABI := all

According to #181 comment I additionally tried to use NDK_TOOLCHAIN_VERSION := 4.9 in each of the following NDK's.

NDK 19 - didn't work

Errors:

NDK 18 - didn't work

Errors (same as NDK 19):

NDK 17 - work

Erros:

When using NDK_TOOLCHAIN_VERSION := 4.9, the video worked, with the following warning:

Android NDK: WARNING: Deprecated NDK_TOOLCHAIN_VERSION 
value: 4.9. GCC is no longer supported and will be removed in the next release. 
See https://android.googlesource.com/platform/ndk/+/master/docs/ClangMigration.md.    
tutelarix commented 5 years ago

@Eido95 Big thanks. It also helped me.

mkrupczak3 commented 4 years ago

👍

mkrupczak3 commented 4 years ago

Shame on the Goog for not supporting GCC

mkrupczak3 commented 4 years ago

For a related issue with a different app, I tried to migrate with [these instructions] (https://android.googlesource.com/platform/ndk/+/master/docs/ClangMigration.md), but encountered a build error

I downloaded the ndk v17c from here and everything worked fine I think