ROSInterface: load failed

Typically: "How do I... ", "How can I... " questions
Post Reply
BlueSkeptical
Posts: 9
Joined: 11 Feb 2020, 15:11

ROSInterface: load failed

Post by BlueSkeptical »

I've made the same steps as here:https://forum.coppeliarobotics.com/view ... led#p34669 but I'm still getting

Code: Select all

plugin 'ROSInterface': load failed
on loading.
I'm on Ubuntu 18.04 with ROS melodic and CoppeliaSim 4.3.0.
I have a ros workspace with two package, one containing my message definition and the other one is melodic branch of sim_ros_interface with libPlugin cloned inside (https://github.com/CoppeliaRobotics/libPlugin).
meta/messages.txt modified as needed, as well as CMakeList:

Code: Select all

find_package(my_package)
catkin_package(CATKIN_DEPENDS my_package)
and package.xml:

Code: Select all

  <depend>my_package</depend>
Compiled with no error with catkin_make.
Dragged devel/lib/libsimExtROSInterface.so in CoppeliaSim main folder but still getting 'ROSInterface: load failed' on terminal during loading.
Also sourced the terminal:
source /opt/ros/melodic/setup.bash
source ~/catkin_ws/devel/setup.bash
How can I solve this?
fferri
Posts: 1334
Joined: 09 Sep 2013, 19:28

Re: ROSInterface: load failed

Post by fferri »

BlueSkeptical wrote: 29 Mar 2022, 16:08 I've made the same steps as here:https://forum.coppeliarobotics.com/view ... led#p34669 but I'm still getting

Code: Select all

plugin 'ROSInterface': load failed
on loading.
I'm on Ubuntu 18.04 with ROS melodic and CoppeliaSim 4.3.0.
Did you source ROS environment in the terminal where you ran CoppeliaSim?
BlueSkeptical wrote: 29 Mar 2022, 16:08 sim_ros_interface with libPlugin cloned inside (https://github.com/CoppeliaRobotics/libPlugin).
Where did you find this instruction? It is not needed.
BlueSkeptical
Posts: 9
Joined: 11 Feb 2020, 15:11

Re: ROSInterface: load failed

Post by BlueSkeptical »

Yes I sourced the environment.
I put there because I saw LIBPLUGIN_DIR was pointing to that ros packages.
I know very little of cmake, however I tried to set(LIBPLUGIN_DIR ~/CoppeliaSim_Edu_V4_3_0_Ubuntu18_04/programming/libPlugin)
and it start compiling until this error:

Code: Select all

Traceback (most recent call last):
  File "/home/liralab/CoppeliaSim_Edu_V4_3_0_Ubuntu18_04/programming/libPlugin/simStubsGen/external/pycpp/pycpp.py", line 212, in <module>
    f.write(pycpp.get_output())
  File "/home/liralab/CoppeliaSim_Edu_V4_3_0_Ubuntu18_04/programming/libPlugin/simStubsGen/external/pycpp/pycpp.py", line 136, in get_output
    exec(self.get_python_code(b, spool_fn='pycpp.output'), locals())
  File "<string>", line 2, in <module>
Traceback (most recent call last):
  File "/home/liralab/realsense_ws/src/sim_ros_interface/tools/parse_messages_and_services.py", line 5, in <module>
  File "/home/liralab/CoppeliaSim_Edu_V4_3_0_Ubuntu18_04/programming/libPlugin/simStubsGen/external/pycpp/pycpp.py", line 212, in <module>
    import rosmsg
  File "/opt/ros/melodic/lib/python2.7/dist-packages/rosmsg/__init__.py", line 45, in <module>
    import yaml
  File "/usr/lib/python2.7/dist-packages/yaml/__init__.py", line 2, in <module>
    f.write(pycpp.get_output())
    from error import *
ModuleNotFoundError: No module named 'error'
  File "/home/liralab/CoppeliaSim_Edu_V4_3_0_Ubuntu18_04/programming/libPlugin/simStubsGen/external/pycpp/pycpp.py", line 136, in get_output
    exec(self.get_python_code(b, spool_fn='pycpp.output'), locals())
  File "<string>", line 2, in <module>
  File "/home/liralab/realsense_ws/src/sim_ros_interface/tools/parse_messages_and_services.py", line 5, in <module>
    import rosmsg
  File "/opt/ros/melodic/lib/python2.7/dist-packages/rosmsg/__init__.py", line 45, in <module>
    import yaml
  File "/usr/lib/python2.7/dist-packages/yaml/__init__.py", line 2, in <module>
    from error import *
ModuleNotFoundError: No module named 'error'
Traceback (most recent call last):
  File "/home/liralab/CoppeliaSim_Edu_V4_3_0_Ubuntu18_04/programming/libPlugin/simStubsGen/external/pycpp/pycpp.py", line 212, in <module>
    f.write(pycpp.get_output())
  File "/home/liralab/CoppeliaSim_Edu_V4_3_0_Ubuntu18_04/programming/libPlugin/simStubsGen/external/pycpp/pycpp.py", line 136, in get_output
    exec(self.get_python_code(b, spool_fn='pycpp.output'), locals())
  File "<string>", line 8, in <module>
  File "/home/liralab/realsense_ws/src/sim_ros_interface/tools/parse_messages_and_services.py", line 5, in <module>
    import rosmsg
  File "/opt/ros/melodic/lib/python2.7/dist-packages/rosmsg/__init__.py", line 45, in <module>
    import yaml
  File "/usr/lib/python2.7/dist-packages/yaml/__init__.py", line 2, in <module>
    from error import *
ModuleNotFoundError: No module named 'error'
Traceback (most recent call last):
  File "/home/liralab/CoppeliaSim_Edu_V4_3_0_Ubuntu18_04/programming/libPlugin/simStubsGen/external/pycpp/pycpp.py", line 212, in <module>
    f.write(pycpp.get_output())
  File "/home/liralab/CoppeliaSim_Edu_V4_3_0_Ubuntu18_04/programming/libPlugin/simStubsGen/external/pycpp/pycpp.py", line 136, in get_output
    exec(self.get_python_code(b, spool_fn='pycpp.output'), locals())
  File "<string>", line 7, in <module>
  File "/home/liralab/realsense_ws/src/sim_ros_interface/tools/parse_messages_and_services.py", line 5, in <module>
    import rosmsg
  File "/opt/ros/melodic/lib/python2.7/dist-packages/rosmsg/__init__.py", line 45, in <module>
    import yaml
  File "/usr/lib/python2.7/dist-packages/yaml/__init__.py", line 2, in <module>
    from error import *
ModuleNotFoundError: No module named 'error'
sim_ros_interface/CMakeFiles/generate_ros_code.dir/build.make:89: recipe for target 'sim_ros_interface/generated/pub.cpp' failed
make[2]: *** [sim_ros_interface/generated/pub.cpp] Error 1
make[2]: *** Eliminazione del file "sim_ros_interface/generated/pub.cpp"
make[2]: *** Attesa per i processi non terminati....
[ 28%] Built target nuitrack_skeleton_tracker_filtered_generate_messages_cpp
sim_ros_interface/CMakeFiles/generate_ros_code.dir/build.make:83: recipe for target 'sim_ros_interface/generated/adv.cpp' failed
make[2]: *** [sim_ros_interface/generated/adv.cpp] Error 1
make[2]: *** Eliminazione del file "sim_ros_interface/generated/adv.cpp"
sim_ros_interface/CMakeFiles/generate_ros_code.dir/build.make:101: recipe for target 'sim_ros_interface/generated/ros_msg_io.h' failed
make[2]: *** [sim_ros_interface/generated/ros_msg_io.h] Error 1
make[2]: *** Eliminazione del file "sim_ros_interface/generated/ros_msg_io.h"
Traceback (most recent call last):
  File "/home/liralab/CoppeliaSim_Edu_V4_3_0_Ubuntu18_04/programming/libPlugin/simStubsGen/external/pycpp/pycpp.py", line 212, in <module>
    f.write(pycpp.get_output())
  File "/home/liralab/CoppeliaSim_Edu_V4_3_0_Ubuntu18_04/programming/libPlugin/simStubsGen/external/pycpp/pycpp.py", line 136, in get_output
    exec(self.get_python_code(b, spool_fn='pycpp.output'), locals())
  File "<string>", line 6, in <module>
  File "/home/liralab/realsense_ws/src/sim_ros_interface/tools/parse_messages_and_services.py", line 5, in <module>
    import rosmsg
  File "/opt/ros/melodic/lib/python2.7/dist-packages/rosmsg/__init__.py", line 45, in <module>
    import yaml
  File "/usr/lib/python2.7/dist-packages/yaml/__init__.py", line 2, in <module>
    from error import *
ModuleNotFoundError: No module named 'error'
Traceback (most recent call last):
  File "/home/liralab/CoppeliaSim_Edu_V4_3_0_Ubuntu18_04/programming/libPlugin/simStubsGen/external/pycpp/pycpp.py", line 212, in <module>
    f.write(pycpp.get_output())
  File "/home/liralab/CoppeliaSim_Edu_V4_3_0_Ubuntu18_04/programming/libPlugin/simStubsGen/external/pycpp/pycpp.py", line 136, in get_output
    exec(self.get_python_code(b, spool_fn='pycpp.output'), locals())
  File "<string>", line 9, in <module>
  File "/home/liralab/realsense_ws/src/sim_ros_interface/tools/parse_messages_and_services.py", line 5, in <module>
    import rosmsg
  File "/opt/ros/melodic/lib/python2.7/dist-packages/rosmsg/__init__.py", line 45, in <module>
    import yaml
  File "/usr/lib/python2.7/dist-packages/yaml/__init__.py", line 2, in <module>
    from error import *
ModuleNotFoundError: No module named 'error'
sim_ros_interface/CMakeFiles/generate_ros_code.dir/build.make:95: recipe for target 'sim_ros_interface/generated/ros_msg_io.cpp' failed
make[2]: *** [sim_ros_interface/generated/ros_msg_io.cpp] Error 1
make[2]: *** Eliminazione del file "sim_ros_interface/generated/ros_msg_io.cpp"
Traceback (most recent call last):
  File "/home/liralab/CoppeliaSim_Edu_V4_3_0_Ubuntu18_04/programming/libPlugin/simStubsGen/external/pycpp/pycpp.py", line 212, in <module>
    f.write(pycpp.get_output())
  File "/home/liralab/CoppeliaSim_Edu_V4_3_0_Ubuntu18_04/programming/libPlugin/simStubsGen/external/pycpp/pycpp.py", line 136, in get_output
    exec(self.get_python_code(b, spool_fn='pycpp.output'), locals())
  File "<string>", line 2, in <module>
  File "/home/liralab/realsense_ws/src/sim_ros_interface/tools/parse_messages_and_services.py", line 5, in <module>
    import rosmsg
  File "/opt/ros/melodic/lib/python2.7/dist-packages/rosmsg/__init__.py", line 45, in <module>
    import yaml
  File "/usr/lib/python2.7/dist-packages/yaml/__init__.py", line 2, in <module>
    from error import *
ModuleNotFoundError: No module named 'error'
sim_ros_interface/CMakeFiles/generate_ros_code.dir/build.make:107: recipe for target 'sim_ros_interface/generated/ros_srv_io.cpp' failed
make[2]: *** [sim_ros_interface/generated/ros_srv_io.cpp] Error 1
make[2]: *** Eliminazione del file "sim_ros_interface/generated/ros_srv_io.cpp"
sim_ros_interface/CMakeFiles/generate_ros_code.dir/build.make:113: recipe for target 'sim_ros_interface/generated/ros_srv_io.h' failed
make[2]: *** [sim_ros_interface/generated/ros_srv_io.h] Error 1
make[2]: *** Eliminazione del file "sim_ros_interface/generated/ros_srv_io.h"
sim_ros_interface/CMakeFiles/generate_ros_code.dir/build.make:119: recipe for target 'sim_ros_interface/generated/srvcall.cpp' failed
make[2]: *** [sim_ros_interface/generated/srvcall.cpp] Error 1
make[2]: *** Eliminazione del file "sim_ros_interface/generated/srvcall.cpp"
CMakeFiles/Makefile2:2931: recipe for target 'sim_ros_interface/CMakeFiles/generate_ros_code.dir/all' failed
make[1]: *** [sim_ros_interface/CMakeFiles/generate_ros_code.dir/all] Error 2
make[1]: *** Attesa per i processi non terminati....
Edit 1:
Ok that was a problem caused by the wrong branch I downloaded in github, with melodic branch now that error disappear but still I have a "ros interface load failed" on coppeliasim.
Edit 2:
My steps are:
-Download coppelia sim 4.3.0
-Download sim_ros_interface from branch melodic
-Added my custom msg in meta/messages.txt
-Added in CMakeList and package.xml my custom msg's package
-catkin_make
-moved libsimExtROSInterface.so from devel to coppelia main folder
-roscore
-source ros env and launched coppeliasim
-got RosInterface load failed error
:(
fferri
Posts: 1334
Joined: 09 Sep 2013, 19:28

Re: ROSInterface: load failed

Post by fferri »

ROS plugin can fail to load because of missing libraries (usually caused by not sourcing the ROS environment, i.e. source /opt/ros..../setup.*). Try using the ldd tool from command line to see which libraries are not found, considering the additional search locations you will have in $LD_LIBRARY_PATH after you source the ROS environment.
ROS plugin can also fail to init if roscore is not running.
Provided the above two points are addressed, the plugin always loads fine here, i.e. I cannot reproduce your issue.
BlueSkeptical
Posts: 9
Joined: 11 Feb 2020, 15:11

Re: ROSInterface: load failed

Post by BlueSkeptical »

Thanks for the hints! Probably there's something wrong here:
with

Code: Select all

 ldd -r libsimExtROSInterface.so 
It gives me:

Code: Select all

	linux-vdso.so.1 (0x00007ffee3578000)
	libimage_transport.so => /opt/ros/melodic/lib/libimage_transport.so (0x00007f54678ce000)
	libdl.so.2 => /lib/x86_64-linux-gnu/libdl.so.2 (0x00007f54676ca000)
	libtf.so => /opt/ros/melodic/lib/libtf.so (0x00007f54674a1000)
	libroscpp.so => /opt/ros/melodic/lib/libroscpp.so (0x00007f546710c000)
	librosconsole.so => /opt/ros/melodic/lib/librosconsole.so (0x00007f5466ed6000)
	libroscpp_serialization.so => /opt/ros/melodic/lib/libroscpp_serialization.so (0x00007f5466cd3000)
	librostime.so => /opt/ros/melodic/lib/librostime.so (0x00007f5466ab3000)
	libboost_system.so.1.65.1 (0x00007f54668ae000)
	libpthread.so.0 => /lib/x86_64-linux-gnu/libpthread.so.0 (0x00007f546668f000)
	libstdc++.so.6 => /usr/lib/x86_64-linux-gnu/libstdc++.so.6 (0x00007f5466306000)
	libgcc_s.so.1 => /lib/x86_64-linux-gnu/libgcc_s.so.1 (0x00007f54660ee000)
	libc.so.6 => /lib/x86_64-linux-gnu/libc.so.6 (0x00007f5465cfd000)
	libmessage_filters.so => /opt/ros/melodic/lib/libmessage_filters.so (0x00007f5465af8000)
	libclass_loader.so => /opt/ros/melodic/lib/libclass_loader.so (0x00007f54658d1000)
	libroslib.so => /opt/ros/melodic/lib/libroslib.so (0x00007f54656be000)
	libboost_filesystem.so.1.65.1 => /usr/lib/x86_64-linux-gnu/libboost_filesystem.so.1.65.1 (0x00007f54654a4000)
	libtinyxml2.so.6 => /usr/lib/x86_64-linux-gnu/libtinyxml2.so.6 (0x00007f5465290000)
	libconsole_bridge.so.0.4 => /usr/lib/x86_64-linux-gnu/libconsole_bridge.so.0.4 (0x00007f546508b000)
	/lib64/ld-linux-x86-64.so.2 (0x00007f5468e73000)
	libtf2_ros.so => /opt/ros/melodic/lib/libtf2_ros.so (0x00007f5464ddc000)
	libtf2.so => /opt/ros/melodic/lib/libtf2.so (0x00007f5464ba8000)
	libm.so.6 => /lib/x86_64-linux-gnu/libm.so.6 (0x00007f546480a000)
	libxmlrpcpp.so => /opt/ros/melodic/lib/libxmlrpcpp.so (0x00007f54645ea000)
	libcpp_common.so => /opt/ros/melodic/lib/libcpp_common.so (0x00007f54643df000)
	libboost_thread.so.1.65.1 => /usr/lib/x86_64-linux-gnu/libboost_thread.so.1.65.1 (0x00007f54641ba000)
	libboost_chrono.so.1.65.1 => /usr/lib/x86_64-linux-gnu/libboost_chrono.so.1.65.1 (0x00007f5463fb5000)
	librosconsole_log4cxx.so => /opt/ros/melodic/lib/librosconsole_log4cxx.so (0x00007f5463d9a000)
	librosconsole_backend_interface.so => /opt/ros/melodic/lib/librosconsole_backend_interface.so (0x00007f5463b98000)
	liblog4cxx.so.10 => /usr/lib/x86_64-linux-gnu/liblog4cxx.so.10 (0x00007f54637cf000)
	libboost_regex.so.1.65.1 => /usr/lib/x86_64-linux-gnu/libboost_regex.so.1.65.1 (0x00007f54634c7000)
	librt.so.1 => /lib/x86_64-linux-gnu/librt.so.1 (0x00007f54632bf000)
	libPocoFoundation.so.50 => /usr/lib/libPocoFoundation.so.50 (0x00007f5462f16000)
	librospack.so => /opt/ros/melodic/lib/librospack.so (0x00007f5462cd3000)
	libactionlib.so => /opt/ros/melodic/lib/libactionlib.so (0x00007f5462ab2000)
	libapr-1.so.0 => /usr/lib/x86_64-linux-gnu/libapr-1.so.0 (0x00007f546287d000)
	libaprutil-1.so.0 => /usr/lib/x86_64-linux-gnu/libaprutil-1.so.0 (0x00007f5462652000)
	libicui18n.so.60 => /usr/lib/x86_64-linux-gnu/libicui18n.so.60 (0x00007f54621b1000)
	libicuuc.so.60 => /usr/lib/x86_64-linux-gnu/libicuuc.so.60 (0x00007f5461df9000)
	libpcre.so.3 => /lib/x86_64-linux-gnu/libpcre.so.3 (0x00007f5461b87000)
	libz.so.1 => /lib/x86_64-linux-gnu/libz.so.1 (0x00007f546196a000)
	libboost_program_options.so.1.65.1 => /usr/lib/x86_64-linux-gnu/libboost_program_options.so.1.65.1 (0x00007f54616e9000)
	libpython2.7.so.1.0 => /usr/lib/x86_64-linux-gnu/libpython2.7.so.1.0 (0x00007f546116c000)
	libuuid.so.1 => /lib/x86_64-linux-gnu/libuuid.so.1 (0x00007f5460f65000)
	libcrypt.so.1 => /lib/x86_64-linux-gnu/libcrypt.so.1 (0x00007f5460d2d000)
	libexpat.so.1 => /lib/x86_64-linux-gnu/libexpat.so.1 (0x00007f5460afb000)
	libicudata.so.60 => /usr/lib/x86_64-linux-gnu/libicudata.so.60 (0x00007f545ef52000)
	libutil.so.1 => /lib/x86_64-linux-gnu/libutil.so.1 (0x00007f545ed4f000)
undefined symbol: _ZN3sim6Plugin9onMessageEiPiPvS1_	(./libsimExtROSInterface.so)
undefined symbol: _ZN3sim6Plugin14loadSimLibraryEv	(./libsimExtROSInterface.so)
undefined symbol: _ZN3sim6Plugin14onInstancePassERKNS_17InstancePassFlagsE	(./libsimExtROSInterface.so)
undefined symbol: _ZN3sim6Plugin19onFirstInstancePassERKNS_17InstancePassFlagsE	(./libsimExtROSInterface.so)
undefined symbol: _ZN3sim6Plugin18onLastInstancePassEv	(./libsimExtROSInterface.so)
undefined symbol: _ZN3sim6Plugin16onInstanceSwitchEi	(./libsimExtROSInterface.so)
undefined symbol: _ZN3sim6Plugin23onInstanceAboutToSwitchEi	(./libsimExtROSInterface.so)
undefined symbol: _ZN3sim6Plugin18onMenuItemSelectedEii	(./libsimExtROSInterface.so)
undefined symbol: _ZN3sim6Plugin11onBroadcastEii	(./libsimExtROSInterface.so)
undefined symbol: _ZN3sim6Plugin11onSceneSaveEv	(./libsimExtROSInterface.so)
undefined symbol: _ZN3sim6Plugin11onModelSaveEv	(./libsimExtROSInterface.so)
undefined symbol: _ZN3sim6Plugin12onModuleOpenEPc	(./libsimExtROSInterface.so)
undefined symbol: _ZN3sim6Plugin14onModuleHandleEPc	(./libsimExtROSInterface.so)
undefined symbol: _ZN3sim6Plugin27onModuleHandleInSensingPartEPc	(./libsimExtROSInterface.so)
undefined symbol: _ZN3sim6Plugin13onModuleCloseEPc	(./libsimExtROSInterface.so)
undefined symbol: _ZN3sim6Plugin15onRenderingPassEv	(./libsimExtROSInterface.so)
undefined symbol: _ZN3sim6Plugin17onBeforeRenderingEv	(./libsimExtROSInterface.so)
undefined symbol: _ZN3sim6Plugin22onImageFilterEnumResetEv	(./libsimExtROSInterface.so)
undefined symbol: _ZN3sim6Plugin22onImageFilterEnumerateERiS1_RNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE	(./libsimExtROSInterface.so)
undefined symbol: _ZN3sim6Plugin25onImageFilterAdjustParamsEiiiPvRiRS1_	(./libsimExtROSInterface.so)
undefined symbol: _ZN3sim6Plugin20onImageFilterProcessEiiiiiPfS1_S1_S1_S1_S1_PvRi	(./libsimExtROSInterface.so)
undefined symbol: _ZN3sim6Plugin13onAboutToUndoEv	(./libsimExtROSInterface.so)
undefined symbol: _ZN3sim6Plugin6onUndoEv	(./libsimExtROSInterface.so)
undefined symbol: _ZN3sim6Plugin13onAboutToRedoEv	(./libsimExtROSInterface.so)
undefined symbol: _ZN3sim6Plugin6onRedoEv	(./libsimExtROSInterface.so)
undefined symbol: _ZN3sim6Plugin20onScriptIconDblClickEiRi	(./libsimExtROSInterface.so)
undefined symbol: _ZN3sim6Plugin22onSimulationAboutToEndEv	(./libsimExtROSInterface.so)
undefined symbol: _ZN3sim6Plugin10onKeyPressEii	(./libsimExtROSInterface.so)
undefined symbol: _ZN3sim6Plugin15onBannerClickedEi	(./libsimExtROSInterface.so)
undefined symbol: _ZN3sim6Plugin16onRefreshDialogsEi	(./libsimExtROSInterface.so)
undefined symbol: _ZN3sim6Plugin13onSceneLoadedEv	(./libsimExtROSInterface.so)
undefined symbol: _ZN3sim6Plugin13onModelLoadedEv	(./libsimExtROSInterface.so)
undefined symbol: _ZN3sim6Plugin9onGuiPassEv	(./libsimExtROSInterface.so)
undefined symbol: _ZN3sim6Plugin8onRMLPosEv	(./libsimExtROSInterface.so)
undefined symbol: _ZN3sim6Plugin8onRMLVelEv	(./libsimExtROSInterface.so)
undefined symbol: _ZN3sim6Plugin9onRMLStepEv	(./libsimExtROSInterface.so)
undefined symbol: _ZN3sim6Plugin11onRMLRemoveEv	(./libsimExtROSInterface.so)
undefined symbol: _ZN3sim6Plugin20onPathPlanningPluginEv	(./libsimExtROSInterface.so)
undefined symbol: _ZN3sim6Plugin15onColladaPluginEv	(./libsimExtROSInterface.so)
undefined symbol: _ZN3sim6Plugin8onOpenGLEiiii	(./libsimExtROSInterface.so)
undefined symbol: _ZN3sim6Plugin13onOpenGLFrameEiiRi	(./libsimExtROSInterface.so)
undefined symbol: _ZN3sim6Plugin18onOpenGLCameraViewEiiiRi	(./libsimExtROSInterface.so)
undefined symbol: _ZN3sim6Plugin22onProxSensorSelectDownEiPfS1_	(./libsimExtROSInterface.so)
undefined symbol: _ZN3sim6Plugin20onProxSensorSelectUpEiPfS1_	(./libsimExtROSInterface.so)
undefined symbol: _ZN3sim6Plugin16onPickSelectDownEi	(./libsimExtROSInterface.so)
undefined symbol: _ZN3sim6Plugin22onScriptStateDestroyedEi	(./libsimExtROSInterface.so)
undefined symbol: _ZTIN3sim6PluginE	(./libsimExtROSInterface.so)
undefined symbol: _ZN3sim18getStackFloatTableEiPSt6vectorIfSaIfEE	(./libsimExtROSInterface.so)
undefined symbol: _ZN3sim19getStackDoubleTableEiPSt6vectorIdSaIdEE	(./libsimExtROSInterface.so)
undefined symbol: _ZN3sim18getStackInt32TableEiPSt6vectorIiSaIiEE	(./libsimExtROSInterface.so)
undefined symbol: _ZTVN3sim6PluginE	(./libsimExtROSInterface.so)
undefined symbol: _ZN3sim23pushFloatTableOntoStackEiRKSt6vectorIfSaIfEE	(./libsimExtROSInterface.so)
undefined symbol: _ZN3sim18getStackFloatValueEiPf	(./libsimExtROSInterface.so)
undefined symbol: _ZN3sim12getStackSizeEi	(./libsimExtROSInterface.so)
undefined symbol: _ZN3sim13versionStringB5cxx11Ei	(./libsimExtROSInterface.so)
undefined symbol: _ZN3sim19getStackDoubleTableEiPdi	(./libsimExtROSInterface.so)
undefined symbol: _ZN3sim12popStackItemEii	(./libsimExtROSInterface.so)
undefined symbol: _ZN3sim19pushDoubleOntoStackEid	(./libsimExtROSInterface.so)
undefined symbol: _ZN3sim16unfoldStackTableEi	(./libsimExtROSInterface.so)
undefined symbol: _ZN3sim12setLastErrorERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEES7_	(./libsimExtROSInterface.so)
undefined symbol: _ZN3sim6Plugin9onMessageEiPiPvS1_	(./libsimExtROSInterface.so)
undefined symbol: _ZN3sim18getStackInt32TableEiPii	(./libsimExtROSInterface.so)
undefined symbol: _ZN3sim17getStackBoolValueEiPh	(./libsimExtROSInterface.so)
undefined symbol: _ZN3sim18moveStackItemToTopEii	(./libsimExtROSInterface.so)
undefined symbol: _ZN3sim19getStringNamedParamERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE	(./libsimExtROSInterface.so)
undefined symbol: _ZN3sim24insertDataIntoStackTableEi	(./libsimExtROSInterface.so)
undefined symbol: _ZN3sim18pushFloatOntoStackEif	(./libsimExtROSInterface.so)
undefined symbol: _ZN3sim12releaseStackEi	(./libsimExtROSInterface.so)
undefined symbol: _ZN3sim6Plugin7setNameERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE	(./libsimExtROSInterface.so)
undefined symbol: _ZN3sim16enableStackDebugEv	(./libsimExtROSInterface.so)
undefined symbol: _ZN3sim22registerScriptVariableERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEPKci	(./libsimExtROSInterface.so)
undefined symbol: _ZN3sim19getStackStringValueEiPNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE	(./libsimExtROSInterface.so)
undefined symbol: _ZN3sim19pushStringOntoStackEiRKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE	(./libsimExtROSInterface.so)
undefined symbol: _ZN3sim23pushUInt8TableOntoStackEiPKhi	(./libsimExtROSInterface.so)
undefined symbol: _ZN3sim17getStackTableInfoEii	(./libsimExtROSInterface.so)
undefined symbol: _ZN3sim18getStackFloatTableEiPfi	(./libsimExtROSInterface.so)
undefined symbol: _ZN3sim23pushFloatTableOntoStackEiPKfi	(./libsimExtROSInterface.so)
undefined symbol: _ZN3sim18getStackUInt8TableEiPhi	(./libsimExtROSInterface.so)
undefined symbol: _ZN3sim18pushInt32OntoStackEii	(./libsimExtROSInterface.so)
undefined symbol: _ZN3sim19pushStringOntoStackEiPKci	(./libsimExtROSInterface.so)
undefined symbol: _ZN3sim23pushInt32TableOntoStackEiPKii	(./libsimExtROSInterface.so)
undefined symbol: _ZN3sim14programVersionEv	(./libsimExtROSInterface.so)
undefined symbol: _ZN3sim24pushDoubleTableOntoStackEiPKdi	(./libsimExtROSInterface.so)
undefined symbol: _ZN3sim13releaseBufferEPc	(./libsimExtROSInterface.so)
undefined symbol: _ZN3sim10debugStackEii	(./libsimExtROSInterface.so)
undefined symbol: _ZN3sim23pushInt32TableOntoStackEiRKSt6vectorIiSaIiEE	(./libsimExtROSInterface.so)
undefined symbol: _ZN3sim20callScriptFunctionExEiRKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEi	(./libsimExtROSInterface.so)
undefined symbol: _ZN3sim18pushTableOntoStackEi	(./libsimExtROSInterface.so)
undefined symbol: _ZN3sim30registerScriptCallbackFunctionERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEES7_PFvP15SScriptCallBackE	(./libsimExtROSInterface.so)
undefined symbol: _ZN3sim17pushBoolOntoStackEih	(./libsimExtROSInterface.so)
undefined symbol: _ZN3sim24pushDoubleTableOntoStackEiRKSt6vectorIdSaIdEE	(./libsimExtROSInterface.so)
undefined symbol: _ZN3sim11createStackEv	(./libsimExtROSInterface.so)
undefined symbol: _ZN3sim19getStackStringValueEiPi	(./libsimExtROSInterface.so)
undefined symbol: _ZN3sim18getStackInt32ValueEiPi	(./libsimExtROSInterface.so)
undefined symbol: _ZN3sim6Plugin12setBuildDateERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE	(./libsimExtROSInterface.so)
undefined symbol: _ZN3sim19isStackDebugEnabledEv	(./libsimExtROSInterface.so)
undefined symbol: _ZN3sim19getStackDoubleValueEiPd	(./libsimExtROSInterface.so)
undefined symbol: _ZN3sim6Plugin13setExtVersionERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE	(./libsimExtROSInterface.so)
could this be related to these undefined symbol?
fferri
Posts: 1334
Joined: 09 Sep 2013, 19:28

Re: ROSInterface: load failed

Post by fferri »

Yes.

But it's not normal to have those undefined symbols.

Difficult to know what's going on, as I cannot even reproduce your issue.

Try starting from scratch on a clean workspace.
Post Reply