android - Gradle building issue -
android - Gradle building issue -
i seek compile project native c-libs , next error
/users/eugene/kref14001/app/src/main/jni/libc/pulsefilter.c: in function 'shapemonogame': /users/eugene/kref14001/app/src/main/jni/libc/pulsefilter.c:696:5: error: 'for' loop initial declarations allowed in c99 mode /users/eugene/kref14001/app/src/main/jni/libc/pulsefilter.c:696:5: note: utilize alternative -std=c99 or -std=gnu99 compile code from study find must utilize alternative -std=c99 or -std=gnu99 compile code, don't know how it. please, help me.
in build.gradle file of app, can add together cflags "-std=c99" in ndk block located within defaultconfig block this:
ndk { modulename "libblur" abifilter "armeabi-v7a" stl "gnustl_static" cflags "-std=c99" ldlibs "log" } android c++ gradle
Comments
Post a Comment