problem in qt when added ros.h
i added ros/ros.h include in my qt and when i run the program ther are problem that : /usr/include/qt4/ros/ros.h:38: error: ros/time.h: No such file or directory and :
ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange |
i added ros/ros.h include in my qt and when i run the program ther are problem that : /usr/include/qt4/ros/ros.h:38: error: ros/time.h: No such file or directory and :
i added ros/ros.h include in my qt and when i run the program ther are problem that : /usr/include/qt4/ros/ros.h:38: error: ros/time.h: No such file or directory and :
This looks like you edited files in /usr/include, which you should never need to do! Anyway, either you didn't install ros or you didn't specify to the compiler where to find it. There is no way to help you without more details about what you did.
However, since it looks like you don't know what you are doing in general (I am sorry if I am wrong here), I would recommend to have a look into basic tutorials for programming c++ with ros.
What are you trying to do? Do you have a QT Project and you want to include some ROS functionality? Or do you just want to use the QT-Creator as an IDE?
I suggest to have look at previous postings regarding the use of QT and ROS: ros.answer tags qt
and especially at this question and the suggestion to switch to qt-cmake. Qt-Creator and ROS
i used joystick class to control robot , when i add ros.h to use ros in my class or create a node to this , qt creator show this problem message
Asked: 2011-10-23 20:35:05 -0600
Seen: 1,868 times
Last updated: Oct 23 '11
Is ROS still looking at using Qt?
Is anybody in ROS community using PySide?
how to use external libraries in ROS code?
Why all pop-up windows can't appear on ROS diamondback?
image colors change when starting application with launch file
Looking for an existing ROS + Qt example
Send data from one laptop(code blocks) to another laptop(ros packages)?