DRAKE_RESOURCE_ROOT 在 Drake Docker 中未设置
DRAKE_RESOURCE_ROOT is unset in Drake Docker
我收到错误:
because no resource roots of any kind could be found: DRAKE_RESOURCE_ROOT is unset, a bazel::tools::cpp::runfiles::Runfiles could not be created, and there is no Drake CMake install marker.Aborted (core dumped)
修复如下。
解决方法是在bashrc文件中永久添加DRAKE_RESOURCE_ROOT。
echo "export DRAKE_RESOURCE_ROOT=/" >> ~/.bashrc
记得提交容器以使更改持久化。
docker commit <container id> <container tag>
在不是 运行 docker.
的不同终端上
我收到错误:
because no resource roots of any kind could be found: DRAKE_RESOURCE_ROOT is unset, a bazel::tools::cpp::runfiles::Runfiles could not be created, and there is no Drake CMake install marker.Aborted (core dumped)
修复如下。
解决方法是在bashrc文件中永久添加DRAKE_RESOURCE_ROOT。
echo "export DRAKE_RESOURCE_ROOT=/" >> ~/.bashrc
记得提交容器以使更改持久化。
docker commit <container id> <container tag>
在不是 运行 docker.