How to add an extension to avogadro

Hi everyone,

I have a question regarding on how to add a new extension for avogadro. While reading the email archive for avogadro developers I found this two tutorials

http://avogadro.openmolecules.net/wiki/Creating_a_Third_Party_Plugin and http://avogadro.openmolecules.net/api/dev/tpe-toc.html, but still is not clear for me.
So, after construct the extension (for example the hello world) I’ve obtained the library which I copy in the avogadro lib directory (for example C:\Program Files\Avogadro\lib\avogadro\1_1\extensions\HelloWorld.dll). But I don’t see any changes in the extension menu…should I build again the Avogadro with the new extension, or I have to specify that I add a new extension I some other file?

Thank you :slight_smile:

Gina

Hi Gina,

On Thu, Sep 29, 2011 at 4:59 AM, Elena-Gina CRACIUN
ginasv2005@yahoo.com wrote:

So, after construct the extension (for example the hello world) I’ve
obtained the library which I copy in the avogadro lib directory (for example
C:\Program Files\Avogadro\lib\avogadro\1_1\extensions\HelloWorld.dll). But I
don’t see any changes in the extension menu…should I build again the
Avogadro with the new extension, or I have to specify that I add a new
extension I some other file?

Try using debugview:

Launch debugview, and then start avogadro. You should see some output
in the debugview window that says "Searching for plugins in ". Make sure that the C:\Program
Files\Avogadro\lib\avogadro\1_1\extensions\ is being searched, and
check for any error messages. If avogadro fails to load a plugin for
some reason, the reason is usually printed here.

Let us know what you find out :slight_smile:

Dave