ubuntu 在jetson nano上构建isaac SDK示例时出错:JetPack43未在任何.rc文件中定义

b4lqfgs4  于 8个月前  发布在  其他
关注(0)|答案(1)|浏览(74)

运行isaac sdk示例脚本(https://docs.nvidia.com/isaac/isaac/doc/tutorials/nano.html)时出现错误:

sudo ./engine/build/deploy.sh --remote_user thoth -p //apps/tutorials/ping:ping-pkg -d 'JetPack43' -h 192.168.0.14 --run

字符串
错误是:

=============================================================
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文件,但找不到任何。我尝试与jetpack43jetpack42'jetpack43',没有工作。
我按照所有的安装步骤没有任何错误,可以访问ssh没有问题,并重新安装bazel手动。运行ubuntu 18.04在PC和jetson纳米。Istalled Jetson4.3和bazel 0.19。bazel是在用户/bin和脚本是在桌面/isaac/。
在文档(https://docs.nvidia.com/isaac/isaac/doc/setup.html)中有以下注解:
Bazel需要文件.bazelrc,位于Isaac SDK包中。Ubuntu Linux中的Archive Manager应用程序可能无法提取隐藏文件,从而导致构建错误。如果您在构建时看到错误,请确认.bazelrc存在于提取的源中。
在bazel安装页面(https://docs.bazel.build/versions/master/install-ubuntu.html)中:
--user标志将Bazel安装到系统上的$HOME/bin目录,并将.bazelrc路径设置为$HOME/. bazelrc。使用--help命令查看其他安装选项。

uwopmtnx

uwopmtnx1#

解决方案:
我终于找到了这里的文件是我怎么做的:
(可选)遵循:使用二进制安装程序https://docs.bazel.build/versions/master/install-ubuntu.html
使用ctr + H激活显示隐藏文件(隐藏文件为.filename)
转到磁盘原点
搜索.bazelrc
找到一个具有以下代码(775字节位于admin:/home/thoth/.local/share/Trash/files/isaac-sdk-20191213- 65 ec 14 db):

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

字符串
将文件复制
将文件粘贴到/home/thoth/.bazel/bin/
在终端运行:sudo ./engine/build/deploy.sh--remote_user thoth -p //apps/tutorials/ping:ping-pkg -d jetpack43 -h 192.168.0.14--run
第一次买咖啡是因为要花时间;)
享受

相关问题