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

Re: [ROS] Bringing ros-visualization to Debian



Hi Jochen,

Yes, I have qtbase5-dev installed and qnamespace.h is located at
/usr/include/x86_64-linux-gnu/qt5/QtCore. Since the shiboken command
line includes "-I/usr/include/x86_64-linux-gnu/qt5/" it should be able
to find the header file...

Dino

Am Donnerstag, den 06.09.2018, 23:17 +0200 schrieb Jochen Sprickerhof:
> Hi Dino,
> 
> * H. <work@hllmnn.de> [2018-09-06 11:36]:
> > > 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.
> > (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/q
> > t_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:
> 
> QtCore/qnamespace.h is in qtbase5-dev, do you have that installed?
> 
> Cheers Jochen


Reply to: