ROBOTIS-GIT / turtlebot3_simulations

Simulations for TurtleBot3
http://turtlebot3.robotis.com/
Apache License 2.0
309 stars 427 forks source link

CMake Error at /usr/share/cmake-3.16/Modules/CMakeFindDependencyMacro.cmake:47 (find_package): Could not find a configuration file for package "ignition-common3-graphics" that exactly matches requested version "3.6.0". #141

Closed Shravista closed 3 years ago

Shravista commented 3 years ago

Hello, I am getting this issue over and over again while I am compiling packages using catkin_make after cloning the packages from git clone -b noetic-devel https://github.com/ROBOTIS-GIT/turtlebot3_simulations.git. error showed below `CMake Error at /usr/share/cmake-3.16/Modules/CMakeFindDependencyMacro.cmake:47 (find_package): Could not find a configuration file for package "ignition-common3-graphics" that exactly matches requested version "3.6.0".

The following configuration files were considered but not accepted:

/usr/lib/x86_64-linux-gnu/cmake/ignition-common3-graphics/ignition-common3-graphics-config.cmake, version: 3.5.0
/lib/x86_64-linux-gnu/cmake/ignition-common3-graphics/ignition-common3-graphics-config.cmake, version: 3.5.0

Call Stack (most recent call first): /usr/lib/x86_64-linux-gnu/cmake/ignition-common3/ignition-common3-config.cmake:203 (find_dependency) /usr/lib/x86_64-linux-gnu/cmake/gazebo/gazebo-config.cmake:209 (find_package) turtlebot3_simulations/turtlebot3_gazebo/CMakeLists.txt:23 (find_package)

-- Configuring incomplete, errors occurred! See also "/home/shavista/catkin_ws/build/CMakeFiles/CMakeOutput.log". See also "/home/shavista/catkin_ws/build/CMakeFiles/CMakeError.log". make: *** [Makefile:2980: cmake_check_build_system] Error 1 Invoking "make cmake_check_build_system" failed`

I don't know how to resolve this issue, can you please help me out

Shravista commented 3 years ago

Sorry, I found the problem, it is at my side. I couldn't do properly sudo apt-get upgrade. After running this, I am able to solve the issue