osrf / robocup3ds

Gazebo support for the RoboCup 3D simulation league.
11 stars 2 forks source link

Compiling error on default branch #10

Closed osrf-migration closed 9 years ago

osrf-migration commented 9 years ago

Original report (archived issue) by nima shafii (Bitbucket: nima_sh).


I have compiling error for compiling Geometry.CC in default branch and other branches that has been recently updated. This bug should be created during the last week. I should update my ingnition::math Library and what is the version of the ignition math has been used.

The Error:

#!Error

 11%] Building CXX object src/CMakeFiles/robocup3dsPlugin.dir/Geometry.cc.o
/home/nima/project/robocup3ds/src/Geometry.cc: In function ‘bool Geometry::PointAbovePlane(const ignition::math::Vector3<double>&, const ignition::math::Plane<double>&)’:
/home/nima/project/robocup3ds/src/Geometry.cc:64:17: error: ‘const class ignition::math::Plane<double>’ has no member named ‘Side’
   return _plane.Side(_pt) == math::Plane<double>::POSITIVE_SIDE;
                 ^
/home/nima/project/robocup3ds/src/Geometry.cc:64:30: error: ‘POSITIVE_SIDE’ is not a member of ‘ignition::math::Plane<double>’
   return _plane.Side(_pt) == math::Plane<double>::POSITIVE_SIDE;
                              ^
/home/nima/project/robocup3ds/src/Geometry.cc:65:1: warning: control reaches end of non-void function [-Wreturn-type]
 }
 ^
make[2]: *** [src/CMakeFiles/robocup3dsPlugin.dir/Geometry.cc.o] Error 1
make[1]: *** [src/CMakeFiles/robocup3dsPlugin.dir/all] Error 2

`

osrf-migration commented 9 years ago

Original comment by Louise Poubel (Bitbucket: chapulina, GitHub: chapulina).


Maybe you need to pull the latest version of ign-math? Plane sides were added on pull request 51

osrf-migration commented 9 years ago

Original comment by nima shafii (Bitbucket: nima_sh).


The issue was resolved by using the latest version of ign-math in default branch.

osrf-migration commented 9 years ago

Original comment by nima shafii (Bitbucket: nima_sh).