Setup new ubuntu 16.04 environment to build rviz of ros2, there are always some dependence package not found, here list build errors and fixing solution for reference.
Follow rviz 2 [readme.md](
https://github.com/ros2/rviz):
###############################################
Could NOT find SDL2 (missing: SDL2_LIBRARY SDL2_INCLUDE_DIR)
> apt-get install libsdl2-dev
###############################################
###############################################
By not providing "FindQt5.cmake" in CMAKE_MODULE_PATH this project has
asked CMake to find a package configuration file provided by "Qt5", but
CMake did not find one.
Could not find a package configuration file provided by "Qt5" with any of
the following names:
Qt5Config.cmake
qt5-config.cmake
> apt-get install qt5-defalut
###############################################
Could not find freeimage library
>apt-get install libfreeimage-dev
###############################################
Checking for module 'yaml-cpp>=0.5'
CMake Error at /usr/share/cmake-3.5/Modules/FindPkgConfig.cmake:367 (message):
A required package was not found
>apt-get install libyaml-cpp-dev
###############################################
Could not find a package configuration file provided by "ASSIMP" with any
of the following names:
ASSIMPConfig.cmake
assimp-config.cmake
> apt-get install libassimp-dev
###############################################
Could NOT find CURL (missing: CURL_LIBRARY CURL_INCLUDE_DIR)
>apt-get install libcurl4-openssl-dev
###############################################
---
[Visit Topic](
https://discourse.ros.org/t/rviz-build-on-linux/3225/1) or reply to this email to respond.
If you do not want to receive messages from ros-users please use the unsubscribe link below. If you use the one above, you will stop all of ros-users from receiving updates.
______________________________________________________________________________
ros-users mailing list
ros-users@lists.ros.org
http://lists.ros.org/mailman/listinfo/ros-users
Unsubscribe: <
http://lists.ros.org/mailman//options/ros-users>