Home | Tutorials | Wiki | Issues
Ask Your Question
0

<gazebo/gui/GuiPlugin.hh> is missed?

asked 2014-10-28 21:11:21 -0600

BenWashburn gravatar image

When I built the source file from GUI Overlay tutorial, there was a fetal error that <gazebo gui="" guiplugin.hh=""> is missed. So I looked into the include directory and found there was no such a header file. I searched on the Internet and hardly got anything, so I am stuck here and need some help. I installed gazebo-4.0 from the source code a few days ago and still was not familar with it. Did I missed something when I installed it? Or something else? Thanks.

edit retag flag offensive close merge delete

Comments

Which source file? And, can you post the console output?

nkoenig gravatar imagenkoenig ( 2014-10-29 18:17:19 -0600 )edit

Thanks. https://bitbucket.org/osrf/gazebo/src/default/examples/plugins/guioverlayplugin_spawn/ Here's the link of the source code. After the cmake step, I met the following errors when make it--fatal error: gazebo/gui/GuiPlugin.hh: No such file or directory.-- In the path /usr/local/include/gazebo4.0/gazebo, there exist other header files like <gui.hh> and <Plugin.hh> but no <GuiPlugin.hh>. So I have no idea what has gone wrong.

BenWashburn gravatar imageBenWashburn ( 2014-10-29 22:01:52 -0600 )edit

Here's the total console output: In file included from /home/ben/gazeboguispawn/build/mocGUIExampleSpawnWidget.cxx:9:0: /home/ben/gazeboguispawn/build/../GUIExampleSpawnWidget.hh:21:35: fatal error: gazebo/gui/GuiPlugin.hh: No such file and directory #include <gazebo/gui/GuiPlugin.hh> compilation terminated make[2]: * [CMakeFiles/guiexamplespawnwidget.dir/mocGUIExampleSpawnWidget.cxx.o] error 1 make[1]: * [CMakeFiles/guiexamplespawnwidget.dir/all] error 2 make: * [all] error 2

BenWashburn gravatar imageBenWashburn ( 2014-10-29 23:19:05 -0600 )edit

1 Answer

Sort by ยป oldest newest most voted
0

answered 2014-10-30 12:24:36 -0600

scpeters gravatar image

The GuiPlugin.hh header file is not present in gazebo4 and earlier. You must use the default branch (or gazebo_5.* or later branches once they are created).

edit flag offensive delete link more

Comments

Thanks a lot. That's quite helpful.

BenWashburn gravatar imageBenWashburn ( 2014-10-30 23:14:22 -0600 )edit

So how can I use "Overlay Gui" in earlier version of gazebo (e.g. gazebo2)

mohammadkassemzein gravatar imagemohammadkassemzein ( 2018-11-09 06:52:24 -0600 )edit

You can't, you must upgrade Gazebo.

chapulina gravatar imagechapulina ( 2018-11-09 10:14:04 -0600 )edit
Login/Signup to Answer

Question Tools

Stats

Asked: 2014-10-28 21:11:21 -0600

Seen: 240 times

Last updated: Oct 30 '14