Error building Gstreamer Android App on Windows
Fabs Schmid
fabsimilian at gmail.com
Thu Mar 22 12:20:46 UTC 2018
We're currently trying to build an android app which includes gstreamer.
Building is working fine with gstreamer 1.12.3 but whenever we try to build
it with gstreamer 1.12.4 building aborts with the error:
The command "#" is either misspelled or could not be found
Log:
12:10:21.006 [DEBUG]
[org.gradle.internal.progress.DefaultBuildOperationExecutor] Completing
Build operation 'Run tasks'
12:10:21.007 [ERROR]
[org.gradle.internal.buildevents.BuildExceptionReporter]
12:10:21.007 [ERROR]
[org.gradle.internal.buildevents.BuildExceptionReporter] FAILURE: Build
failed with an exception.
12:10:21.007 [ERROR]
[org.gradle.internal.buildevents.BuildExceptionReporter]
12:10:21.007 [ERROR]
[org.gradle.internal.buildevents.BuildExceptionReporter] * What went wrong:
12:10:21.007 [ERROR]
[org.gradle.internal.buildevents.BuildExceptionReporter] Execution failed
for task ':app:externalNativeBuildFinderDebug'.
12:10:21.007 [ERROR]
[org.gradle.internal.buildevents.BuildExceptionReporter] > Build command
failed.
12:10:21.007 [ERROR]
[org.gradle.internal.buildevents.BuildExceptionReporter] Error while
executing process
C:\Users\{user}\AppData\Local\Android\ndk-r13b\ndk-build.cmd
with arguments {NDK_PROJECT_PATH=null
APP_BUILD_SCRIPT=C:\Projekte\{projectname}\app\src\main\jni\Android.mk
NDK_APPLICATION_MK=C:\Projekte\{projectname}\app\src\
main\jni\Application.mk APP_ABI=arm64-v8a NDK_ALL_ABIS=arm64-v8a
NDK_DEBUG=1 APP_PLATFORM=android-21 NDK_OUT=C:/Projekte/{projectname}
/app/build/intermediates/ndkBuil
d/{project}/debug/obj NDK_LIBS_OUT=C:\Projekte\{projectname}
\app\build\intermediates\ndkBuild\{projec}\debug\lib NDK_PROJECT_PATH=/
NDK_APPLICATION_MK=src/main/jni/Applica
tion.mk GSTREAMER_JAVA_SRC_DIR=src/main/java
GSTREAMER_ROOT_ANDROID=C:\GStreamer GSTREAMER_ASSETS_DIR=src/main/assets
C:/Projekte/{projectname}/app/build/intermediate
s/ndkBuild/{project}/debug/obj/local/arm64-v8a/libs{project}.so}
12:10:21.007 [ERROR]
[org.gradle.internal.buildevents.BuildExceptionReporter] GStreamer :
[GEN] => gst-build-arm64-v8a/gstreamer_android.c
12:10:21.007 [ERROR]
[org.gradle.internal.buildevents.BuildExceptionReporter] The command "#"
is either misspelled or could not be found
12:10:21.007 [ERROR]
[org.gradle.internal.buildevents.BuildExceptionReporter] make: ***
[genstatic_arm64-v8a] Error 1
Any ideas why this isn't working?
And we also have a problem on Mac OSX:
I'm trying to build an android app with gstreamer. Gstreamer Version 1.12.3
and 1.12.4 are working quite fine but I can't compile 1.13.91 nor 1.14.0.
Tried with ndk 12, 13, 15, and 16. There is always an error with the
android-ndk-r16b/toolchains/aarch64-linux-android-4.9/prebuilt/darwin-x86_64/aarch64-linux-android/bin/ld.gold
file '
Error:error:
gstreamer-1.0-android-universal-1.13.91/arm64/lib/libcrypto.a(sha1-armv8.o):
multiple definition of 'sha1_block_data_order
Same with gstreamer 14.0
Br Fabian
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/gstreamer-android/attachments/20180322/c087d7a2/attachment.html>
More information about the gstreamer-android
mailing list