美文网首页
gstreamer编译记录

gstreamer编译记录

作者: 逝水ly | 来源:发表于2018-01-29 17:45 被阅读0次

    [- invalid linker name -fuse-ld=gold]

    1 https://stackoverflow.com/questions/44650470/android-ndk-linker-gstreamer-invalid-linker-name-fuse-ld-gold

    Fix: you need to change two files per architecture in the GStreamer directory so that the linker gets called as gold.exe and not gold.

    For each architecture you're interested in you need to go to (using arm64 as an example):

    1. path\to\Gstreamer\root\arm64\share\gst-android\ndk-build\gstreamer-1.0.mk and change -fuse-ld=gold to -fuse-ld=gold.exe (it only appears once in the file).

    Now go to:

    1. path\to\Gstreamer\root\arm64\include\gmp.h and change -fuse-ld=gold to -fuse-ld=gold.exe (again, only one occurrence).

    2 https://bugzilla.gnome.org/show_bug.cgi?id=759737

    a workaround is to set

    NDK_TOOLCHAIN_VERSION := 4.9

    in Application.mk, the defaul value is clang, maybe this could be documented until the switch to clang

    相关文章

      网友评论

          本文标题:gstreamer编译记录

          本文链接:https://www.haomeiwen.com/subject/ahqfzxtx.html