start.sh 在 agent2d robocup 中不起作用

start.sh dosen't work in agent2d robocup

我有一个 64 位的 opensuse os,我正在尝试在其中模拟 robocup。当我转到 agent2d 中的 运行 start.sh 文件时,它给了我一个错误。 错误:

rtt min/avg/max/mdev = 0.026/0.026/0.026/0.000 ms
./sample_player: error while loading shared libraries: librcsc_agent.so.7: cannot open shared object file: No such file or directory
./sample_player: error while loading shared libraries: librcsc_agent.so.7: cannot open shared object file: No such file or directory
./sample_player: error while loading shared libraries: librcsc_agent.so.7: cannot open shared object file: No such file or directory
./sample_player: error while loading shared libraries: librcsc_agent.so.7: cannot open shared object file: No such file or directory
./sample_player: error while loading shared libraries: librcsc_agent.so.7: cannot open shared object file: No such file or directory
./sample_player: error while loading shared libraries: librcsc_agent.so.7: cannot open shared object file: No such file or directory
./sample_player: error while loading shared libraries: librcsc_agent.so.7: cannot open shared object file: No such file or directory
./sample_player: error while loading shared libraries: librcsc_agent.so.7: cannot open shared object file: No such file or directory
./sample_player: error while loading shared libraries: librcsc_agent.so.7: cannot open shared object file: No such file or directory
./sample_player: error while loading shared libraries: librcsc_agent.so.7: cannot open shared object file: No such file or directory
./sample_player: error while loading shared libraries: librcsc_agent.so.7: cannot open shared object file: No such file or directory
./sample_coach: error while loading shared libraries: librcsc_agent.so.7: cannot open shared object file: No such file or directory

但是 sample_player 在 src 文件夹中并且 sample_coach 也在其中。 谁能帮我解决问题?

这就是我的答案

sudo ldconfig -v

只要在给你报错的终端里写就行了。

https://osdn.net/projects/rctools/releases/p3777 正在安装 librcsc

$ cd librcsc-x.x.x/

运行 命令:

注意:如果第一步有权限问题,不要./configure执行sh ./configure.

$ ./configure
$ make
$ sudo make install