Gazebo | Ignition | Community
Ask Your Question
0

Qt and cmake errors while building gazebo_ros_pkgs for ROS Groovy

asked 2013-10-17 19:44:07 -0500

bartTheBot gravatar image

Hello everyone,

I am installing Gazebo with ROS Groovy and I have landed up with a number of errors. First I installed Gazebo 1.9 from the Source using the link (http://gazebosim.org/wiki/1.9/install). Gazebo runs perfectly when I do the gazebo in the terminal. However, when I download the gazeborospkgs for ROS Groovy as stated in (http://gazebosim.org/wiki/Tutorials/1.9/InstallinggazeborosPackages), then I do a catkinmake, I get the following error::

CMake Error at /opt/ros/groovy/share/catkin/cmake/catkinConfig.cmake:72 (findpackage): Could not find a configuration file for package cmakemodules.

Set cmakemodulesDIR to the directory containing a CMake configuration file for cmake_modules. The file will have one of the following names:

cmake_modulesConfig.cmake
cmake_modules-config.cmake

I did try the solution from this forum using the link (http://answers.gazebosim.org/question/4026/installing-gazebo-19-and-gazeborospkgs-from/), where I did a "git clone https://github.com/ros/cmakemodules.git" in the catkinws/src, but unfortunately it did not solve the problem. Then I removed roscontrol, roscontroller, realtimetools, and controltoolbox from the src directory since I did not find any dependency for the gazeborospkgs. Now, when I build the gazeborospkgs, I get the following error at around 95% of the build process.

/usr/local/lib/libgazeboguibuilding.so: error: undefined reference to 'QTextEdit::QTextEdit(QWidget)' /usr/local/lib/libgazebo_gui_building.so: error: undefined reference to 'QTextEdit::setText(QString const&)' /usr/local/lib/libgazebo_gui_building.so: error: undefined reference to 'QTextEdit::setReadOnly(bool)' /usr/local/lib/libgazebo_gui_building.so: error: undefined reference to 'QGraphicsScene::sceneRect() const' /usr/local/lib/libgazebo_gui_building.so: error: undefined reference to 'QGraphicsScene::setSceneRect(QRectF const&)' /usr/local/lib/libgazebo_gui_building.so: error: undefined reference to 'QWidget::move(QPoint const&)' /usr/local/lib/libgazebo_gui_building.so: error: undefined reference to 'QCursor::QCursor(QPixmap const&, int, int)' /usr/local/lib/libgazebo_gui_building.so: error: undefined reference to 'QGraphicsScene::QGraphicsScene(QObject)' /usr/local/lib/libgazeboguibuilding.so: error: undefined reference to 'QGraphicsScene::setBackgroundBrush(QBrush const&)' /usr/local/lib/libgazeboguibuilding.so: error: undefined reference to 'QGraphicsView::setScene(QGraphicsScene)' /usr/local/lib/libgazebo_gui_building.so: error: undefined reference to 'QGraphicsView::centerOn(QPointF const&)' /usr/local/lib/libgazebo_gui_building.so: error: undefined reference to 'QGraphicsView::setViewportUpdateMode(QGraphicsView::ViewportUpdateMode)' /usr/local/lib/libgazebo_gui_building.so: error: undefined reference to 'QGraphicsView::setDragMode(QGraphicsView::DragMode)' /usr/local/lib/libgazebo_gui_building.so: error: undefined reference to 'QGraphicsScene::addItem(QGraphicsItem)'

What should I do? I do have the QtDir set in the bashrc file. Please help.

Thanks

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
0

answered 2013-10-17 20:01:03 -0500

bartTheBot gravatar image

Okay, the cmakemodulesConfig.cmake cmakemodules-config.cmake

error has been resolved using the solution in the link. My bad, I did a petty mistake; however, the QErrors are still there. Any help will be appreciated.

Thanks..

edit flag offensive delete link more

Question Tools

Stats

Asked: 2013-10-17 19:44:07 -0500

Seen: 1,155 times

Last updated: Oct 17 '13