Astar-JPS-Algorithm icon indicating copy to clipboard operation
Astar-JPS-Algorithm copied to clipboard

catkin_make reports error in ros-noetic environment

Open JamieHuang28 opened this issue 3 years ago • 2 comments

Hi Mesywang: Thanks for your code. I want to run it in ros-noetic(installed on Ubuntu20.04), however it reports:

"CMake Error at /usr/lib/x86_64-linux-gnu/cmake/Qt5Gui/Qt5GuiConfig.cmake:27 (message): The imported target "Qt5::Gui" references the file

 "/usr/lib/x86_64-linux-gnu/libEGL.so"

but this file does not exist. Possible reasons include:

  • The file was deleted, renamed, or moved to another location.

  • An install or uninstall procedure did not complete successfully.

  • The installation package was faulty and contained

    "/usr/lib/x86_64-linux-gnu/cmake/Qt5Gui/Qt5GuiConfigExtras.cmake"

but not all the files it references.

Call Stack (most recent call first): /usr/lib/x86_64-linux-gnu/cmake/Qt5Gui/Qt5GuiConfigExtras.cmake:45 (_qt5_Gui_check_file_exists) /usr/lib/x86_64-linux-gnu/cmake/Qt5Gui/Qt5GuiConfigExtras.cmake:67 (_qt5gui_find_extra_libs) /usr/lib/x86_64-linux-gnu/cmake/Qt5Gui/Qt5GuiConfig.cmake:186 (include) /usr/lib/x86_64-linux-gnu/cmake/Qt5Widgets/Qt5WidgetsConfig.cmake:101 (find_package) /usr/lib/x86_64-linux-gnu/cmake/Qt5/Qt5Config.cmake:28 (find_package) Astar-JPS-Algorithm/rviz_plugins/CMakeLists.txt:46 (find_package)"

I am not sure if it's due to the version of ros.

JamieHuang28 avatar Nov 17 '23 06:11 JamieHuang28

@JamieHuang28 This is a problem with the ros version. The recommended ubunut system is 16.04

3118347667 avatar Dec 21 '24 03:12 3118347667

Hi Mesywang: Thanks for your code. I want to run it in ros-noetic(installed on Ubuntu20.04), however it reports:

"CMake Error at /usr/lib/x86_64-linux-gnu/cmake/Qt5Gui/Qt5GuiConfig.cmake:27 (message): The imported target "Qt5::Gui" references the file

 "/usr/lib/x86_64-linux-gnu/libEGL.so"

but this file does not exist. Possible reasons include:

  • The file was deleted, renamed, or moved to another location.
  • An install or uninstall procedure did not complete successfully.
  • The installation package was faulty and contained "/usr/lib/x86_64-linux-gnu/cmake/Qt5Gui/Qt5GuiConfigExtras.cmake"

but not all the files it references.

Call Stack (most recent call first): /usr/lib/x86_64-linux-gnu/cmake/Qt5Gui/Qt5GuiConfigExtras.cmake:45 (_qt5_Gui_check_file_exists) /usr/lib/x86_64-linux-gnu/cmake/Qt5Gui/Qt5GuiConfigExtras.cmake:67 (_qt5gui_find_extra_libs) /usr/lib/x86_64-linux-gnu/cmake/Qt5Gui/Qt5GuiConfig.cmake:186 (include) /usr/lib/x86_64-linux-gnu/cmake/Qt5Widgets/Qt5WidgetsConfig.cmake:101 (find_package) /usr/lib/x86_64-linux-gnu/cmake/Qt5/Qt5Config.cmake:28 (find_package) Astar-JPS-Algorithm/rviz_plugins/CMakeLists.txt:46 (find_package)"

I am not sure if it's due to the version of ros.

This is a problem with the ros version. The recommended ubunut system is 16.04

3118347667 avatar Dec 21 '24 03:12 3118347667