Gazebo | Ignition | Community
Ask Your Question

fatal error: math/Vector3.hh: No such file or directory

asked 2013-03-14 09:04:32 -0500

lugd1229 gravatar image

I want to use, so follow the tutorial, but the system of gazebo update from 1.3 to 1.4, and then appear this error: fatal error: common/CommonTypes.hh: No such file or directory, so I modify the #include "common/CommonTypes.hh" to #include "gazebo-1.4/gazebo/common/CommonTypes.hh", and make it, then appear: fatal error: math/Vector3.hh: No such file or directory how to solve it? thanks a lot best guangda

edit retag flag offensive close merge delete


Could you edit the question and add the link for the tutorial you are following? Thanks

Jose Luis Rivero gravatar imageJose Luis Rivero ( 2013-03-14 11:58:26 -0500 )edit

and appear this error: osrfmsgs/JointCommands.h: No such file or directory, I think other files cannot be found, like#include <atlasmsgs/ForceTorqueSensors.h>// //#include <atlasmsgs/ControllerStatistics.h> //#include <sensormsgs/JointState.h> how to solve it ,thank you

lugd1229 gravatar imagelugd1229 ( 2013-03-14 14:07:53 -0500 )edit

I follow this tutorial : and, I hope I can use a plugin like atlas to control 7 joints and can measure all the force and torque of these joints, so I copy and atlasplugin.hh, and want to modify them to meet my need, but I meet lot of question,

lugd1229 gravatar imagelugd1229 ( 2013-03-14 14:14:59 -0500 )edit

1 Answer

Sort by ยป oldest newest most voted

answered 2013-03-15 06:28:20 -0500

Jose Luis Rivero gravatar image

Seems like the problem could be with the location of gazebo header files.

If they were installed from sources using no cmake variable to control destination, they are probably in /usr/local/include. /usr/local should be supplied as include path to the compiler.

You could try several solutions or workarounds, always keep the <common/CommonTypes.hh> this way, do not modify it:

  1. Install gazebo from ubuntu packages. Problem locating <common/CommonTypes.hh> should not appear.
  2. Install gazebo from sources using cmake .. -DCMAKE_INSTALL_PREFIX=/usr
  3. Modify the tutorial cmake to include /usr/local

Hope this helps.

edit flag offensive delete link more
Login/Signup to Answer

Question Tools


Asked: 2013-03-14 09:04:32 -0500

Seen: 3,486 times

Last updated: Mar 15 '13