[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: [ROS] Bringing ros-visualization to Debian



Attachment was missing...

Am Donnerstag, den 06.09.2018, 11:14 +0200 schrieb H.:
> Hi,
> 
> First of all I have to say that it's great to work with ROS under
> Debian because it just works out-of-the-box without any additional
> package sources.
> 
> A couple of months ago I tried to use the ros-visualization package
> which is not available in the Debian sources. I think there was a big
> Qt transition going on at that time. Since the visualization tools
> depend heavily on Qt, I wasn't able to build them. However, today I
> tried again and got the tools basically running, so maybe they could
> be
> put into a package now.
> 
> During my experiments I encountered one problem: The shiboken
> generator
> wasn't able to find some include files, although they exist and the
> include paths are set correctly in the command line (according to the
> output of the generator which I attached). However, if I disable the
> shiboken part in the corresponding CMakeLists.txt
> (qt_gui_core/qt_gui_cpp/src/qt_gui_cpp_shiboken) the build succeeds
> and
> I can use tools like rqt_plot. Maybe this can be fixed, but that's
> beyond my knowledge.
> 
> Best,
> Dino
Base path: /home/user/data/dev/ros_packages
Source space: /home/user/data/dev/ros_packages/src
Build space: /home/user/data/dev/ros_packages/build
Devel space: /home/user/data/dev/ros_packages/devel
Install space: /home/user/data/dev/ros_packages/install
####
#### Running command: "make cmake_check_build_system" in "/home/user/data/dev/ros_packages/build"
####
-- Using CATKIN_DEVEL_PREFIX: /home/user/data/dev/ros_packages/devel
-- Using CMAKE_PREFIX_PATH: /home/user/data/dev/ros_packages/devel;/home/user/data/dev/sim/devel
-- This workspace overlays: /home/user/data/dev/ros_packages/devel;/home/user/data/dev/sim/devel
-- Found PythonInterp: /usr/bin/python (found version "3.6.6") 
-- Using PYTHON_EXECUTABLE: /usr/bin/python
-- Using Debian Python package layout
-- Using empy: /usr/bin/empy
-- Using CATKIN_ENABLE_TESTING: ON
-- Call enable_testing()
-- Using CATKIN_TEST_RESULTS_DIR: /home/user/data/dev/ros_packages/build/test_results
-- Found gtest: gtests will be built
-- nosetests not found, Python tests can not be run (try installing package 'python3-nose')
-- catkin 0.7.14
-- BUILD_SHARED_LIBS is on
-- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
-- ~~  traversing 12 packages in topological order:
-- ~~  - qt_dotgraph
-- ~~  - qt_gui
-- ~~  - qt_gui_app
-- ~~  - qt_gui_core (metapackage)
-- ~~  - qt_gui_cpp
-- ~~  - qt_gui_py_common
-- ~~  - rqt (metapackage)
-- ~~  - rqt_gui
-- ~~  - rqt_gui_cpp
-- ~~  - rqt_gui_py
-- ~~  - rqt_plot
-- ~~  - rqt_py_common
-- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
-- +++ processing catkin package: 'qt_dotgraph'
-- ==> add_subdirectory(qt_gui_core/qt_dotgraph)
-- skipping nosetests(test) in project 'qt_dotgraph'
-- +++ processing catkin package: 'qt_gui'
-- ==> add_subdirectory(qt_gui_core/qt_gui)
-- +++ processing catkin package: 'qt_gui_app'
-- ==> add_subdirectory(qt_gui_core/qt_gui_app)
-- +++ processing catkin metapackage: 'qt_gui_core'
-- ==> add_subdirectory(qt_gui_core/qt_gui_core)
-- +++ processing catkin package: 'qt_gui_cpp'
-- ==> add_subdirectory(qt_gui_core/qt_gui_cpp)
-- Boost version: 1.62.0
-- Found the following Boost libraries:
--   filesystem
--   system
-- Shiboken2Config: Using default python: -python2.7.x86_64-linux-gnu
-- libshiboken built for Release
Using SHIBOKEN_LIBRARY: /usr/lib/x86_64-linux-gnu/libshiboken2-python2.7.x86_64-linux-gnu.so
Using PYSIDE_LIBRARY: /usr/lib/x86_64-linux-gnu/libpyside2-python2.7.x86_64-linux-gnu.so
-- Shiboken binding generator available.
-- Found PythonInterp: /usr/bin/python (found suitable version "3.6.6", minimum required is "3.6") 
-- SIP binding generator available.
-- Python binding generators: shiboken;sip
-- +++ processing catkin package: 'qt_gui_py_common'
-- ==> add_subdirectory(qt_gui_core/qt_gui_py_common)
-- +++ processing catkin metapackage: 'rqt'
-- ==> add_subdirectory(rqt/rqt)
-- +++ processing catkin package: 'rqt_gui'
-- ==> add_subdirectory(rqt/rqt_gui)
-- +++ processing catkin package: 'rqt_gui_cpp'
-- ==> add_subdirectory(rqt/rqt_gui_cpp)
-- +++ processing catkin package: 'rqt_gui_py'
-- ==> add_subdirectory(rqt/rqt_gui_py)
-- +++ processing catkin package: 'rqt_plot'
-- ==> add_subdirectory(rqt_plot)
-- +++ processing catkin package: 'rqt_py_common'
-- ==> add_subdirectory(rqt/rqt_py_common)
-- Using these message generators: gencpp;genlisp;genpy
-- rqt_py_common: 2 messages, 0 services
-- skipping nosetests(test) in project 'rqt_py_common'
-- Configuring done
-- Generating done
-- Build files have been written to: /home/user/data/dev/ros_packages/build
####
#### Running command: "make -j1" in "/home/user/data/dev/ros_packages/build"
####
[ 33%] Built target qt_gui_cpp
[ 35%] Running Shiboken generator for libqt_gui_cpp Python bindings...
qt.shiboken: (typesystem) Unknown attribute for 'add-function': 'allow-thread'
(typesystem) clang_parseTranslationUnit2(0x0, cmd[15]=-isystem /usr/lib/llvm-6.0/lib/clang/6.0.1/include -std=c++14 -fPIC -fno-exceptions -Wno-constant-logical-operand -I/home/user/data/dev/ros_packages/src/qt_gui_core/qt_gui_cpp/src/qt_gui_cpp_shiboken/../../include -I -I/usr/include/x86_64-linux-gnu/qt5/ -I/usr/include/x86_64-linux-gnu/qt5/QtWidgets -I/usr/include/x86_64-linux-gnu/qt5/QtGui -I/usr/include/x86_64-linux-gnu/qt5/QtCore -I/usr/lib/x86_64-linux-gnu/qt5//mkspecs/linux-g++ -I/usr/include /tmp/global_Cdvakp.hpp)
/usr/include/PySide2/pyside2_global.h:40:10: fatal error: 'QtCore/qnamespace.h' file not found
(typesystem) Errors in /tmp/global_Cdvakp.hpp:
/usr/include/PySide2/pyside2_global.h:40:10: fatal: 'QtCore/qnamespace.h' file not found
   /tmp/global_Cdvakp.hpp:1:10: note: in file included from /tmp/global_Cdvakp.hpp:1:
   /home/user/data/dev/ros_packages/src/qt_gui_core/qt_gui_cpp/src/qt_gui_cpp_shiboken/global.h:37:10: note: in file included from /home/user/data/dev/ros_packages/src/qt_gui_core/qt_gui_cpp/src/qt_gui_cpp_shiboken/global.h:37:


(typesystem) Clang: 1 diagnostic messages:
  /usr/include/PySide2/pyside2_global.h:40:10: fatal: 'QtCore/qnamespace.h' file not found
   /tmp/global_Cdvakp.hpp:1:10: note: in file included from /tmp/global_Cdvakp.hpp:1:
   /home/user/data/dev/ros_packages/src/qt_gui_core/qt_gui_cpp/src/qt_gui_cpp_shiboken/global.h:37:10: note: in file included from /home/user/data/dev/ros_packages/src/qt_gui_core/qt_gui_cpp/src/qt_gui_cpp_shiboken/global.h:37:


Keeping temporary file: /tmp/global_Cdvakp.hpp
shiboken: Error running ApiExtractor.
Command line: --generatorSet=shiboken --include-paths=/home/user/data/dev/ros_packages/src/qt_gui_core/qt_gui_cpp/src/qt_gui_cpp_shiboken/../../include::/usr/include/x86_64-linux-gnu/qt5/:/usr/include/x86_64-linux-gnu/qt5/QtWidgets:/usr/include/x86_64-linux-gnu/qt5/QtGui:/usr/include/x86_64-linux-gnu/qt5/QtCore:/usr/lib/x86_64-linux-gnu/qt5//mkspecs/linux-g++:/usr/include --typesystem-paths=/usr/share/PySide2/typesystems --output-directory=/home/user/data/dev/ros_packages/build/qt_gui_core/qt_gui_cpp/src/qt_gui_cpp_shiboken WOHOOOOOOOOOOOOOOO global.h typesystem.xml
make[2]: *** [qt_gui_core/qt_gui_cpp/src/qt_gui_cpp_shiboken/CMakeFiles/qt_gui_cpp_shiboken.dir/build.make:75: qt_gui_core/qt_gui_cpp/src/qt_gui_cpp_shiboken/libqt_gui_cpp_shiboken/libqt_gui_cpp_shiboken_module_wrapper.cpp] Fehler 1
make[1]: *** [CMakeFiles/Makefile2:451: qt_gui_core/qt_gui_cpp/src/qt_gui_cpp_shiboken/CMakeFiles/qt_gui_cpp_shiboken.dir/all] Fehler 2
make: *** [Makefile:141: all] Fehler 2
Invoking "make -j1" failed


Reply to: