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
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)...)); }
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
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:
After downloading the git-repo and executing the implementation, the following errors occurred
The text was updated successfully, but these errors were encountered: