Loading

RoboCup 2D Half Field Offense (HFO)安装时遇到的一些问题及解决办法

  1. 如遇到unable to access github字样,请使用github镜像网站:
    找到根目录下的CMakeLists.txt,将https://github.com/mhauskn/rcssserver.git更改为https://github.com.cnpmjs.org/mhauskn/hfo-teams.git,其后三处做同样处理,如果该镜像网站不能使用,可百度github的其他镜像网站。

  2. 如果安装好后不能启动rcssserver,请检查rcssserver是否安装正确,如果之前已经单独安装过rcssserver,请删除主目录下的.rcssserver文件夹:

rm -rf ~/.rcssserver
  1. 将python命令链接至python3:
sudo ln -s /usr/bin/python3.6 /usr/bin/python
  1. 可能需要安装的依赖:
sudo apt-get install -y cmake
sudo apt-get install -y libboost-all-dev
sudo apt-get install -y flex
sudo apt-get install -y libqt4-*
sudo apt-get install -y qt5-default
sudo apt-get install -y python3.6
sudo apt-get install -y python3-pip
pip3 install numpy -i https://pypi.tuna.tsinghua.edu.cn/simple # 此处-i是临时使用清华源
  1. 安装命令:
mkdir build && cd build
cmake -DCMAKE_BUILD_TYPE=RelwithDebInfo ..
make -j4 # 可根据核心数进行更改,如8核可改成-j8
make install
  1. 参考文档

https://gitee.com/bcahlit/dqn-hfo_pytorch/blob/master/安装说明

https://blog.csdn.net/qq_41796745/article/details/106264918

posted @ 2021-10-18 13:05  橘崽崽啊  阅读(129)  评论(0编辑  收藏  举报