添加原生支持的GStreamer教程将无法完成 [英] Adding Native support to gstreamer tutorial won't finish
问题描述
我跟随这名:
http://docs.gstreamer.com/display/GstSDK/Installing+for个Android +开发
我使用的是Windows 86 ADT捆绑,在Windows 86 r9d NDK和GStreamer的SDK链接到介绍中。
I'm using the Windows x86 ADT bundle, the Windows x86 r9d NDK, and the Gstreamer SDK linked to in the guide.
我是能够得到第一个教程添加原生支持,构建和运行。然后我尝试了3次教程和Eclipse变得反应迟钝。同样的事情发生在第二个教程。我离开它做过来的情况下,它只是花了很长时间的周末。当我改变什么了另一个尝试,我完全删除教程文件夹,并从zip文件使用一个新的副本。我也完全删除ADT包和从头开始了。
如果我取消,我都有缺失进口com.gstreamer.GStreamer预期生成错误;
该GSTREAMER_SDK_ROOT_ANDROID值设定为C:/ gstreamer的
NDK的位置为C:\\ Android的NDK-r8d
I was able to get the first tutorial to add native support, build, and run. Then I tried the 3rd tutorial, and Eclipse becomes unresponsive. Same thing happened with the 2nd tutorial. I left it to do it over the weekend in case it just took a long time. When I change anything for another attempt I delete the tutorial folder completely and use a fresh copy from the zip file. I have also remove the ADT bundle completely and started over from scratch.
If I cancel, I have the expected build errors of missing import com.gstreamer.GStreamer;
The GSTREAMER_SDK_ROOT_ANDROID value is set to C:/gstreamer
The NDK Location is C:\android-ndk-r8d
我转向使用r8d作为推荐:<一href=\"https://stackoverflow.com/questions/16077836/adding-gstreamer-support-to-an-android-ndk-project\">Adding到Android NDK项目的GStreamer支持
I switched to using r8d as recommended in: Adding Gstreamer support to an android NDK project
一个意见还建议增加了gstreamer.mk文件:
One comment also suggests adding to the gstreamer.mk file:
IFNDEF SYSROOT
SYSROOT:= $(NDK_PLATFORMS_ROOT)/ $(TARGET_PLATFORM)/弓 - $(TARGET_ARCH)
ENDIF
我尝试这一点,但有可能使用,而不是gstreamer_ prebuilt.mk文件。
ifndef SYSROOT
SYSROOT := $(NDK_PLATFORMS_ROOT)/$(TARGET_PLATFORM)/arch-$(TARGET_ARCH)
endif
I attempted this but there is a gstreamer_prebuilt.mk file it may be using instead.
我唯一的线索就是教程1不使用的GStreamer插件和教程不工作使用的插件。
My only clue is that Tutorial 1 does not use gstreamer plugins and the tutorials that do not work use plugins.
感谢您的帮助,你可以给。
Thank you for any help you can give.
编辑:我尝试使用Android的NDK-R7C还结果
然后,我删除了ADT包,并试图将使用现有的IDE的路线,同样的结果。
我要去尝试不同的机器,也看能不能编译它不偏食,但我很想听听你对什么事情的任何猜测。
I tried using android-ndk-r7c also.
Then I deleted the ADT bundle and tried going the "Use an existing IDE" route, same result.
I'm going to try a different machine, and also see if I can compile it without eclipse, but I would love to hear any guess on what's going on.
EDIT2:我看了别人的YouTube视频设置此功能(只要我可以告诉他补充说NDK的手动添加构建程序,并指向NDK-build.cmd文件):
I watched a youtube video of someone setting this up (as far as I can tell he adds the NDK manually adding a build program and pointing to the ndk-build.cmd file):
https://www.youtube.com/watch?v=nKfAELFdf9A
这似乎工作,但我仍然失踪进口com.gstreamer.GStreamer;
所以我关闭了教程二期工程,建成并运行教程1,再次打开教程2 ,清理,制造和它跑了。
This seemed to work but I was still missing import com.gstreamer.GStreamer;
so I closed the tutorial 2 project, built and ran tutorial 1, opened tutorial 2 again, cleaned, built, and it ran.
问题解决了。
推荐答案
我看着别人的YouTube视频设置此功能(只要我可以告诉他补充说NDK的手动添加构建程序,并指向NDK的构建.cmd文件):
I watched a youtube video of someone setting this up (as far as I can tell he adds the NDK manually adding a build program and pointing to the ndk-build.cmd file):
https://www.youtube.com/watch?v=nKfAELFdf9A
这似乎工作,但我仍然失踪进口com.gstreamer.GStreamer;所以我关闭了教程二期工程,建成并运行教程1,再次打开教程2,清洗,建成,它跑了。
This seemed to work but I was still missing import com.gstreamer.GStreamer; so I closed the tutorial 2 project, built and ran tutorial 1, opened tutorial 2 again, cleaned, built, and it ran.
问题解决了。
这篇关于添加原生支持的GStreamer教程将无法完成的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!