Home | Tutorials | Wiki | Issues
Ask Your Question

Gazebo-1.6 Update : build probem

asked 2013-04-12 00:08:45 -0500

Bharadwaj Ramesh gravatar image

I recently updated drcsim and gazebo to drcsim-2.3 and gazebo-1.6. SInce then I am unable to build controllers. I think it is not able to find the include files.

/home/bharadwajramesh/gazeboplugintutorial/hello_world.cc:1:21: fatal error: gazebo.hh: No such file or directory

What is the problem here, am I missing something or is there something I should do ?

-thanks Bharadwaj

edit retag flag offensive close merge delete


are you using ROS along with it?

skhan gravatar imageskhan ( 2013-04-12 04:15:04 -0500 )edit

I have the DRCSim-2.3 also installed . I believe the DRCSim has Roc packages with it. So yeah, I do have ros

Bharadwaj Ramesh gravatar imageBharadwaj Ramesh ( 2013-04-12 08:50:57 -0500 )edit

2 Answers

Sort by ยป oldest newest most voted

answered 2013-04-12 09:26:27 -0500

Bharadwaj Ramesh gravatar image

I Have it fixed : I deleted all the files inside my build folder. And executed the cmake../ command inside the build forder again and build it. This WORKS. I dont know what it does though. If someone can tell me how it helped... it will be great. Thanks

edit flag offensive delete link more


When you run CMAKE, a lot of environment specific information is compiled into your executable files. So when the contents were made before, it might have created executables that, for instance, were dependent on the file path to the old version of Gazebo. These executables end up in your build folder. By clearing that out and re-CMAKEing everything, you recreate those executables with the up-to-date paths.

Ben B gravatar imageBen B ( 2013-04-12 16:28:33 -0500 )edit

answered 2013-04-12 00:11:44 -0500

gerkey gravatar image

Did you:

source /usr/share/drcsim/setup.sh


edit flag offensive delete link more


Yeah I did that and it is also present in my bashrc file

Bharadwaj Ramesh gravatar imageBharadwaj Ramesh ( 2013-04-12 00:24:36 -0500 )edit
Login/Signup to Answer

Question Tools


Asked: 2013-04-12 00:08:45 -0500

Seen: 1,000 times

Last updated: Apr 12 '13