Re: How to write a plugin?

From: Dom Lachowicz (domlachowicz@yahoo.com)
Date: Thu Jan 30 2003 - 13:54:29 EST

  • Next message: Hubert Figuiere: "Re: crash on exit"

    --- Raphael Finkel <raphael@cs.uky.edu> wrote:
    > 1. Is there any document on how to write an AbiWord
    > plugin? I have so far
    > failed to get an XIM (X-Windows input method) to
    > talk to gtk+ applications
    > like AbiWord, so I would like to consider getting
    > the same behavior by
    > building a plugin.

    I'm usually happy to help (unlike fjf's "always happy
    to help" ;-), and since I've written the plugin
    architecture and most of the plugins, feel free to ask
    me any questions you might have. FJF did a bang-up job
    on the plugin build system, and is the de-facto source
    of information on that.

    It's not clear that what you want is best-accomplished
    (or even within the realm of accomplishable things)
    using a plugin.
     
    > 2. I can't even get an existing plugin to work. I
    > grabbed libAbiWikipedia
    > and placed both the .so and .la files in
    > /usr/local/share/AbiSuite-2.0/AbiWord/plugins, but
    > when I try to activate this
    > plugin, nothing happens; I get an error message:
    >
    > undefined symbol: UT_UCS_strlen

    You have to have the same version of AbiWord as you do
    AbiWord-plugins. They have to be built with the same
    build options (--enable-debug for one, you have to
    --enable-debug for the other). Any mismatches and
    you'll get undefined symbol errors like the above.

    Dom

    __________________________________________________
    Do you Yahoo!?
    Yahoo! Mail Plus - Powerful. Affordable. Sign up now.
    http://mailplus.yahoo.com



    This archive was generated by hypermail 2.1.4 : Thu Jan 30 2003 - 13:57:25 EST