Navigation

    全志在线开发者论坛

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

    V853怎么交叉编译OpenCV

    V Series
    5
    8
    2495
    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.
    • H
      H2631436132 LV 5 last edited by

      1ab25b2e-33d8-4b5a-aa29-b58b1fa1d394-image.png

      没有工具链
      riscv64-unknown-linux-gnu-gcc和riscv64-unknown-linux-gnu-c++

      whycan 1 Reply Last reply Reply Quote Share 0
      • whycan
        whycan晕哥 LV 9 @H2631436132 last edited by

        @h2631436132

        如果确实编译不过,试一试曲线救锅,用buildroot,选外部工具链(extern toolchain),用V853 SDK里面的gcc,编译出来复制到tina里面即可.

        参考这个帖子: 如何配置buildroot用外部编译器?

        L 2 Replies Last reply Reply Quote Share 0
        • L
          lingzhi12321 LV 5 @whycan last edited by

          @whycan 晕哥你好,官方服务平台上下载的SDK,openwrt编译不通过,log如下。也可以这样做吗?98ceadb9-aa05-4982-9e19-0d864f77fd85-image.png
          fa58aaeb-5cc5-47d5-a555-ce097e2ffdde-image.png

          whycan H 2 Replies Last reply Reply Quote Share 0
          • whycan
            whycan晕哥 LV 9 @lingzhi12321 last edited by

            @lingzhi12321
            不要用root用户编译。

            1 Reply Last reply Reply Quote Share 0
            • H
              huxianfei LV 1 @lingzhi12321 last edited by

              @lingzhi12321 在 V853怎么交叉编译OpenCV 中说:

              官方服务平台上下载的SDK,openwrt编译不通过,log如

              这个错误我也出现过,用root编译会出现
              root用户,需执行 export FORCE_UNSAFE_CONFIGURE=1,再重新编译可解决

              L 1 Reply Last reply Reply Quote Share 0
              • L
                lingzhi12321 LV 5 @huxianfei last edited by

                @huxianfei 知道了,谢谢!

                1 Reply Last reply Reply Quote Share 0
                • L
                  lingzhi12321 LV 5 @whycan last edited by

                  @whycan V853怎样启动这个界面?make menuconfig启动的是openwrt configuration界面
                  4bd88b27-7a06-4192-bd7f-31b97a26a7f8-image.png

                  M 1 Reply Last reply Reply Quote Share 0
                  • M
                    mysteryli LV 7 @lingzhi12321 last edited by

                    @lingzhi12321 在 V853怎么交叉编译OpenCV 中说:

                    @whycan V853怎样启动这个界面?make menuconfig启动的是openwrt configuration界面
                    4bd88b27-7a06-4192-bd7f-31b97a26a7f8-image.png

                    没用buildroot的文件系统,用的openwrt的文件系统 应该没这个界面吧

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

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

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