You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi, I'm getting this error while running catkin build on my system. Can you please help me?
Extending: [env] /opt/ros/kinetic:/home/pravin/Documents/Projects/Pick_and_place_drone/path_planning/path_planning/devel
Workspace: /home/pravin/Documents/Projects/Pick_and_place_drone/path_planning/pp
------------------------------------------------------------------------------------------------------------------------------------
Build Space: [exists] /home/pravin/Documents/Projects/Pick_and_place_drone/path_planning/pp/build
Devel Space: [exists] /home/pravin/Documents/Projects/Pick_and_place_drone/path_planning/pp/devel
Install Space: [unused] /home/pravin/Documents/Projects/Pick_and_place_drone/path_planning/pp/install
Log Space: [missing] /home/pravin/Documents/Projects/Pick_and_place_drone/path_planning/pp/logs
Source Space: [exists] /home/pravin/Documents/Projects/Pick_and_place_drone/path_planning/pp/src
DESTDIR: [unused] None
------------------------------------------------------------------------------------------------------------------------------------
Devel Space Layout: linked
Install Space Layout: None
------------------------------------------------------------------------------------------------------------------------------------
Additional CMake Args: None
Additional Make Args: None
Additional catkin Make Args: None
Internal Make Job Server: True
Cache Job Environments: False
------------------------------------------------------------------------------------------------------------------------------------
Whitelisted Packages: None
Blacklisted Packages: None
------------------------------------------------------------------------------------------------------------------------------------
Workspace configuration appears valid.
------------------------------------------------------------------------------------------------------------------------------------
[build] Found '1' packages in 0.0 seconds.
[build] Updating package table.
Warning: generated devel space setup files have been deleted.
Starting >>> catkin_tools_prebuild
Finished <<< catkin_tools_prebuild [ 2.4 seconds ]
Starting >>> path_planning
_____________________________________________________________________________________________________________________________________________________
Warnings << path_planning:cmake /home/pravin/Documents/Projects/Pick_and_place_drone/path_planning/pp/logs/path_planning/build.cmake.000.log
CMake Warning (dev) at CMakeLists.txt:152 (add_executable):
Policy CMP0028 is not set: Double colon in target name means ALIAS or
IMPORTED target. Run "cmake --help-policy CMP0028" for policy details.
Use the cmake_policy command to set the policy and suppress this warning.
Target "old_path_planning" links to target "Eigen3::Eigen" but the target
was not found. Perhaps a find_package() call is missing for an IMPORTED
target, or an ALIAS target is missing?
This warning is for project developers. Use -Wno-dev to suppress it.
CMake Warning (dev) at CMakeLists.txt:151 (add_executable):
Policy CMP0028 is not set: Double colon in target name means ALIAS or
IMPORTED target. Run "cmake --help-policy CMP0028" for policy details.
Use the cmake_policy command to set the policy and suppress this warning.
Target "path_planning_node" links to target "Eigen3::Eigen" but the target
was not found. Perhaps a find_package() call is missing for an IMPORTED
target, or an ALIAS target is missing?
This warning is for project developers. Use -Wno-dev to suppress it.
cd /home/pravin/Documents/Projects/Pick_and_place_drone/path_planning/pp/build/path_planning; catkin build --get-env path_planning | catkin env -si /usr/local/bin/cmake /home/pravin/Documents/Projects/Pick_and_place_drone/path_planning/pp/src/path_planning --no-warn-unused-cli -DCATKIN_DEVEL_PREFIX=/home/pravin/Documents/Projects/Pick_and_place_drone/path_planning/pp/devel/.private/path_planning -DCMAKE_INSTALL_PREFIX=/home/pravin/Documents/Projects/Pick_and_place_drone/path_planning/pp/install; cd -
.....................................................................................................................................................
_____________________________________________________________________________________________________________________________________________________
Errors << path_planning:make /home/pravin/Documents/Projects/Pick_and_place_drone/path_planning/pp/logs/path_planning/build.make.000.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/pravin/Documents/Projects/Pick_and_place_drone/path_planning/pp/src/path_planning/src/path_planning.cpp:40:
/usr/local/include/fcl/math/constants.h:80:1: error: expected primary-expression before ‘typedef’
typedef typename detail::ScalarTrait<S>::type Real;
^
/usr/local/include/fcl/math/constants.h:80:1: error: expected ‘}’ before ‘typedef’
/usr/local/include/fcl/math/constants.h:80:1: error: expected ‘;’ before ‘typedef’
/usr/local/include/fcl/math/constants.h:83:18: error: ‘S’ does not name a type
static constexpr S pi() { return S(3.141592653589793238462643383279502884197169399375105820974944592L); }
^
/usr/local/include/fcl/math/constants.h:86:18: error: ‘S’ does not name a type
static constexpr S phi() { return S(1.618033988749894848204586834365638117720309179805762862135448623L); }
^
/usr/local/include/fcl/math/constants.h:94:8: error: ‘Real’ does not name a type
static Real gjk_default_tolerance() {
^
/usr/local/include/fcl/math/constants.h:100:8: error: ‘Real’ does not name a type
static Real eps() {
^
/usr/local/include/fcl/math/constants.h:109:8: error: ‘Real’ does not name a type
static Real eps_78() {
^
/usr/local/include/fcl/math/constants.h:115:8: error: ‘Real’ does not name a type
static Real eps_34() {
^
/usr/local/include/fcl/math/constants.h:121:8: error: ‘Real’ does not name a type
static Real eps_12() {
^
/usr/local/include/fcl/math/constants.h:128:20: error: ‘constants’ does not name a type
using constantsf = constants<float>;
^
/usr/local/include/fcl/math/constants.h:129:20: error: ‘constants’ does not name a type
using constantsd = constants<double>;
^
/usr/local/include/fcl/math/constants.h:131: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/pravin/Documents/Projects/Pick_and_place_drone/path_planning/pp/src/path_planning/src/old_path_planning.cpp:40:
/usr/local/include/fcl/math/constants.h:80:1: error: expected primary-expression before ‘typedef’
typedef typename detail::ScalarTrait<S>::type Real;
^
/usr/local/include/fcl/math/constants.h:80:1: error: expected ‘}’ before ‘typedef’
/usr/local/include/fcl/math/constants.h:80:1: error: expected ‘;’ before ‘typedef’
/usr/local/include/fcl/math/constants.h:83:18: error: ‘S’ does not name a type
static constexpr S pi() { return S(3.141592653589793238462643383279502884197169399375105820974944592L); }
^
/usr/local/include/fcl/math/constants.h:86:18: error: ‘S’ does not name a type
static constexpr S phi() { return S(1.618033988749894848204586834365638117720309179805762862135448623L); }
^
/usr/local/include/fcl/math/constants.h:94:8: error: ‘Real’ does not name a type
static Real gjk_default_tolerance() {
^
/usr/local/include/fcl/math/constants.h:100:8: error: ‘Real’ does not name a type
static Real eps() {
^
/usr/local/include/fcl/math/constants.h:109:8: error: ‘Real’ does not name a type
static Real eps_78() {
^
/usr/local/include/fcl/math/constants.h:115:8: error: ‘Real’ does not name a type
static Real eps_34() {
^
/usr/local/include/fcl/math/constants.h:121:8: error: ‘Real’ does not name a type
static Real eps_12() {
^
/usr/local/include/fcl/math/constants.h:128:20: error: ‘constants’ does not name a type
using constantsf = constants<float>;
^
/usr/local/include/fcl/math/constants.h:129:20: error: ‘constants’ does not name a type
using constantsd = constants<double>;
^
/usr/local/include/fcl/math/constants.h:131:1: error: expected declaration before ‘}’ token
} // namespace fcl
^
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[1]: *** Waiting for unfinished jobs....
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: *** [all] Error 2
cd /home/pravin/Documents/Projects/Pick_and_place_drone/path_planning/pp/build/path_planning; catkin build --get-env path_planning | catkin env -si /usr/bin/make --jobserver-fds=6,7 -j; cd -
.....................................................................................................................................................
Failed << path_planning:make [ Exited with code 2 ]
Failed <<< path_planning [ 19.9 seconds ]
[build] Summary: 1 of 2 packages succeeded.
[build] Ignored: None.
[build] Warnings: 1 packages succeeded with warnings.
[build] Abandoned: None.
[build] Failed: 1 packages failed.
[build] Runtime: 22.3 seconds total.```
The text was updated successfully, but these errors were encountered:
Hi, I'm getting this error while running catkin build on my system. Can you please help me?
The text was updated successfully, but these errors were encountered: