Skip to content
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

Invoking "make -j12 -l12" failed #3

Open
DONJAGA opened this issue Oct 6, 2021 · 1 comment
Open

Invoking "make -j12 -l12" failed #3

DONJAGA opened this issue Oct 6, 2021 · 1 comment

Comments

@DONJAGA
Copy link

DONJAGA commented Oct 6, 2021

After downloading the git-repo and executing the implementation, the following errors occurred

/home/don/Desktop/ws_moveit/src/moveit_task_constructor/core/include/moveit/task_constructor/storage.h:56:1: error: expected initializer before ‘}’ token
   56 | }
      | ^
/home/don/Desktop/ws_moveit/src/moveit_task_constructor/core/include/moveit/task_constructor/storage.h:60:1: error: expected initializer before ‘}’ token
   60 | }
      | ^
In file included from /home/don/Desktop/ws_moveit/src/moveit_task_constructor/core/include/moveit/task_constructor/stage.h:43,
                 from /home/don/Desktop/ws_moveit/src/moveit_task_constructor/visualization/motion_planning_tasks/properties/property_factory.cpp:40:
/home/don/ws_moveit/src/moveit/moveit_core/macros/include/moveit/macros/class_forward.h:47:3: error: expected initializer before ‘class’
   47 |   class C;                                                                                                             \
      |   ^~~~~
/home/don/Desktop/ws_moveit/src/moveit_task_constructor/core/include/moveit/task_constructor/storage.h:67:1: note: in expansion of macro ‘MOVEIT_CLASS_FORWARD’
   67 | MOVEIT_CLASS_FORWARD(Interface)
      | ^~~~~~~~~~~~~~~~~~~~
In file included from /home/don/ws_moveit/src/moveit/moveit_core/macros/include/moveit/macros/class_forward.h:39,
                 from /home/don/Desktop/ws_moveit/src/moveit_task_constructor/core/include/moveit/task_constructor/stage.h:43,
                 from /home/don/Desktop/ws_moveit/src/moveit_task_constructor/visualization/motion_planning_tasks/properties/property_factory.cpp:40:
/home/don/Desktop/ws_moveit/src/moveit_task_constructor/core/include/moveit/task_constructor/storage.h:67:22: error: Interface’ was not declared in this scope
   67 | MOVEIT_CLASS_FORWARD(Interface)
      |                      ^~~~~~~~~
/home/don/Desktop/ws_moveit/src/moveit_task_constructor/demo/src/pick_place_task12.cpp:481:89:   required from here
/usr/include/c++/9/bits/unique_ptr.h:857:30: error: no matching function for call to ‘moveit::task_constructor::stages::MoveRelative::MoveRelative(const char [13], std::shared_ptr<moveit::task_constructor::solvers::CartesianPath>&)’
  857 |     { return unique_ptr<_Tp>(new _Tp(std::forward<_Args>(__args)...)); }
      |                              ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
[ 39%] Linking CXX executable /home/don/Desktop/ws_moveit/devel/lib/panda/detect_and_add_cylinder
[ 40%] Linking CXX shared library /home/don/Desktop/ws_moveit/devel/lib/libmoveit_task_constructor_capabilities.so
make[4]: Leaving directory '/home/don/Desktop/ws_moveit/build'
[ 40%] Built target moveit_task_constructor_capabilities
make[4]: Leaving directory '/home/don/Desktop/ws_moveit/build'
[ 40%] Built target detect_and_add_cylinder
make[3]: Leaving directory '/home/don/Desktop/ws_moveit/build'
make[2]: *** [Makefile:141: all] Error 2
make[2]: Leaving directory '/home/don/Desktop/ws_moveit/build'
Invoking "make -j12 -l12" failed
make[1]: *** [makefile:5: run] Error 1
make[1]: Leaving directory '/home/don/Desktop/ws_moveit'
make: *** [makefile:3: all] Error 2
don@don:~/Desktop/ws_moveit$ catkin build
@iamrajee
Copy link
Owner

iamrajee commented Oct 6, 2021

You can put semicon at end of structure defination wherever you getting error like "expected initializer before ‘}’ token".
For example, in the end of this line:

namespace planning_scene {
MOVEIT_CLASS_FORWARD(PlanningScene)
};

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants