ros:install_deb
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revisionLast revisionBoth sides next revision | ||
ros:install_deb [2013/12/22 16:18] – [Installing ROS] redox | ros:install_deb [2014/01/27 21:21] – [From source] redox | ||
---|---|---|---|
Line 11: | Line 11: | ||
Deps: | Deps: | ||
- | sudo apt-get install python-rosdep python-rosinstall-generator python-wstool build-essential checkinstall python-kitchen libflann-dev libxml2-dev | + | sudo apt-get install python-rosdep python-rosinstall-generator python-wstool build-essential checkinstall python-kitchen libflann-dev libxml2-dev python-nose python-empy libpoco-dev libgtest-dev python-sip-dev python-qt4-dev libbz2-dev |
+ | sudo apt-get install libtinyxml-dev libtbb-dev libxml2-dev libqt4-dev pkg-config | ||
Let's go | Let's go | ||
Line 54: | Line 55: | ||
make | make | ||
sudo checkinstall make install | sudo checkinstall make install | ||
- | cd ../ | ||
- | Rename to **collada-dom-dev** in the checkinstall step | ||
- | #### Install Player (Gazebo dep) | ||
- | Download: http:// | ||
- | Implement this fix: http:// | ||
- | This may be related to the API change in zlib from 1.2.5 to 1.2.6, which is now installed on my system. According to another archlinux user, there has been a change in zlib.h in 1.2.6: | ||
- | - | ||
- | + typedef struct gzFile_s *gzFile; | ||
- | Fix: | + | ## Build ROS |
- | 668c668 | + | |
- | < ret = gzseek(this-> | + | |
- | --- | + | |
- | > ret = gzseek((gzFile)this-> | + | |
- | 714c714 | + | |
- | < ret = (gzgets(this-> | + | |
- | --- | + | |
- | > ret = (gzgets((gzFile)this-> | + | |
- | This is in file: ./ | + | |
- | Then proceed to the compilation ;) | + | |
- | tar -xzf player-3.0.2.tar.gz | + | |
- | | + | |
- | cd player-3.0.2/ | + | |
- | cmake . | + | |
- | make | + | |
- | sudo checkinstall make install | + | |
- | cd ../ | + | |
- | #### Install sdformat (Gazebo dep) | ||
- | hg clone https:// | ||
- | cd sdformat | ||
- | cmake . | ||
- | make | ||
- | sudo checkinstall make install | ||
- | cd .. | ||
- | |||
- | #### Install Gazebo | ||
- | Need some dependencies | ||
- | sudo apt-get install libtinyxml-dev libtbb-dev libxml2-dev libqt4-dev pkg-config | ||
- | |||
- | Go! | ||
- | hg clone https:// | ||
- | cd gazebo | ||
- | hg up gazebo_1.9 | ||
- | cmake . | ||
- | make | ||
- | sudo checkinstall make install | ||
- | cd .. | ||
- | |||
- | |||
- | ## Build ROS | ||
Finally run the build and install command. To install somewhere other than your home directory use the --install-space option. | Finally run the build and install command. To install somewhere other than your home directory use the --install-space option. | ||
- | ./ | + | ./ |
echo " | echo " | ||