Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

An error while instaling gazebo on Ubuntu 22.04. #3300

Closed
adricom231 opened this issue Feb 20, 2023 · 5 comments
Closed

An error while instaling gazebo on Ubuntu 22.04. #3300

adricom231 opened this issue Feb 20, 2023 · 5 comments

Comments

@adricom231
Copy link

Hi im new to linux i tried instaling gazebo but got this error


Finished <<< gz-rendering8 [2.34s]
Starting >>> gz-gui8
--- stderr: gz-gui8
CMake Warning at /home/adricom/workspace/install/share/cmake/gz-cmake3/cmake3/GzUtils.cmake:231 (find_package):
By not providing "Findgz-transport12.cmake" in CMAKE_MODULE_PATH this
project has asked CMake to find a package configuration file provided by
"gz-transport12", but CMake did not find one.

Could not find a package configuration file provided by "gz-transport12"
with any of the following names:

gz-transport12Config.cmake
gz-transport12-config.cmake

Add the installation prefix of "gz-transport12" to CMAKE_PREFIX_PATH or set
"gz-transport12_DIR" to a directory containing one of the above files. If
"gz-transport12" provides a separate development package or SDK, be sure it
has been installed.
Call Stack (most recent call first):
CMakeLists.txt:65 (gz_find_package)

CMake Warning at /home/adricom/workspace/install/share/cmake/gz-cmake3/cmake3/GzUtils.cmake:231 (find_package):
By not providing "Findgz-msgs9.cmake" in CMAKE_MODULE_PATH this project has
asked CMake to find a package configuration file provided by "gz-msgs9",
but CMake did not find one.

Could not find a package configuration file provided by "gz-msgs9" with any
of the following names:

gz-msgs9Config.cmake
gz-msgs9-config.cmake

Add the installation prefix of "gz-msgs9" to CMAKE_PREFIX_PATH or set
"gz-msgs9_DIR" to a directory containing one of the above files. If
"gz-msgs9" provides a separate development package or SDK, be sure it has
been installed.
Call Stack (most recent call first):
CMakeLists.txt:75 (gz_find_package)

CMake Error at /home/adricom/workspace/install/share/cmake/gz-cmake3/cmake3/GzConfigureBuild.cmake:73 (message):
-- BUILD ERRORS: These must be resolved before compiling.
Call Stack (most recent call first):
CMakeLists.txt:103 (gz_configure_build)

CMake Error at /home/adricom/workspace/install/share/cmake/gz-cmake3/cmake3/GzConfigureBuild.cmake:75 (message):
-- Missing dependency [gz-transport12]
Call Stack (most recent call first):
CMakeLists.txt:103 (gz_configure_build)

CMake Error at /home/adricom/workspace/install/share/cmake/gz-cmake3/cmake3/GzConfigureBuild.cmake:75 (message):
-- Missing dependency [gz-msgs9]
Call Stack (most recent call first):
CMakeLists.txt:103 (gz_configure_build)

CMake Error at /home/adricom/workspace/install/share/cmake/gz-cmake3/cmake3/GzConfigureBuild.cmake:77 (message):
-- END BUILD ERRORS

Call Stack (most recent call first):
CMakeLists.txt:103 (gz_configure_build)

CMake Error at /home/adricom/workspace/install/share/cmake/gz-cmake3/cmake3/GzConfigureBuild.cmake:82 (message):
Errors encountered in build. Please see BUILD ERRORS above.
Call Stack (most recent call first):
CMakeLists.txt:103 (gz_configure_build)


Failed <<< gz-gui8 [0.33s, exited with code 1]
Aborted <<< sdformat13 [11.2s]

Summary: 10 packages finished [14.5s]
1 package failed: gz-gui8
1 package aborted: sdformat13
3 packages had stderr output: gz-fuel_tools9 gz-gui8 gz-rendering8
4 packages not processed

@traversaro
Copy link
Collaborator

Hi @adricom231, which instructions are you following to install Gazebo? At a first glance it seems that you are installing Gazebo "Modern", i.e. the new version of Gazebo, not the Gazebo Classic version that is the one mantained at this repo.

@adricom231
Copy link
Author

Hi @traversaro i was installing Gazebo Harmonic

@traversaro
Copy link
Collaborator

Then it is the "Modern" Gazebo, not the Gazebo Classic one, so I think you can close the issue here, thanks! Furthermore, Gazebo Harmonic is still in development, so I would suggest to stick to a released version of Gazebo (such as Gazebo Garden) to make sure the installation process works reliably.

@traversaro
Copy link
Collaborator

If you have doubts on how to install Gazebo following the documentation, feel free to post a question on https://answers.gazebosim.org/questions/, thanks!

@j-rivero
Copy link
Contributor

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants