RV1126_RV1109开发板SDK包编译问题

  • Post author:
  • Post category:其他



RV1126_RV1109开发板的编译问题


基于ubuntu16.04进行buildroot的编译,按照SDK包一直出现错误,参考https://gitee.com/owlvisiontech/owlvtech-patch-rv1126/wikis先下载开发板的补丁目录到rockdev,下载完成后发现文件不全,然后用sudo ./build.sh在其中会出现Anaconda的except未安装,在安装时出现

Collecting package metadata (current_repodata.json): failed

CondaHTTPError: HTTP 000 CONNECTION FAILED for url <https://conda.anaconda.org/r/win-64/current_repodata.json>
Elapsed: -

An HTTP error occurred when trying to retrieve this URL.
HTTP errors are often intermittent, and a simple retry will get you on your way.
ConnectTimeout(MaxRetryError("HTTPSConnectionPool(host='conda.anaconda.org', port=443): Max retries exceeded with url: /r/win-64/current_repodata.json (Caused by ConnectTimeoutError(<urllib3.connection.VerifiedHTTPSConnection object at 0x0000022C29EBEB48>, 'Connection to conda.anaconda.org timed out. (connect timeout=9.15)'))"))

在这里打开 ~/.condarc 文件,将

channels:
  - default
show_channel_urls: flase

改为

channels:
  - https://mirrors.ustc.edu.cn/anaconda/pkgs/free/
  - https://mirrors.tuna.tsinghua.edu.cn/anaconda/cloud/conda-forge/
  - https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/free/
show_channel_urls: true

然后直接进行sudo apt install export即可,完成后直接编译./build.sh,第一次编译时间比较久,耐心等待即可。