Unable to build GStreamer for Android Tutorials

后端 未结 6 1318
南旧
南旧 2021-01-05 09:14

I\'m running into a number of issues attempting to build the GStreamer Android tutorials.

My environment is:

  • Mac OS X 7
  • Android SDK version 17
6条回答
  •  半阙折子戏
    2021-01-05 09:41

    I posted the above question on the GStreamer Android mailing list and got the following response:

    Hi, Unfortunately we forgot to include pkg-config in this release for Mac OS X. You can download it from here: http://macpkg.sourceforge.net/

    I used homebrew to install pkg-config and was able to build all of the Android Tutorials via the command line using ndk-build.

    I still have a number of issues in Eclipse:

    1. * GSTREAMER_SDK_ROOT_ANDROID is not defined! - I can not get Eclipse to pick up this variable
    2. If I hard code the variable into the make file I then get /bin/sh: pkg-config: command not found - pkg-config is installed and working via the CLI

    I believe some of the issues are related to Android Issue 33788 and I have attempted to resolve them using CDT 8.0.2 instead of CDT 8.10 but it did not solve either of the above issues.

    I have worked around the problem for now by doing the following:

    1. Disabled CDT building for my project
    2. Building the NDK code using the CLI ndk-build
    3. Building and deploying the application to my device via Eclipse as normal

提交回复
热议问题