Navigation

    全志在线开发者论坛

    • Register
    • Login
    • Search
    • Categories
    • Tags
    • 在线文档
    • 社区主页

    请问D1 SDK 的gstreamer默认可以编译成功?

    MR Series
    3
    3
    2245
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • M
      memory LV 7 last edited by

      69c03793-8068-4425-a7f9-1bfd229229a4-79f7edf9aae66ddcd81e7ba6696269e.png

      cc1: warning: /opt/D1/prebuilt/gcc/linux-x86/riscv/toolchain-thead-glibc/riscv64-glibc-gcc-thead_20200702/usr/include: No suc                       h file or directory [-Wmissing-include-dirs]
        CC       libgstomx_la-gstomxmjpegenc.lo
      cc1: warning: /opt/D1/prebuilt/gcc/linux-x86/riscv/toolchain-thead-glibc/riscv64-glibc-gcc-thead_20200702/usr/include: No suc                       h file or directory [-Wmissing-include-dirs]
      gstomxmjpegenc.c: In function 'gst_omx_mjpeg_enc_class_init':
      gstomxmjpegenc.c:57:3: warning: implicit declaration of function 'printf' [-Wimplicit-function-declaration]
         printf("mjpeg class init!\n");
         ^~~~~~
      gstomxmjpegenc.c:57:3: warning: incompatible implicit declaration of built-in function 'printf'
      gstomxmjpegenc.c:57:3: note: include '<stdio.h>' or provide a declaration of 'printf'
      gstomxmjpegenc.c:28:1:
      +#include <stdio.h>
      
      gstomxmjpegenc.c:57:3:
         printf("mjpeg class init!\n");
         ^~~~~~
      gstomxmjpegenc.c: In function 'gst_omx_mjpeg_enc_set_format':
      gstomxmjpegenc.c:111:19: warning: variable 's' set but not used [-Wunused-but-set-variable]
           GstStructure *s;
                         ^
      gstomxmjpegenc.c:144:1: warning: label 'unsupported_level' defined but not used [-Wunused-label]
       unsupported_level:
       ^~~~~~~~~~~~~~~~~
      gstomxmjpegenc.c:139:1: warning: label 'unsupported_profile' defined but not used [-Wunused-label]
       unsupported_profile:
       ^~~~~~~~~~~~~~~~~~~
      gstomxmjpegenc.c: In function 'gst_omx_mjpeg_enc_get_caps':
      gstomxmjpegenc.c:158:18: warning: unused variable 'level' [-Wunused-variable]
         guint profile, level;
                        ^~~~~
      gstomxmjpegenc.c:158:9: warning: unused variable 'profile' [-Wunused-variable]
         guint profile, level;
               ^~~~~~~
        CCLD     libgstomx.la
      gcc: error: unrecognized argument in option '-mcmodel=medany'
      gcc: note: valid arguments to '-mcmodel=' are: 32 kernel large medium small; did you mean 'medium'?
      gcc: error: unrecognized argument in option '-mabi=lp64d'
      gcc: note: valid arguments to '-mabi=' are: ms sysv
      Makefile:724: recipe for target 'libgstomx.la' failed
      make[6]: *** [libgstomx.la] Error 1
      make[6]: Leaving directory '/opt/D1/out/d1-nezha/compile_dir/target/gst-omx-1.16.3/omx'
      Makefile:527: recipe for target 'all-recursive' failed
      make[5]: *** [all-recursive] Error 1
      make[5]: Leaving directory '/opt/D1/out/d1-nezha/compile_dir/target/gst-omx-1.16.3'
      Makefile:459: recipe for target 'all' failed
      make[4]: *** [all] Error 2
      make[4]: Leaving directory '/opt/D1/out/d1-nezha/compile_dir/target/gst-omx-1.16.3'
      Makefile:109: recipe for target '/opt/D1/out/d1-nezha/compile_dir/target/gst-omx-1.16.3/.built' failed
      make[3]: *** [/opt/D1/out/d1-nezha/compile_dir/target/gst-omx-1.16.3/.built] Error 2
      make[3]: Leaving directory '/opt/D1/package/multimedia/gst1-omx'
      package/Makefile:192: recipe for target 'package/multimedia/gst1-omx/compile' failed
      make[2]: *** [package/multimedia/gst1-omx/compile] Error 2
      make[2]: Leaving directory '/opt/D1'
      package/Makefile:189: recipe for target '/opt/D1/out/d1-nezha/staging_dir/target/stamp/.package_compile' failed
      make[1]: *** [/opt/D1/out/d1-nezha/staging_dir/target/stamp/.package_compile] Error 2
      make[1]: Leaving directory '/opt/D1'
      /opt/D1/build/toplevel.mk:304: recipe for target 'world' failed
      make: *** [world] Error 2
      [1]+  Done                    $T/tools/build/buildserver --path $T
      
      #### make failed to build some targets (12:02 (mm:ss)) ####
      
      

      6e3a7ffb-a55c-4dfc-893b-77fa481151f3-image.png
      随便勾选了几个而已

      H U 2 Replies Last reply Reply Quote Share 0
      • H
        houxiaoni LV 5 @memory last edited by

        @memory Allwinner > Select cedarx configuration options > Add for openmax support 选上试一下

        1 Reply Last reply Reply Quote Share 0
        • U
          Uccccc LV 4 @memory last edited by

          @memory 大佬麻烦问一下解决这个问题了吗

          1 Reply Last reply Reply Quote Share 0
          • 1 / 1
          • First post
            Last post

          Copyright © 2024 深圳全志在线有限公司 粤ICP备2021084185号 粤公网安备44030502007680号

          行为准则 | 用户协议 | 隐私权政策