Ignition install fails on ubuntu

asked 2021-01-13 00:47:21 -0500

cmon gravatar image

Hi,

I initially tried the binary install of ignition which leads to the following errors after following the steps on this page.

 The following packages have unmet dependencies:
 ignition-edifice : Depends: libignition-gazebo5-dev but it is not going to be installed
                    Depends: libignition-gui5-dev but it is not going to be installed
                    Depends: libignition-launch4-dev but it is not going to be installed
                    Depends: libignition-sensors5-dev but it is not going to be installed
                    Depends: libignition-rendering5-dev but it is not going to be installed
E: Unable to correct problems, you have held broken packages.

After failing to find a solution, I moved on to building it from source. When I try building the ignition libraries the following build errors occur:

BUILD ERRORS: These must be resolved before compiling. Missing: Qt5 Components: Core, Quick, QuickControls2, Widgets)

I have tried finding solutions online but couldn't. Installing qt5-default, libqwt-qt5-6, libqwt-qt5-dev did not resolve the issue.

Does anyone have a idea of how to fix either these installation methods?

Simon

edit retag flag offensive close merge delete

Comments

I see these issues only exist for edifice. Dome installs correctly with both methds.

cmon gravatar imagecmon ( 2021-01-13 00:54:37 -0500 )edit

Assuming you are working on Ubuntu, I can say that this error is common. remove all previously installed ignition libraries and try this sudo apt update and install all binaries again. This helped me.

Adwait gravatar imageAdwait ( 2021-04-17 12:05:35 -0500 )edit