Quantcast
Channel: Gazebo: Q&A Forum - RSS feed
Viewing all articles
Browse latest Browse all 7017

Invalid use of template name 'ignition::math::v5::Box'

$
0
0
I am on Ubuntu 16.04, Kernel 4.17 I have successfully build from source ign-cmake, ign-common1, ign-fuel-tools1, ign-math4, ign-msgs, ign-msgs, ign-transport, sdformat6. Whilst making gazebo from this page [Gazebo::Install from Source](http://gazebosim.org/tutorials?tut=install_from_source), I ran into the following errors. In file included from /home/ryan/Documents/source/gazebo/gazebo/rendering/ApplyWrenchVisual.cc:24:0: /home/ryan/Documents/source/gazebo/gazebo/rendering/MovableText.hh:217:15: error: invalid use of template-name ‘ignition::math::v5::Box’ without an argument list public: ignition::math::Box AABB(); ^ In file included from /home/ryan/Documents/source/gazebo/gazebo/rendering/Scene.hh:39:0, from /home/ryan/Documents/source/gazebo/gazebo/rendering/ApplyWrenchVisual.cc:26: /home/ryan/Documents/source/gazebo/gazebo/rendering/Visual.hh:478:15: error: invalid use of template-name ‘ignition::math::v5::Box’ without an argument list public: ignition::math::Box BoundingBox() const; ^ /home/ryan/Documents/source/gazebo/gazebo/rendering/Visual.hh:776:50: error: ‘ignition::math::Box’ is not a type ignition::math::Box &_box) const; ^ /home/ryan/Documents/source/gazebo/gazebo/rendering/ApplyWrenchVisual.cc: In member function ‘void gazebo::rendering::ApplyWrenchVisual::UpdateTorqueVisual()’: /home/ryan/Documents/source/gazebo/gazebo/rendering/ApplyWrenchVisual.cc:368:39: error: ‘class gazebo::rendering::Visual’ has no member named ‘BoundingBox’ double linkDiagonal = dPtr->parent->BoundingBox().Size().Length(); ^ /home/ryan/Documents/source/gazebo/gazebo/rendering/ApplyWrenchVisual.cc: In member function ‘void gazebo::rendering::ApplyWrenchVisual::Resize()’: /home/ryan/Documents/source/gazebo/gazebo/rendering/ApplyWrenchVisual.cc:396:49: error: ‘class gazebo::rendering::Visual’ has no member named ‘BoundingBox’ double linkSize = std::max(0.1, dPtr->parent->BoundingBox().Size().Length()); ^ gazebo/rendering/CMakeFiles/gazebo_rendering.dir/build.make:62: recipe for target 'gazebo/rendering/CMakeFiles/gazebo_rendering.dir/ApplyWrenchVisual.cc.o' failed make[2]: *** [gazebo/rendering/CMakeFiles/gazebo_rendering.dir/ApplyWrenchVisual.cc.o] Error 1 CMakeFiles/Makefile2:2599: recipe for target 'gazebo/rendering/CMakeFiles/gazebo_rendering.dir/all' failed make[1]: *** [gazebo/rendering/CMakeFiles/gazebo_rendering.dir/all] Error 2 Makefile:162: recipe for target 'all' failed Have tried changing ignition::math::Box to ignition::math::v5::Box, but it didnt help Thanks for assisting.

Viewing all articles
Browse latest Browse all 7017

Trending Articles