-
Notifications
You must be signed in to change notification settings - Fork 100
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Problem in building the package. #14
Comments
This could be due to fcl version conflict. Try removing all previously installed fcl related files (probably in usr/local/lib, include, lib/cmake) from the system and install fcl version 0.5. |
You may also use the fcl-0.6 branch. It works with ROS melodic. |
I tried that but nothing. pkg-config fcl --modversion |
Just like issue #11, I get a lot of errors. A little introduction to my system - ROS Melodic - Ubuntu 18.04. I have installed and built FCL Library many times in many workspaces. Didn't resolve the problem. Tried installing 0.5.0 as stated in a different issue. It didn't work. Please address this problem.
The errors are depicted as follows:
Errors << path_planning:make /home/bharath/drone_ws/logs/path_planning/build.make.009.log
In file included from /usr/local/include/fcl/BV/RSS.h:41:0,
from /usr/local/include/fcl/ccd/motion_base.h:46,
from /usr/local/include/fcl/collision_object.h:45,
from /usr/local/include/fcl/octree.h:52,
from /home/bharath/drone_ws/src/path_planning/src/old_path_planning.cpp:40:
/home/bharath/drone_ws/devel/include/fcl/math/constants.h:131:1: error: expected primary-expression before ‘typedef’
typedef typename detail::ScalarTrait::type Real;
^
/home/bharath/drone_ws/devel/include/fcl/math/constants.h:131:1: error: expected ‘}’ before ‘typedef’
/home/bharath/drone_ws/devel/include/fcl/math/constants.h:131:1: error: expected ‘;’ before ‘typedef’
/home/bharath/drone_ws/devel/include/fcl/math/constants.h:134:18: error: ‘S’ does not name a type
static constexpr S pi() { return S(3.141592653589793238462643383279502884197169399375105820974944592L); }
^
/home/bharath/drone_ws/devel/include/fcl/math/constants.h:137:18: error: ‘S’ does not name a type
static constexpr S phi() { return S(1.618033988749894848204586834365638117720309179805762862135448623L); }
^
/home/bharath/drone_ws/devel/include/fcl/math/constants.h:145:8: error: ‘Real’ does not name a type; did you mean ‘read’?
static Real gjk_default_tolerance() {
^
read
/home/bharath/drone_ws/devel/include/fcl/math/constants.h:151:8: error: ‘Real’ does not name a type; did you mean ‘read’?
static Real eps() {
^
read
/home/bharath/drone_ws/devel/include/fcl/math/constants.h:160:8: error: ‘Real’ does not name a type; did you mean ‘read’?
static Real eps_78() {
^
read
/home/bharath/drone_ws/devel/include/fcl/math/constants.h:166:8: error: ‘Real’ does not name a type; did you mean ‘read’?
static Real eps_34() {
^
read
/home/bharath/drone_ws/devel/include/fcl/math/constants.h:172:8: error: ‘Real’ does not name a type; did you mean ‘read’?
static Real eps_12() {
^
read
/home/bharath/drone_ws/devel/include/fcl/math/constants.h:179:20: error: ‘constants’ does not name a type; did you mean ‘constexpr’?
using constantsf = constants;
^
constexpr
/home/bharath/drone_ws/devel/include/fcl/math/constants.h:180:20: error: ‘constants’ does not name a type; did you mean ‘constexpr’?
using constantsd = constants;
^
constexpr
/home/bharath/drone_ws/devel/include/fcl/math/constants.h:182:1: error: expected declaration before ‘}’ token
} // namespace fcl
^
In file included from /usr/local/include/fcl/BV/RSS.h:41:0,
from /usr/local/include/fcl/ccd/motion_base.h:46,
from /usr/local/include/fcl/collision_object.h:45,
from /usr/local/include/fcl/octree.h:52,
from /home/bharath/drone_ws/src/path_planning/src/path_planning.cpp:41:
/home/bharath/drone_ws/devel/include/fcl/math/constants.h:131:1: error: expected primary-expression before ‘typedef’
typedef typename detail::ScalarTrait::type Real;
^
/home/bharath/drone_ws/devel/include/fcl/math/constants.h:131:1: error: expected ‘}’ before ‘typedef’
/home/bharath/drone_ws/devel/include/fcl/math/constants.h:131:1: error: expected ‘;’ before ‘typedef’
/home/bharath/drone_ws/devel/include/fcl/math/constants.h:134:18: error: ‘S’ does not name a type
static constexpr S pi() { return S(3.141592653589793238462643383279502884197169399375105820974944592L); }
^
/home/bharath/drone_ws/devel/include/fcl/math/constants.h:137:18: error: ‘S’ does not name a type
static constexpr S phi() { return S(1.618033988749894848204586834365638117720309179805762862135448623L); }
^
/home/bharath/drone_ws/devel/include/fcl/math/constants.h:145:8: error: ‘Real’ does not name a type; did you mean ‘read’?
static Real gjk_default_tolerance() {
^
read
/home/bharath/drone_ws/devel/include/fcl/math/constants.h:151:8: error: ‘Real’ does not name a type; did you mean ‘read’?
static Real eps() {
^
read
/home/bharath/drone_ws/devel/include/fcl/math/constants.h:160:8: error: ‘Real’ does not name a type; did you mean ‘read’?
static Real eps_78() {
^
read
/home/bharath/drone_ws/devel/include/fcl/math/constants.h:166:8: error: ‘Real’ does not name a type; did you mean ‘read’?
static Real eps_34() {
^
read
/home/bharath/drone_ws/devel/include/fcl/math/constants.h:172:8: error: ‘Real’ does not name a type; did you mean ‘read’?
static Real eps_12() {
^
read
/home/bharath/drone_ws/devel/include/fcl/math/constants.h:179:20: error: ‘constants’ does not name a type; did you mean ‘constexpr’?
using constantsf = constants;
^
constexpr
/home/bharath/drone_ws/devel/include/fcl/math/constants.h:180:20: error: ‘constants’ does not name a type; did you mean ‘constexpr’?
using constantsd = constants;
^
constexpr
/home/bharath/drone_ws/devel/include/fcl/math/constants.h:182:1: error: expected declaration before ‘}’ token
} // namespace fcl
^
make[2]: *** [CMakeFiles/old_path_planning.dir/src/old_path_planning.cpp.o] Error 1
make[1]: *** [CMakeFiles/old_path_planning.dir/all] Error 2
make[1]: *** Waiting for unfinished jobs....
make[2]: *** [CMakeFiles/path_planning_node.dir/src/path_planning.cpp.o] Error 1
make[1]: *** [CMakeFiles/path_planning_node.dir/all] Error 2
make: *** [all] Error 2
cd /home/bharath/drone_ws/build/path_planning; catkin build --get-env path_planning | catkin env -si /usr/bin/make --jobserver-fds=6,7 -j; cd -
The text was updated successfully, but these errors were encountered: