Hi,
I'm trying to create my own analysis using a plugin. I followed the steps as mentioned in the OpenSim developer's guide (Chapter 3). I successfully created the dll using the OpenSim Beta version and copied the generated dll in the OpenSim_Installation_Directory/pulgins. I can also successfully load the plugin from the gui. However, when I try to use it using windows command prompt using
analyze -S setupfile.xml -L myPlugin
I receive the message "Failed to load library myPlugin"
Any clue why it would load successfully in GUI but not through command prompt.
Thanks.
Regards,
Priyanshu
Error in Plugin Loading using commands
- Priyanshu Agarwal
- Posts: 39
- Joined: Tue Jun 08, 2010 10:08 am
- Ayman Habib
- Posts: 2242
- Joined: Fri Apr 01, 2005 12:24 pm
RE: Error in Plugin Loading using commands
Priyanshu,
This sounds like a Path problem. The GUI requires the plugin to be placed in a specific directory that's added to the Path when the application is launched. The corresponding scheme for running from the command line is adding the (directory containing your) dll to the Path, or just copying it to the folder you're running from.
Hope this helps,
-Ayman
This sounds like a Path problem. The GUI requires the plugin to be placed in a specific directory that's added to the Path when the application is launched. The corresponding scheme for running from the command line is adding the (directory containing your) dll to the Path, or just copying it to the folder you're running from.
Hope this helps,
-Ayman
- Priyanshu Agarwal
- Posts: 39
- Joined: Tue Jun 08, 2010 10:08 am
RE: Error in Plugin Loading using commands
Thank you so much Ayman it's working now.
Regards,
Priyanshu
Regards,
Priyanshu