sim_ros_interface build crash
Posted: 09 Nov 2020, 10:44
Hey!
I have a problem with building (catkin build) ros interface for CoppeliaSim.
Error is following.
Ubuntu 18.04, ROS Melodic
What is the problem?
I have a problem with building (catkin build) ros interface for CoppeliaSim.
Error is following.
Code: Select all
error: ‘exception’ is not a member of ‘sim’
throw sim::exception("failed creation of ROS ImageTransport subscriber");
^~~~~~~~~
/home/askarbek/catkin_ws/src/sim_ros_interface/src/sim_ros_interface.cpp:374:20: note: suggested alternatives:
In file included from /home/askarbek/catkin_ws/src/sim_ros_interface/include/sim_ros_interface.h:75:0,
from /home/askarbek/catkin_ws/src/sim_ros_interface/src/sim_ros_interface.cpp:1:
/home/askarbek/catkin_ws/build/sim_ros_interface/generated/stubs.h:11:8: note: ‘exception’
struct exception : public std::exception
^~~~~~~~~
In file included from /usr/include/c++/7/exception:38:0,
from /usr/include/c++/7/ios:39,
from /usr/include/c++/7/ostream:38,
from /usr/include/c++/7/iostream:39,
from /home/askarbek/catkin_ws/src/sim_ros_interface/include/sim_ros_interface.h:4,
from /home/askarbek/catkin_ws/src/sim_ros_interface/src/sim_ros_interface.cpp:1:
/usr/include/c++/7/bits/exception.h:60:9: note: ‘std::exception’
class exception
What is the problem?