[Adium-devl] adium plugin devel, extends AIContentFilter class, compile error: "'adium' undeclared..."

Daniel Reeves dreeves at gmail.com
Sun Jan 4 15:26:14 UTC 2009


Thanks so much for the help so far!  Our plugin builds and installs
fine now, but when I then restart Adium it says:
  "Could not load FOOplugin"
  "The FOOplugin plugin is not compatible with Adium 1.3. Please check
adiumxtras.com to see if an update is available."
  (And a "disable" button.)

We've banged our heads against this fairly hard, using the following
for plugin authors' guides:
  http://fadeover.org/blog/archives/25
  http://trac.adiumx.com/wiki/TobysGuideToPluginAuthoring
  http://rampion.blogspot.com/2008/09/howto-wrap-libpurple-plugin-for-adium.html

And we're making sure to install to the same version we compiled the plugin for.

Any further ideas?  Thanks again!

Daniel Reeves (and Bethany Soule)

>>>> AIPlugin will give you the adium shared instance, and a few other
>>>> things.
>>>
>>> Actually, as of 1.4svn, 'adium' is a global variable accessed via #import
>>> <Adium/AISharedAdium.h> (as Patrick mentioned)... I still agree that the
>>> plugin's main class should be a subclass of AIPlugin :)
>>>
>>> -Evan
>>
>> It occurs to me that as a convenience for plugin authors, we could simply
>> #import <Adium/AISharedAdium.h> in AIPlugin.h and get the same effect as the
>> old ivar.
>
> That sounds like a fine idea to me. Want to take care of it?
>
> -Evan




More information about the devel mailing list