libEGL.so missing while building melodic on ARM ubuntu 18.04
Got the errors below after running:
rosdep install --from-paths src --ignore-src --rosdistro melodic -y
I am not sure how to fix or what is wrong:
CMake Error at /usr/lib/aarch64-linux-gnu/cmake/Qt5Gui/Qt5GuiConfig.cmake:27 (message):
The imported target "Qt5::Gui" references the file
"/usr/lib/aarch64-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/aarch64-linux-gnu/cmake/Qt5Gui/Qt5GuiConfigExtras.cmake"
but not all the files it references.
Call Stack (most recent call first):
/usr/lib/aarch64-linux-gnu/cmake/Qt5Gui/Qt5GuiConfigExtras.cmake:32 (_qt5_Gui_check_file_exists)
/usr/lib/aarch64-linux-gnu/cmake/Qt5Gui/Qt5GuiConfigExtras.cmake:54 (_qt5gui_find_extra_libs)
/usr/lib/aarch64-linux-gnu/cmake/Qt5Gui/Qt5GuiConfig.cmake:184 (include)
/usr/lib/aarch64-linux-gnu/cmake/Qt5Widgets/Qt5WidgetsConfig.cmake:101 (find_package)
src/qt_gui_cpp/CMakeLists.txt:3 (find_package)
-- Configuring incomplete, errors occurred!
See also "/home/rock64/ros_catkin_ws/build_isolated/qt_gui_cpp/CMakeFiles/CMakeOutput.log".
See also "/home/rock64/ros_catkin_ws/build_isolated/qt_gui_cpp/CMakeFiles/CMakeError.log".
<== Failed to process package 'qt_gui_cpp':
Command '['/home/rock64/ros_catkin_ws/install_isolated/env.sh', 'cmake', '/home/rock64/ros_catkin_ws/src/qt_gui_core/qt_gui_cpp', '-DCATKIN_DEVEL_PREFIX=/home/rock64/ros_catkin_ws/devel_isolated/qt_gui_cpp', '-DCMAKE_INSTALL_PREFIX=/home/rock64/ros_catkin_ws/install_isolated', '-DCMAKE_BUILD_TYPE=Release', '-G', 'Unix Makefiles']' returned non-zero exit status 1
Reproduce this error by running:
==> cd /home/rock64/ros_catkin_ws/build_isolated/qt_gui_cpp && /home/rock64/ros_catkin_ws/install_isolated/env.sh cmake /home/rock64/ros_catkin_ws/src/qt_gui_core/qt_gui_cpp -DCATKIN_DEVEL_PREFIX=/home/rock64/ros_catkin_ws/devel_isolated/qt_gui_cpp -DCMAKE_INSTALL_PREFIX=/home/rock64/ros_catkin_ws/install_isolated -DCMAKE_BUILD_TYPE=Release -G 'Unix Makefiles'
Command failed, exiting.