Hi Mickaël,
I do something similar for my XtalOpt extension, which supports both
linux and Windows.
On Tue, Sep 20, 2011 at 5:38 AM, Mickaël Gadroy
mickael.gad...@gmail.com wrote:
- For Linux, I don't understand how to.
Konstantin built some linux installers, and there are also the
avopkg scripts for linux. I've not really used these myself, but
they may be what you need. There were discussions on the mailing list
about the installers starting last May if you want to look them up.
Even easier, if your plugins build against the 1.0 branch, you could
also just distribute the .so plugin files, which users can place in
[avogadro install prefix]/lib/avogadro/1_0/contrib/. If they need the
1.1 branch, replace 1_0 with 1_1.
- For Windows, I created the package with my plugins, but, after the
installation, an Avogadro feature does't work : the loading and the saving
of chemical files. I have this messages :
snip
I am sur that it is an openbabel librairy problem.
Who has an idea why a compilation/install process works and not a
compilation/package process ?
How can I solve this problem ?
I ran into this with XtalOpt -- to get the packages to build
correctly, you must build the INSTALL target of openbabel, which
should install OB to C:/Program Files/openbabel, and then use these
directories when you set up CMake for avogadro. If you tell cmake to
look in the source openbabel directories, the formats won't be found
-- it must use the installed directories.
How can I deploy my plugins easily (like Windows installers) on Linux and
Windows ?
There should be some information on the linux installer packages in
the mailing list archives. You may also be able to build an rpm,
depending on your targeted distro:
http://www.cmake.org/Wiki/CMake:CPackPackageGenerators#RPM_.28Unix_Only.29
Hope this helps,
Dave
--
All the data continuously generated in your IT infrastructure contains a
definitive record of customers, application performance, security
threats, fraudulent activity and more. Splunk takes this data and makes
sense of it. Business sense. IT sense. Common sense.
http://p.sf.net/sfu/splunk-d2dcopy1
___
Avogadro-devel mailing list
Avogadro-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/avogadro-devel