[Bug 791854] New: [Android] Unable to build examples using Windows host with 32-bit NDK's
GStreamer (GNOME Bugzilla)
bugzilla at gnome.org
Thu Dec 21 17:40:25 UTC 2017
https://bugzilla.gnome.org/show_bug.cgi?id=791854
Bug ID: 791854
Summary: [Android] Unable to build examples using Windows host
with 32-bit NDK's
Classification: Platform
Product: GStreamer
Version: unspecified
OS: other
Status: NEW
Severity: normal
Priority: Normal
Component: gst-examples
Assignee: gstreamer-bugs at lists.freedesktop.org
Reporter: denis.shienkov at gmail.com
QA Contact: gstreamer-bugs at lists.freedesktop.org
GNOME version: ---
I use:
* Windows 10 x64 as a host.
* Android NDK for windows 16b x86 (32 bit).
* Android SDK for windows v25.2.5.
* Python 2.7.
I have downloaded the Gstreamer's pre-builded SDK for android:
https://gstreamer.freedesktop.org/data/pkg/android/1.12.4/
I have downloaded the Gstreamer tutorials from:
https://github.com/GStreamer/gst-docs.git
Next, need to remove the line #210
" @# android-studio doesn't seem to like line continuation characters when
executing shell commands"
from the file:
..\gstreamer-1.0-android-universal-1.12.4\armv7\share\gst-android\ndk-build\gstreamer-1.0.mk
Now, I try to build the gst-docs\examples\tutorials\android-tutorial-1
from the Windows's command line (cmd.exe):
$ set
PATH=c:\Android\android-ndk-r14b;c:\Android\android-sdk-r24.3.4\tools;c:\Python27;%PATH%
$ set GSTREAMER_ROOT_ANDROID=c:\gstreamer\1.0
$ android update project -p . -s --target android-17
$ ndk-build TARGET_ARCH_ABI=armeabi-v7a
then I got the following error:
"
e:\tests\gst-docs\examples\tutorials\android-tutorial-1>ndk-build
TARGET_ARCH_ABI=armeabi-v7a
"GStreamer : [GEN] => gst-build-armeabi-v7a/gstreamer_android.c"
"GStreamer : [COMPILE] => gst-build-armeabi-v7a/gstreamer_android.c"
process_begin: CreateProcess(NULL,
c:/Android/android-ndk-r14b/build//../toolchains/llvm/prebuilt/windows-x86_64/bin/clang.exe
--sysroot=c:/Android/android-ndk-r14b/build//../platforms/android-17/arch-arm
-gcc-toolchain
c:/Android/android-ndk-r14b/build//../toolchains/arm-linux-androideabi-4.9/prebuilt/windows-x86_64
-fpic -ffunction-sections -funwind-tables -fstack-protector-strong
-Wno-invalid-command-line-argument -Wno-unused-command-line-argument
-no-canonical-prefixes -fno-integrated-as -g -target
armv7-none-linux-androideabi -march=armv7-a -mfloat-abi=softfp -mfpu=vfpv3-d16
-c gst-build-armeabi-v7a/gstreamer_android.c -Wall -Werror -o
gst-build-armeabi-v7a/gstreamer_android.o
-Ic:/gstreamer/1.0/armv7/include/gstreamer-1.0
-Ic:/gstreamer/1.0/armv7/include/glib-2.0
-Ic:/gstreamer/1.0/armv7/lib/glib-2.0/include -Ic:/gstreamer/1.0/armv7/include,
...) failed.
make (e=2): Не удается найти указанный файл.
make: *** [gst-build-armeabi-v7a/gstreamer_android.o] Error 2
"
It can't fins the clang.exe by a path:
c:/Android/android-ndk-r16b/build//../toolchains/llvm/prebuilt/windows-x86_64/bin/clang.exe
In my case this clang.exe is in:
c:\Android\android-ndk-r16b\toolchains\llvm\prebuilt\windows\bin\clang.exe
UPD: Same issue reproduces also with NDK 14b.
UPD2: But with the NDK 15c there are other issue...
--
You are receiving this mail because:
You are the QA Contact for the bug.
You are the assignee for the bug.
More information about the gstreamer-bugs
mailing list