CoppeliaRobotics / simBubble

CoppeliaSim plugin for Bubble Rob
Other
4 stars 2 forks source link

Error with plugin 'BubbleRob': load failed (could not load). #1

Open chouer19 opened 4 years ago

chouer19 commented 4 years ago

Hi, I compiled this project using cmake and generated the shared library named libsimExtBubbleRob.so. I generated the library and then run "./coppeliaSim.sh scenes/controlTypeExamples/controlledViaPlugin.ttt". But something was wrong with loading BubbleRob plugin. Error message is:Plugin 'BubbleRob': loading... Error with plugin 'BubbleRob': load failed (could not load). The plugin probably couldn't load dependency libraries. For additional infos, modify the script 'libLoadErrorCheck.sh', run it and inspect the output.

My generated libsimExtBubbleRob.so was just 53K, while the original is 235K. I contrast the dependencies of two plugin lib using ldd, but no any differences.

Below is my project tree: ├── bin ├── build ├── cmake ├── CMakeLists.txt ├── include │   ├── bubbleRob │   │   └── simExtBubbleRob.h │   └── vrep │   ├── _dirent.h │   ├── license.txt │   ├── luaFunctionData.h │   ├── luaFunctionDataItem.h │   ├── scriptFunctionData.h │   ├── scriptFunctionDataItem.h │   ├── shared_memory.h │   ├── simConst.h │   ├── simLib.h │   ├── simTypes.h │   ├── socketInConnection.h │   ├── socketOutConnection.h │   └── stack │   ├── stackArray.h │   ├── stackBool.h │   ├── stackMap.h │   ├── stackNull.h │   ├── stackNumber.h │   ├── stackObject.h │   └── stackString.h ├── lib │   └── libsimExtBubbleRob.so └── src ├── bubbleRob │   ├── CMakeLists.txt │   └── simExtBubbleRob.cpp └── vrep ├── CMakeLists.txt ├── license.txt ├── luaFunctionData.cpp ├── luaFunctionDataItem.cpp ├── scriptFunctionData.cpp ├── scriptFunctionDataItem.cpp ├── shared_memory.c ├── simLib.cpp ├── socketInConnection.cpp ├── socketOutConnection.cpp └── stack ├── stackArray.cpp ├── stackBool.cpp ├── stackMap.cpp ├── stackNull.cpp ├── stackNumber.cpp ├── stackObject.cpp └── stackString.cpp

12 directories, 41 files

./lib/libsimExtBubbleRob.so is the my generated shared lib.

I would be thankful for your help. I am just a new begginer of vrep simulation.

hgbuzhidao commented 4 years ago

I have the same problem. The complied plugin could not load.