【问题标题】:Where is Binder/ProcessState.h located?Binder/ProcessState.h 位于何处?
【发布时间】:2015-10-27 18:30:33
【问题描述】:

我正在尝试使用 libstagefright 构建 IJKmediaplayer。但我遇到了一个错误。

Config.log 说:

arm-linux-androideabi-g++ -D_ISOC99_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -Dstrtod=avpriv_strtod -DPIC -O3 -Wall -pipe -std=c99 -ffast-math -fstrict-aliasing -Werror=strict-aliasing -Wno-psabi -Wa,--noexecstack -DANDROID -DNDEBUG -march=armv7-a -mcpu=cortex-a8 -mfpu=vfpv3-d16 -mfloat-abi=softfp -mthumb -mcpu=cortex-a8 -std=c99 -fPIC -mthumb -pthread -D__STDC_CONSTANT_MACROS -c -o /tmp/ffconf.ofpI5mq2.o /tmp/ffconf.EKPBn1tK.cpp
cc1plus: warning: command line option '-std=c99' is valid for C/ObjC but not for C++ [enabled by default]
cc1plus: warning: command line option '-std=c99' is valid for C/ObjC but not for C++ [enabled by default]
/tmp/ffconf.EKPBn1tK.cpp:1:33: fatal error: binder/ProcessState.h: No such file or directory
 #include <binder/ProcessState.h>
                                 ^
compilation terminated.
ERROR: libstagefright_h264 not found

我正在使用 NDK r10e-rc4(64 位), FFmpeg源码2.7版 和Ubuntu 14 64 bit

需要下载android开源项目吗?

【问题讨论】:

    标签: android ffmpeg android-ndk stagefright


    【解决方案1】:

    binder/ProcessState.h 是 AOSP 的一部分,而不是 NDK。

    【讨论】:

      猜你喜欢
      • 2016-09-30
      • 2016-09-28
      • 2014-08-06
      • 2020-06-09
      • 2019-03-02
      • 2012-08-03
      • 2014-08-10
      • 2023-03-05
      • 1970-01-01
      相关资源
      最近更新 更多