Ubuntu (已解决)在jetson nano上构建isaac SDK示例时出错:JetPack43未在任何.rc文件中定义

Ubuntu (已解决)在jetson nano上构建isaac SDK示例时出错:JetPack43未在任何.rc文件中定义,ubuntu,sdk,nvidia,bazel,Ubuntu,Sdk,Nvidia,Bazel,运行isaac sdk示例脚本()时出错: 错误是: ============================================================= Building Minidump tools Building //apps/tutorials/ping:ping-pkg for target platform 'JetPack43' ============================================================= INF

运行isaac sdk示例脚本()时出错:

错误是:

=============================================================
Building Minidump tools
Building //apps/tutorials/ping:ping-pkg for target platform 'JetPack43'
=============================================================
INFO: Options provided by the client:
  Inherited 'common' options: --isatty=1 --terminal_columns=125
**ERROR: Config value JetPack43 is not defined in any .rc file**
我三次检查了所有rc文件,但都找不到。我试过使用
jetpack43
jetpack42
“jetpack43”
,但没有效果

我遵循了所有的设置步骤,没有任何错误,可以毫无问题地访问ssh,并手动重新安装了bazel。 在PC和jetson nano上运行Ubuntu18.04。Istalled Jetson4.3和bazel 0.19。bazel在user/bin中,纸条在Desktop/isaac/中

文件()中有以下注释:

Bazel需要位于Isaac SDK包中的文件.bazelrc。Ubuntu Linux中的Archive Manager应用程序可能无法提取隐藏文件,从而导致生成错误。如果在构建时看到错误,请确认.bazelrc存在于提取的源中

在bazel安装页面()中:

--user标志将Bazel安装到系统上的$HOME/bin目录,并将.bazelrc路径设置为$HOME/.bazelrc。使用--help命令查看其他安装选项

解决方案

好吧,睡个好觉对我有好处^^ 我终于在这里找到了文件,我是这样做的:

  • (可选)遵循:使用二进制安装程序

  • 使用ctr+H激活显示隐藏文件(隐藏文件为.filename)

  • 转到磁盘原点

  • 搜索bazelrc

  • 查找具有以下代码(775字节位于admin:///home/thoth/.local/share/Trash/files/isaac-sdk-20191213-65ec14db):

  • 复制文件

  • 将文件粘贴到/home/thoth/.bazel/bin中/

  • 运行终端:
    sudo./engine/build/deploy.sh——远程用户thoth-p//apps/tutorials/ping:ping-pkg-d jetpack43-h 192.168.0.14——运行

  • 喝杯咖啡,因为第一次构建需要时间;)

  • 享受

=============================================================
Building Minidump tools
Building //apps/tutorials/ping:ping-pkg for target platform 'JetPack43'
=============================================================
INFO: Options provided by the client:
  Inherited 'common' options: --isatty=1 --terminal_columns=125
**ERROR: Config value JetPack43 is not defined in any .rc file**
build --keep_going --color=yes -c opt --crosstool_top=@toolchain//crosstool:toolchain

build --define=target_platform=x86_64 --strip=always
build --action_env=target_platform="x86_64"
build:x86_64 --define=target_platform=x86_64 --strip=always
build:x86_64 --action_env=target_platform="x86_64"

build:jetpack43 --cpu=arm64-v8a --strip=always
build:jetpack43 --define=target_platform=jetpack43
build:jetpack43 --action_env=target_platform="jetpack43"

test --test_output=errors --keep_going --color=yes -c opt
test --test_tag_filters=-lint

build --python_top=//engine/build:python3
test --python_top=//engine/build:python3
run --python_top=//engine/build:python3

test:lint --build_tests_only
test:lint --test_tag_filters=lint
test:lint --python_top=//engine/build:python27