drake - 从源代码构建错误: missing input file 'external/net_sf_jchart2d/jar/jchart2d.jar'

标签 drake

我尝试使用 bazel 从源代码构建 drake1.0.0。但是我遇到以下错误:

ERROR: /home/chenwang/drake-build/_bazel_chenwang/bcff9e14963ec4b6ed21d9b7e9e180fc/external/net_sf_jchart2d/jar/BUILD.bazel:2:12: Extracting interface @net_sf_jchart2d//jar:jar failed: missing input file 'external/net_sf_jchart2d/jar/jchart2d.jar', owner: '@net_sf_jchart2d//jar:jchart2d.jar'
ERROR: /home/chenwang/drake-build/_bazel_chenwang/bcff9e14963ec4b6ed21d9b7e9e180fc/external/net_sf_jchart2d/jar/BUILD.bazel:2:12: Extracting interface @net_sf_jchart2d//jar:jar failed: 1 input file(s) do not exist
Target //:install failed to build
Use --verbose_failures to see the command lines of failed build steps.
ERROR: /home/chenwang/drake-build/_bazel_chenwang/bcff9e14963ec4b6ed21d9b7e9e180fc/external/net_sf_jchart2d/jar/BUILD.bazel:2:12 Extracting interface @net_sf_jchart2d//jar:jar failed: 1 input file(s) do not exist
INFO: Elapsed time: 23.087s, Critical Path: 8.22s
INFO: 2890 processes: 2584 internal, 306 linux-sandbox.
FAILED: Build did NOT complete successfully
CMakeFiles/drake_cxx_python.dir/build.make:110: recipe for target 'drake_cxx_python-prefix/src/drake_cxx_python-stamp/drake_cxx_python-build' failed
make[2]: *** [drake_cxx_python-prefix/src/drake_cxx_python-stamp/drake_cxx_python-build] Error 1
CMakeFiles/Makefile2:931: recipe for target 'CMakeFiles/drake_cxx_python.dir/all' failed
make[1]: *** [CMakeFiles/drake_cxx_python.dir/all] Error 2
Makefile:162: recipe for target 'all' failed
make: *** [all] Error 2

我已经从源代码成功构建了旧版本的 drake。看来我错过了一些用于构建新版本 drake 的第三方库。感谢您的帮助!

最佳答案

事实证明install_repreqs.sh已更新,但我忘记重新运行它。通过重新运行 install_repreqs.sh 安装先决条件后,我可以从源代码成功构建 drake。

关于drake - 从源代码构建错误: missing input file 'external/net_sf_jchart2d/jar/jchart2d.jar' ,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/71362872/

相关文章:

python - 用于 pydrake 模拟的 MultibodyPlant、SceneGraph、Context 和 Simulator 的结构

linux - 为什么通过 `bazel test` 执行的 drake 中基于 OpenGL 的 VTK 目标有时会在 Linux 上失败?

drake - 我们可以以符号形式缓存方程并在轨迹优化期间插入数字吗?

robotics - 图生成器 : Cannot operate on ports of System plant until it has been registered using AddSystem

python-3.x - 如何将联合索引映射到广义位置的对应索引?

c++ - get_input_port 方法位于 drake 的什么位置?

drake - 如何使用C++实现自定义约束?

python - pydrake : How do I identify slow Python LeafSystem's (to possibly rewrite in C++)?

drake - 针对各个关节角度的雅可比导数的自动微分

ubuntu - 德雷克几何_inspector.py : error: File does not exist: