Fedora 24のインストール

Fedora25 だと,システムのショートカットがvmplayer で使えなくて不便で,
Fedora26 にしたら,そもそもvmplayer が使えなかったので,
Fedora24 を入れ直しました.

そのときのFawkes 周りの記録です.

と言っても,あんまりかわらなさそう.
Fawkes on Fedoraのページを参考に作業します.

ROS はkinetic を選択してみたところ,opencv3 のところで,エラーがでたのでjade を選択.
ROS(Kinetic)のインストール(Fedora)ROS(jade)のインストール(Fedora)と同じ作業です.
# rosinstall_generator が,rosinstall_generator-2.7 に変わります.

sudo dnf groupinstall development-tools development-libs
sudo dnf install fawkes-devenv
sudo rpm -e --nodeps tolua++ tolua++-devel
sudo dnf install compat-lua compat-lua-devel compat-tolua++ compat-tolua++-devel

sudo dnf install python-rosdep python-rosinstall_generator python-wstool python-rosinstall @buildsys-build python-qt5-devel python-defusedxml
sudo bash -c "echo \"export PATH=/usr/lib64/qt5/bin/:$PATH\" > /etc/profile.d/qt5-qmake.sh"
source /etc/profile
ccache --max-size=16GB

sudo mkdir -p /opt/ros/catkin_ws_kinetic
sudo chown $USER:$GROUP -R /opt/ros
cd /opt/ros/catkin_ws_kinetic

rosinstall_generator-2.7 desktop --rosdistro kinetic --deps --wet-only --tar > kinetic-desktop-wet.rosinstall
wstool init -j8 src kinetic-desktop-wet.rosinstall
rosinstall_generator-2.7 navigation --rosdistro kinetic --deps --wet-only --tar > kinetic-navigation.rosinstall
rosinstall_generator-2.7 ar_track_alvar --rosdistro kinetic --deps --wet-only --tar > kinetic-ar_track_alvar.rosinstall
wstool merge -t src kinetic-navigation.rosinstall
wstool merge -t src kinetic-ar_track_alvar.rosinstall
cd src
git clone https://git.fawkesrobotics.org/fawkes_msgs.git
cd ..
wstool update -t src

./src/catkin/bin/catkin_make_isolated --install --install-space=/opt/ros/kinetic \
  -DCMAKE_BUILD_TYPE=Release -DENABLE_PRECOMPILED_HEADERS=OFF
echo 'source /opt/ros/kinetic/setup.bash' >> ~/.bashrc
source ~/.bashrc 

上記は,ROS(kinetix)で,opencv3 の部分でエラーがでましたので,以下の作業に変更.

sudo dnf install fawkes-devenv elfutils-libelf-devel yaml-cpp-devel PyYAML log4cxx-devel CGAL-devel \
  protobuf-devel protobuf-compiler ros-release python-rospkg screen tinyxml-devel \
  mongodb-devel assimp-devel freeimage-devel libusb-devel gazebo-devel \
  python-setuptools numpy clips clipsmm-devel clips-emacs \
  PyOpenGL PyYAML boost-devel cegui-devel cmake console-bridge-devel doxygen \
  freeimage-devel gperftools-devel gtest-devel gts-devel libccd-devel \
  libtool-ltdl-devel libXext-devel libxml2-devel ogre-devel qt-devel \
  tbb-devel urdfdom-headers-devel urdfdom-devel rospack rospack-devel \
  python-rospkg python-rosinstall python-rosdistro ros-release \
  python-rosinstall_generator python-rosdep \
  sip-devel PyQt4-devel python-netifaces libxml libxml2-static libxml++-devel libxml++ \
  python3-libxml2 libxml-devel libxml2 libxml2-devel python-lxml python3-lxml fltk \
  fltk-devel gnome-python2 python-empy libmodbus-devel sip-devel PyQt4-devel \
  python-netifaces libxml libxml2-static libxml++-devel libxml++ python3-libxml2 \
  libxml-devel libxml2 libxml2-devel python-lxml python3-lxml fltk \
  fltk-devel gnome-python2 collada-dom collada-dom-devel openCOLLADA python-collada \
  python-empy poco-devel python-lz4 lz4 lz4-devel libuuid libuuid-devel uuid uuid-devel

sudo dnf install python3-rosinstall_generator python3-rosinstall
sudo dnf install python-qt5-devel python3-qt5-devel python2-defusedxml

mkdir -p /opt/ros/catkin_ws_indigo
cd /opt/ros/catkin_ws_indigo

rosinstall_generator desktop_full --rosdistro indigo --deps --wet-only --tar > indigo-desktop-full-wet.rosinstall
wstool init -j8 src indigo-desktop-full-wet.rosinstall
rosinstall_generator navigation --rosdistro indigo --deps --wet-only --tar > indigo-navigation.rosinstall
rosinstall_generator ar_track_alvar --rosdistro indigo --deps --wet-only --tar > indigo-ar_track_alvar.rosinstall
wstool merge -t src indigo-navigation.rosinstall
# Skip the following line (and only the following line) on Fedora 25
wstool merge -t src indigo-ar_track_alvar.rosinstall
cd src
git clone https://git.fawkesrobotics.org/fawkes_msgs.git
cd ..
wstool update -t src

./src/catkin/bin/catkin_make_isolated --install --install-space=/opt/ros/indigo -DCMAKE_BUILD_TYPE=Release

コメントを残す

メールアドレスが公開されることはありません。

*