[Discourse.ros.org] [Next Generation ROS] Rviz build on Linux

classic Classic list List threaded Threaded
5 messages Options
Reply | Threaded
Open this post in threaded view
|

[Discourse.ros.org] [Next Generation ROS] Rviz build on Linux

Mikael Arguedas via ros-users


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
[hidden email]
http://lists.ros.org/mailman/listinfo/ros-users
Unsubscribe: <http://lists.ros.org/mailman//options/ros-users>
Reply | Threaded
Open this post in threaded view
|

[Discourse.ros.org] [Next Generation ROS] Rviz build on Linux

Mikael Arguedas via ros-users


Thanks very much for your work here, Chris. It seems that the make file is
quite a mess! You saved a lot of us less skilled people a lot of hunting
and despair.





---
[Visit Topic](https://discourse.ros.org/t/rviz-build-on-linux/3225/2) 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
[hidden email]
http://lists.ros.org/mailman/listinfo/ros-users
Unsubscribe: <http://lists.ros.org/mailman//options/ros-users>
Reply | Threaded
Open this post in threaded view
|

[Discourse.ros.org] [Next Generation ROS] Rviz build on Linux

Mikael Arguedas via ros-users
In reply to this post by Mikael Arguedas via ros-users


Hi Chris, thanks for documenting the RViz dependencies!

We are aware that the build instructions are not very clear right now.
The following pull request should make it clearer:
https://github.com/ros2/rviz/pull/117

Some comments regarding your findings:
- Thanks to your post I noticed that the instructions still missed curl in the dependency list and added it.
- FreeImage is currently not required for building RViz. The error message is printed but it is not relevant for now.
- SDL is built automatically together with OGRE. It should therefore not be necessary to install the apt package.
However, installing the SDL apt package also installs two required dependencies, namely `libgles2-mesa-dev` and `libglu1-mesa-dev`. These are included in the new build instructions.





---
[Visit Topic](https://discourse.ros.org/t/rviz-build-on-linux/3225/3) 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
[hidden email]
http://lists.ros.org/mailman/listinfo/ros-users
Unsubscribe: <http://lists.ros.org/mailman//options/ros-users>
Reply | Threaded
Open this post in threaded view
|

[Discourse.ros.org] [Next Generation ROS] Rviz build on Linux

Mikael Arguedas via ros-users
In reply to this post by Mikael Arguedas via ros-users


I have an equivalent error on OSX.  Have you update the relevant instructions, also?
Thanks Dennis





---
[Visit Topic](https://discourse.ros.org/t/rviz-build-on-linux/3225/4) 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
[hidden email]
http://lists.ros.org/mailman/listinfo/ros-users
Unsubscribe: <http://lists.ros.org/mailman//options/ros-users>
Reply | Threaded
Open this post in threaded view
|

[Discourse.ros.org] [Next Generation ROS] Rviz build on Linux

Mikael Arguedas via ros-users
In reply to this post by Mikael Arguedas via ros-users


I do not try on OSX, hope anyone else working on OSX could help you





---
[Visit Topic](https://discourse.ros.org/t/rviz-build-on-linux/3225/5) 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
[hidden email]
http://lists.ros.org/mailman/listinfo/ros-users
Unsubscribe: <http://lists.ros.org/mailman//options/ros-users>