Hello,
We would like to write a new plugin
for Avogadro under windows (Linux and Mac in a next futur).
We didn’t find any tutorial
for this.
We have sucessfully (re)installed the swireengine
plugin (the src was available).
To do that, we needed to recompile the Avogadro
application as well as the OpenBabel, QT, …
environments.
Is it absolutely necessary to recompile all
the avogadro source to write and install
a new plugin ? Or is it possible to develop
it within the dowloaded Avogadro environmement ?
Next, is it possible to bring the new plugin
to another machine
where Avogadro is already installed ?
We are using the CMake 2.8 version to
develop our plugin, while
the CMake version of the dowloaded Avogadro
application is 2.6. Is it a problem ?
We would like to write a plugin of type “Tools”.
Do you have any advices to help us ?
(a CMake file example, … ?,
a (empty) plugin.c++ exemplification ?)
Thank you in advance.
Very sincerely.
E. Henon, M. Gadroy
Hi Eric,
I’m sorry no one else got back to you – I’ve been swamped with a grant proposal for the last week.
We didn’t find any tutorial for this.
The best tutorial is probably to start with a simple example of that type. You said later, that you want to develop a new tool. I’d take a look at the navigation or manipulation tools, since those are probably the easiest ones.
a new plugin ? Or is it possible to develop
it within the dowloaded Avogadro environment ?
If you’re using the same development environment as we do, then the binary of your new plugin should work with the binary Windows installs of Avogadro.
That said, none of the currently active developers use Windows for our work, so there may be issues in the build environment that need to be fixed.
Next, is it possible to bring the new plugin to another machine where Avogadro is already installed ?
If the binaries were built in a compatible way, yes. For example, you said you had to rebuild Avogadro to get it to work. In this case, there’s some binary incompatibility between the binary install and your development environment. In this case, you could copy your newly built Avogadro binary along with your new plugin.
We are using the CMake 2.8 version to
That shouldn’t be a problem. I’d consider the compiler and compilation options.
Please continue to ask questions – we’d like to help you with this.
Best regards,
-Geoff
On Thu, Feb 4, 2010 at 5:55 PM, Geoffrey Hutchison
geoff.hutchison@gmail.com wrote:
Hi Eric,
I’m sorry no one else got back to you – I’ve been swamped with a grant
proposal for the last week.
We didn’t find any tutorial for this.
The best tutorial is probably to start with a simple example of that type.
You said later, that you want to develop a new tool. I’d take a look at the
navigation or manipulation tools, since those are probably the easiest ones.
a new plugin ? Or is it possible to develop
it within the dowloaded Avogadro environment ?
If you’re using the same development environment as we do, then the binary
of your new plugin should work with the binary Windows installs of Avogadro.
That said, none of the currently active developers use Windows for our work,
so there may be issues in the build environment that need to be fixed.
If there are people interested, I would not have any problems with
publishing the build environment (headers, .lib files, …) I use for
the installer. This could become a large upload/download though.
Next, is it possible to bring the new plugin to another machine where
Avogadro is already installed ?
If the binaries were built in a compatible way, yes. For example, you said
you had to rebuild Avogadro to get it to work. In this case, there’s some
binary incompatibility between the binary install and your development
environment. In this case, you could copy your newly built Avogadro binary
along with your new plugin.
We are using the CMake 2.8 version to
That shouldn’t be a problem. I’d consider the compiler and compilation
options.
Please continue to ask questions – we’d like to help you with this.
Best regards,
-Geoff
The Planet: dedicated and managed hosting, cloud storage, colocation
Stay online with enterprise data centers and the best network in the
business
Choose flexible plans and management services without long-term contracts
Personal 24x7 support from experience hosting pros just a phone call away.
http://p.sf.net/sfu/theplanet-com
Avogadro-devel mailing list
Avogadro-devel@lists.sourceforge.net
avogadro-devel List Signup and Options