Groot安装
Kong Liangqian Lv6

安装Groot

安装BehaviorTree.CPP

1
2
3
4
5
6
sudo apt-get install libzmq3-dev libboost-dev
git clone https://github.com/BehaviorTree/BehaviorTree.CPP
cd BehaviorTree.CPP;mkdir build;cd build;
cmake ..
make
sudo make install

安装Groot

1
2
3
4
5
6
sudo apt install qtbase5-dev libqt5svg5-dev
git clone https://github.com/BehaviorTree/Groot
cd Groot;mkdir build;cd build;
cmake ..
make
sudo make install

运行Groot

1
Groot

如果报错

1
so: cannot open shared object file: No such file or directory

添加so的链接路径

1
sudo vi /etc/ld.so.conf

添加一行如下,如下所示

1
2
1 include /etc/ld.so.conf.d/*.conf
2 /usr/local/lib

保存退出之后,运行ldconfig,再一次运行

1
Groot
 Comments