building from source ros-hydro, Fatal Error : QWidget [closed]
Hi everyone!! I m newbie to Ros platform. now I m trying to build ros-hydro from source on the ubuntu 12.04 precise but I had have a problem dealing with QWidget. This problems output is below, it says those errors
In file included from /home/mckenzie34/ros_catkin_ws/src/qt_gui_core/qt_gui_cpp/include/qt_gui_cpp/plugin.h:37:0, from /home/mckenzie34/ros_catkin_ws/src/qt_gui_core/qt_gui_cpp/src/qt_gui_cpp/plugin_bridge.cpp:35: /home/mckenzie34/ros_catkin_ws/src/qt_gui_core/qt_gui_cpp/include/qt_gui_cpp/plugin_context.h:43:19: fatal error: QWidget: No such file or directory #include <qwidget> ^ In file included from /home/mckenzie34/ros_catkin_ws/src/qt_gui_core/qt_gui_cpp/include/qt_gui_cpp/plugin.h:37:0, from /home/mckenzie34/ros_catkin_ws/src/qt_gui_core/qt_gui_cpp/include/qt_gui_cpp/plugin_provider.h:36, from /home/mckenzie34/ros_catkin_ws/src/qt_gui_core/qt_gui_cpp/include/qt_gui_cpp/composite_plugin_provider.h:37, from /home/mckenzie34/ros_catkin_ws/src/qt_gui_core/qt_gui_cpp/src/qt_gui_cpp/composite_plugin_provider.cpp:33: /home/mckenzie34/ros_catkin_ws/src/qt_gui_core/qt_gui_cpp/include/qt_gui_cpp/plugin_context.h:43:19: fatal error: QWidget: No such file or directory #include <qwidget> ^ compilation terminated. compilation terminated. In file included from /home/mckenzie34/ros_catkin_ws/src/qt_gui_core/qt_gui_cpp/src/qt_gui_cpp/plugin_context.cpp:33:0: /home/mckenzie34/ros_catkin_ws/src/qt_gui_core/qt_gui_cpp/include/qt_gui_cpp/plugin_context.h:43:19: fatal error: QWidget: No such file or directory #include <qwidget> ^ compilation terminated. make[2]: * [src/qt_gui_cpp/CMakeFiles/qt_gui_cpp.dir/plugin_bridge.cpp.o] Error 1 make[2]: Waiting for unfinished jobs.... make[2]: [src/qt_gui_cpp/CMakeFiles/qt_gui_cpp.dir/composite_plugin_provider.cpp.o] Error 1 make[2]: [src/qt_gui_cpp/CMakeFiles/qt_gui_cpp.dir/plugin_context.cpp.o] Error 1 make[1]: [src/qt_gui_cpp/CMakeFiles/qt_gui_cpp.dir/all] Error 2 make: * [all] Error 2 <== Failed to process package 'qt_gui_cpp': Command '/home/mckenzie34/ros_catkin_ws/install_isolated/env.sh make -j4 -l4' returned non-zero exit status 2
Reproduce this error by running: ==> cd /home/mckenzie34/ros_catkin_ws/build_isolated/qt_gui_cpp && /home/mckenzie34/ros_catkin_ws/install_isolated/env.sh make -j4 -l4
Command failed, exiting.
I made googling a lot for fixed this problem but I have no luck! Whats the problem I dont know. I followed this page while I try to installing that and I prefered "ros-full-desktop-building". also I installed qt4 libraies (gui,core) from indepently this one but doesnt fix it. I hope that you to help me kindly :)
thanks in advance.
*and also I m sory for my english :(