Gazebo | Ignition | Community
Ask Your Question

Problem of parallel physics Gazebo

asked 2016-10-27 19:25:46 -0500

tswcbyy gravatar image

updated 2017-09-08 04:23:12 -0500

Carlos Agüero gravatar image

We want to try the Parallel physics Gazebo, which list on the website:

However, we can not install this version of Gazebo successfully under the instruction in the website, and we find some problems after review the source,which list below:

  1. I download the source with the command: hg clone hg clone cd ${WS}/src/gazebo hg update diagnostics_scpeters cd ${WS}/src/sdformat hg update island_threads

  2. sdformat version: the island_threads version seems to be developed based on version sdformat-3.0.3, and the gazebo seemed to be developed on 6.0, but now the source is 7.0

but the source diagnostics_scpeters Gazebo version require to sdformat-4.1.0, which list in cmake/SearchForStuff.cmake

  1. I try to fix the problems by modified the source code, and make and make install it successfully finally, but I can run it successful.

Who can give me any advice?

edit retag flag offensive close merge delete


As you mentioned in the description, the parallel physics was developed with sdformat-3, you might want to merge sdformat-4 to the island_threads branch, or apply the diff in the island_threads to the newly checked out sdformat-4, similar to gazebo as well

Ying Lu gravatar imageYing Lu ( 2017-09-07 12:39:26 -0500 )edit

2 Answers

Sort by » oldest newest most voted

answered 2017-09-12 16:15:09 -0500

Hi, since many threads were talking about parallel physics and we spent some time bringing it back. Right now it has not been merged yet. But if you checkout sdformat from: (using branch island_threads) checkout gazebo from: (using branch diagnostics_scpeters)

The conflicts should be resolved. We will either update the tutorial or merge this changes to osrf repo. Let us know if this works.

edit flag offensive delete link more


Hi, I have tried to compile sdformat using island_threads branch, but I get a build error

Missing: Ignition math3 library.

Unfortunately in Ubunut 18.04 i can only find libignition-math2 and libignition-math4, 5 6 in the repositories. Any idea where I cant get math3 from?


Eisenhorn gravatar imageEisenhorn ( 2019-05-02 12:08:13 -0500 )edit

answered 2017-09-06 06:05:31 -0500

mhallak gravatar image

I have the same problem .... Can you help me?

Now it is:

-- ----------------------------------------

-- BUILD WARNINGS -- OpenAL not found, audio support will be disabled. -- HDF5 not found -- DART not found, for dart physics engine option, please install libdart-core4-dev. -- libswscale not found. Audio-video capabilities will be disabled. -- libavformat not found. Audio-video capabilities will be disabled. -- libavcodec not found. Audio-video capabilities will be disabled. -- libavutil not found. Audio-video capabilities will be disabled. -- Player not found, gazebo plugin for player will not be built. -- libusb-1.0 not found. USB peripherals support will be disabled. -- Oculus Rift support will be disabled. -- GDAL not found, Digital elevation terrains support will be disabled. -- Graphviz not found, Model editor's schematic view will be disabled. -- END BUILD WARNINGS

-- BUILD ERRORS: These must be resolved before compiling. -- Missing: SDF version >=4.1.0. Required for reading and writing SDF files. -- Missing: Ignition math2 library. -- END BUILD ERRORS

CMake Error at CMakeLists.txt:289 (message): Errors encountered in build. Please see the BUILD ERRORS above.

-- Configuring incomplete, errors occurred! See also "/home/robil/gazebo_parallel/build_isolated/gazebo/devel/CMakeFiles/CMakeOutput.log". See also "/home/robil/gazebo_parallel/build_isolated/gazebo/devel/CMakeFiles/CMakeError.log". <== Failed to process package 'gazebo': Command '['/home/robil/gazebo_parallel/devel_isolated/sdformat/', 'cmake', '/home/robil/gazebo_parallel/src/gazebo', '-DCMAKE_INSTALL_PREFIX=/home/robil/gazebo_parallel/devel_isolated/gazebo', '-DENABLE_DIAGNOSTICS=1', '-G', 'Unix Makefiles']' returned non-zero exit status 1

Reproduce this error by running: ==> cd /home/robil/gazebo_parallel/build_isolated/gazebo && /home/robil/gazebo_parallel/devel_isolated/sdformat/ cmake /home/robil/gazebo_parallel/src/gazebo -DCMAKE_INSTALL_PREFIX=/home/robil/gazebo_parallel/devel_isolated/gazebo -DENABLE_DIAGNOSTICS=1 -G 'Unix Makefiles'

edit flag offensive delete link more


hamzamerzic gravatar imagehamzamerzic ( 2017-09-07 08:30:40 -0500 )edit

Question Tools



Asked: 2016-10-27 19:25:46 -0500

Seen: 1,123 times

Last updated: Sep 12 '17