0

我得到错误:

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)

修复如下。

4

1 回答 1

0

解决方案是将 DRAKE_RESOURCE_ROOT 永久添加到 bashrc 文件中。

echo "export DRAKE_RESOURCE_ROOT=/" >> ~/.bashrc

请记住提交容器以使更改持久化。

docker commit <container id> <container tag>在未运行 docker 的不同终端上。

于 2019-11-22T11:43:27.493 回答