Gazebo 4 from Source . Unable to Build on Ubuntu 12.04.
I have successfully installed gazebo4 on Ubuntu 12.04 on a virtual box . I am trying to build from the source. I understand that we are past the end of life for gazebo4 but 12.04 is a requirement for me. I followed instructions from here http://gazebosim.org/tutorials?tut=install_from_source NOTE when I typed in sudo apt-get install $(sed 's:\ ::g' <<< $BASEDEPENDENCIES) $(sed 's:\ ::g' <<< $GAZEBOBASE_DEPENDENCIES Got the following
*Reading state information... Done E: Unable to locate package libogre-1.9-dev E: Couldn't find any package by regex 'libogre-1.9-dev' E: Unable to locate package qtbase5-dev E: Unable to locate package libqwt-qt5-dev E: Unable to locate package libignition-transport2-dev E: Unable to locate package libignition-transport3-dev E: Unable to locate package libignition-math3-dev E: Unable to locate package libtinyxml2-dev E: Unable to locate package libsdformat5-dev*
THIS APPEARS TO BE IS OK as from looking at /tmp/dependencies.sh none are needed for gazebo 4
For Gazebo 4 Sdf format 3 can be used . Cloned sdf repo from Go here http://gazebosim.org/tutorials?tut=install_dependencies_from_source hg up sdf3 created build folder, cmake failed as it needs g++ 4.8. Hences installed g++4.8 cmake failed again - build error says ignition math2 library needed. Even though above link says only gazebo 6+ needs it !! Please advise. **I did try to install ign math from branch ign-math2 and am able to get past the cmake for sdf, but the make fails ...
/usr/include/boost/typetraits/isconvertible.hpp:135:86: error: use of deleted function ‘boost::filesystem3::directoryiterator::directoryiterator(const boost::filesystem3::directoryiterator&)’
static bool const value = sizeof( boost::detail::checker
Asked by pchidamb on 2017-08-03 16:07:46 UTC
Answers
Got it working a few weeks back -
Small modification to install from dependencies http://answers.gazebosim.org/question/358/unable-to-install-drcsim-and-gazebo-on-ubuntu-1204-or-1210/ sdf_2.0 gazebo_4.0 export LD_LIBRARY_PATH=/usr/local/lib/gazebo-4.1/plugins:/usr/local/lib/:${LD_LIBRARY_PATH}
Asked by pchidamb on 2017-08-25 12:32:00 UTC
Comments