failed to process qt_gui_cpp

asked 2018-02-27 23:49:53 -0600

bear234 gravatar image

I'm following this link to compile ROS from source.

After executing the command ./src/catkin/bin/catkin_make_isolated --install -DCMAKE_BUILD_TYPE=Release, I got such an error:

type 'QDataWidgetMapper' is specified in typesystem, but not defined. This could potentially lead to compilation errors.
type 'QTreeWidget' is specified in typesystem, but not defined. This could potentially lead to compilation errors.
type 'QGraphicsPixmapItem' is specified in typesystem, but not defined. This could potentially lead to compilation errors.
enum 'QAbstractItemView::ScrollMode' is specified in typesystem, but not declared enum 'QListWidgetItem::ItemType' is specified in typesystem, but not declared
type 'QMovie' is specified in typesystem, but not defined. This could potentially lead to compilation errors.
type 'QToolBox' is specified in typesystem, but not defined. This could potentially lead to compilation errors.
enum 'QStyleOptionTitleBar::StyleOptionType' is specified in typesystem, but not declared
type 'QDial' is specified in typesystem, but not defined. This could potentially lead to compilation errors.
signature 'QCoreApplication(int&,char)' for function modification in 'QCoreApplication' not found. Possible candidates: QCoreApplication(PySequence) in QCoreApplication, QCoreApplication(QCoreApplication) in QCoreApplication, QCoreApplication(int&,char,int) in QCoreApplication signature 'metaObject()const' for function modification in 'QObject' not found. Possible candidates: signature 'parent()const' for function modification in 'QSortFilterProxyModel' not found. Possible candidates: parent(QModelIndex)const in QSortFilterProxyModel

c++: error: /home/zyh/ros_catkin_ws/build_isolated/qt_gui_cpp/src/qt_gui_cpp_shiboken/libqt_gui_cpp_shiboken/qt_gui_cpp_genericproxy_wrapper.cpp: No such file or directory c++: error: /home/zyh/ros_catkin_ws/build_isolated/qt_gui_cpp/src/qt_gui_cpp_shiboken/libqt_gui_cpp_shiboken/qt_gui_cpp_plugindescriptor_wrapper.cpp: No such file or directory [ 90%] Building CXX object src/qt_gui_cpp_shiboken/CMakeFiles/qt_gui_cpp_shiboken.dir/libqt_gui_cpp_shiboken/qt_gui_cpp_wrapper.cpp.o c++: fatal error: no input files compilation terminated. c++: error: /home/zyh/ros_catkin_ws/build_isolated/qt_gui_cpp/src/qt_gui_cpp_shiboken/libqt_gui_cpp_shiboken/qt_gui_cpp_compositepluginprovider_wrapper.cpp: No such file or directory c++: fatal error: no input files compilation terminated. c++: error: /home/zyh/ros_catkin_ws/build_isolated/qt_gui_cpp/src/qt_gui_cpp_shiboken/libqt_gui_cpp_shiboken/qt_gui_cpp_plugin_wrapper.cpp: No such file or directory c++: fatal error: no input files compilation terminated. c++: error: /home/zyh/ros_catkin_ws/build_isolated/qt_gui_cpp/src/qt_gui_cpp_shiboken/libqt_gui_cpp_shiboken/qt_gui_cpp_pluginprovider_wrapper.cpp: No such file or directory c++: fatal error: no input files CMakeFiles/Makefile2:541: recipe for target 'src/qt_gui_cpp_shiboken/CMakeFiles/qt_gui_cpp_shiboken.dir/all' failed make[1]: * [src/qt_gui_cpp_shiboken/CMakeFiles/qt_gui_cpp_shiboken.dir/all] Error 2 Makefile:140: recipe for target 'all' failed make: * [all] Error 2 <== Failed to process package 'qt_gui_cpp': Command '['/home/zyh/ros_catkin_ws/install_isolated/env.sh', 'make', '-j40', '-l40']' returned non-zero exit status 2

Reproduce this error by running: ==> cd /home/zyh/ros_catkin_ws/build_isolated/qt_gui_cpp && /home/zyh/ros_catkin_ws/install_isolated/env.sh make -j40 -l40

Command failed, exiting.

edit retag flag offensive close merge delete