Beginner Questions for loading a plugin
Posted: 02 May 2017, 16:33
Dear all,
I have a problem compiling plugins for V-REP – or more precisely loading them into V-REP. I always get the error “load failed <could not load>. The plugin probably couldn’t load dependency libraries. Try rebuilding the plugin.”
So let me walk you through what I’ve done so far:
I use V-REP PRO EDU 3.4.0 on Windows 7 64 Bit, installed Qt Creator (using 5.6.2 MinGW) and copied the boost libraries. In addition, I copied the Source Code folder into the main folder.
Now, I want to compile the v_repExtUrdf to make sure, everything is working before compiling my own plugin.
So, I open “v_repExtUrdf.pro” in Qt Creator, select the Qt 5.6.2 MinGW 32bit4 compiler and build the plugin. The resulting “v_repExtUrdf.dll” is copied into the main folder to replace the old version.
When starting V-REP, I just get the above-mentioned error. (In Qt Creator, I get the notification “#pragma once in main file”, nothing too dramatic.)
The same problem occurs trying to load every other plugin I compiled on my own (the Collada plugin, for example).
I am almost certain it is not a big problem. But since I am more of an mechanical engineer than a programmer, I easily might have done a simple mistake.
Anyway, that is how a fellow student explained it to me. Can you tell me by that description what I missed and how to load the plugins properly? Otherwise, I can upload the necessary files.
Best regards,
Kris
I have a problem compiling plugins for V-REP – or more precisely loading them into V-REP. I always get the error “load failed <could not load>. The plugin probably couldn’t load dependency libraries. Try rebuilding the plugin.”
So let me walk you through what I’ve done so far:
I use V-REP PRO EDU 3.4.0 on Windows 7 64 Bit, installed Qt Creator (using 5.6.2 MinGW) and copied the boost libraries. In addition, I copied the Source Code folder into the main folder.
Now, I want to compile the v_repExtUrdf to make sure, everything is working before compiling my own plugin.
So, I open “v_repExtUrdf.pro” in Qt Creator, select the Qt 5.6.2 MinGW 32bit4 compiler and build the plugin. The resulting “v_repExtUrdf.dll” is copied into the main folder to replace the old version.
When starting V-REP, I just get the above-mentioned error. (In Qt Creator, I get the notification “#pragma once in main file”, nothing too dramatic.)
The same problem occurs trying to load every other plugin I compiled on my own (the Collada plugin, for example).
I am almost certain it is not a big problem. But since I am more of an mechanical engineer than a programmer, I easily might have done a simple mistake.
Anyway, that is how a fellow student explained it to me. Can you tell me by that description what I missed and how to load the plugins properly? Otherwise, I can upload the necessary files.
Best regards,
Kris