Deepin编译ijkplayer不成功
Tofloor
poster avatar
specter
deepin
2019-06-16 06:23
Author
Deepin:15.10.1
Ubuntu:18.04

使用deepin编译ijkplayer不成功,Ubuntu18.04没问题。
在编译ffmpeg的时候出问题:
  • compile ffmpeg
    --------------------
    In file included from ./libavutil/internal.h:42:0,
                     from ./libavutil/common.h:467,
                     from ./libavutil/avutil.h:296,
                     from ./libavutil/avassert.h:31,
                     from libavfilter/aeval.c:26:
    ./libavutil/timer.h:38:31: fatal error: linux/perf_event.h: No such file or directory
    # include
                                   ^
    compilation terminated.
    make: *** [libavfilter/aeval.o] Error 1


  • Reply Favorite View the author
    All Replies
    avatar
    p0bs
    deepin
    2019-06-16 12:30
    #1
    这个具体问题应该google的。可以看到很多人都遇到过这个问题,ijkplayer的github里也有讨论,实际上ubuntu16.04 和18.04同样也有遇到的,解决方法基本就是里面给的disable linux perf那个。不过我觉得你也可以尝试定位一下这个文件属于哪个包,然后安装一下试试。
    Reply View the author
    Comments
    berners
    2019-06-16 18:52
    中国哪里用得了google。。。
    avatar
    specter
    deepin
    2019-06-16 16:04
    #2
    https://bbs.deepin.org/post/179306
    这个具体问题应该google的。可以看到很多人都遇到过这个问题,ijkplayer的github里也有讨论,实际上ubuntu1 ...

    这个问题解决了。。。又出新的问题 。编译完全通过了。就是最后没在ijk文件夹下生成的so文件。居然也没报错,没报错。。。。
    Reply View the author
    avatar
    specter
    deepin
    2019-06-16 16:05
    #3
    https://bbs.deepin.org/post/179306
    这个具体问题应该google的。可以看到很多人都遇到过这个问题,ijkplayer的github里也有讨论,实际上ubuntu1 ...

    这个问题解决了。。。又出新的问题 。编译完全通过了。就是最后没在ijk文件夹下生成的so文件。居然也没报错,没报错。。。。
    Reply View the author