Skip to content

Instantly share code, notes, and snippets.

@khancyr
Last active January 27, 2022 22:11
Show Gist options
  • Save khancyr/56489b1c180e099eaf5527d716f5f18a to your computer and use it in GitHub Desktop.
Save khancyr/56489b1c180e099eaf5527d716f5f18a to your computer and use it in GitHub Desktop.
ignition
On docker:
install ppa:kisak/kisak-mesa to upgrade mesa
gedit .ignition/gazebo/6/gui.config and change ogre2 to ogre
ogre-next
git clone --branch v2-2 https://github.com/OGRECave/ogre-next --depth 2 --no-single-branch
cmake -G "Ninja" -D OGRE_BUILD_SAMPLES2=1 -D OGRE_USE_BOOST=0 -D OGRE_CONFIG_THREAD_PROVIDER=0 -D OGRE_CONFIG_THREADS=0 -D CMAKE_BUILD_TYPE=Release ../
echo "deb https://download.opensuse.org/repositories/network:/messaging:/zeromq:/git-stable/xUbuntu_21.04/ ./" | sudo tee -a /etc/apt/sources.list.d/zmq.list
wget https://download.opensuse.org/repositories/network:/messaging:/zeromq:/git-stable/xUbuntu_21.04/Release.key -O- | sudo apt-key add
Install
Manually install tinyxml2 to avoid version problem with missing ClearALL() function on version <8.0.X
sudo ln -sf /usr/local/lib/libtinyxml2.so /usr/lib/x86_64-linux-gnu/ LOL ?
# doxygen -u src/ign-cmake/doc/doxygen/api.in <-- probably make gazebo build segfault. In case of segfault on gazebo, disable doc building in CMakeList.txt
install pybind11-dev ruby-dev libgts-dev libjsoncpp-dev libzip-dev libyaml-dev libcurlpp-dev libczmq-dev libavcodec-dev libavformat-dev libavutil-dev libswscale-dev libavdevice-dev
libbullet-dev libdart-all-dev
sudo apt install libqt5quick5
sudo apt install qml-module-qtquick2 qml-module-qtqml qml-module-qtquick-dialogs qml-module-qtquick-window2
sudo apt install qml-module-qtquick2 qml-module-qtqml qml-module-qtquick-dialogs qml-module-qtquick-window2 qml-module-qtquick-layouts qml-module-qtquick-controls2
sudo apt install qml-module-qtquick2 qml-module-qtqml qml-module-qtquick-dialogs qml-module-qtquick-window2 qml-module-qtquick-layouts qml-module-qtquick-controls2 qml-module-qtquick-controls
for debug : ign gazebo -v 3 lights.sdf
SKIP_optix=true SKIP_av=true SKIP_dartsim=true SKIP_bullet=true
colcon build --cmake-args -DBUILD_TESTING=OFF --merge-install
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment