View Full Version : [SOLVED] Animation Plugin Errors
ComradeTim
May 10th, 2007, 04:25 AM
I got compcomm running from the git repository and now I'm trying to add the animation plugin. I downloaded the plugin from git repository also and ran "make install" and it has been added to ccs-settings, but when I try to run compiz it outputs:
[code:6c59f]/usr/bin/compiz.real: can't load plugin 'animation' because it is built for ABI version 1 and actual version is 20070425
/usr/bin/compiz.real: Couldn't activate plugin 'animation'[/code:6c59f]
and none of the animations work.
fldc
May 10th, 2007, 02:00 PM
I got compcomm running from the git repository and now I'm trying to add the animation plugin. I downloaded the plugin from git repository also and ran "make install" and it has been added to ccs-settings, but when I try to run compiz it outputs:
[code:f1b9b]/usr/bin/compiz.real: can't load plugin 'animation' because it is built for ABI version 1 and actual version is 20070425
/usr/bin/compiz.real: Couldn't activate plugin 'animation'[/code:f1b9b]
and none of the animations work.
update animations plugin.
cornelius
May 10th, 2007, 03:55 PM
Try getting the latest versions of compiz and animation, install compiz, then do
[code:b2f07]make clean
make install
[/code:b2f07]in the animation folder.
SmSpillaz
May 25th, 2007, 04:53 PM
Also , try and get rid of any instances of libanimation.so in /home/(user)/.compiz/plugins
Jupiter
June 7th, 2007, 06:43 PM
ComradeTim can you please let us know if this is solved for you.
adamk
June 7th, 2007, 06:55 PM
I actually encountered a similar problem today. I have both compiz and the animation plugin pulled from git. Just ran a 'git pull' in each directory a few seconds ago to confirm that it's the latest. When I launch compiz, I get:
compiz (core): Can't load plugin 'animation' because it is built for ABI version 20070603 and actual version is 20070606
I get the same for some other plugins as well, including firepaint and expo.
Adam
Deciare
June 8th, 2007, 12:41 AM
Did you remember to rebuild and reinstall both Compiz and its associated plugins after the git-pull? ABI version is defined in $PREFIX/include/compiz/compiz.h, and plugins will inherit whichever ABI version is defined in that file at compile-time. If it's still not working, you may have outdated versions of some plugins somewhere in your path, as suggested by SmSpillaz.
cornelius
June 8th, 2007, 02:53 AM
Do this
[code:b55a4]sudo rm /usr/lib/compiz/libanimation.* /usr/local/lib/compiz/libanimation.* /usr/share/compiz/animation.xml /usr/local/share/compiz/animation.xml ~/.compiz/plugins/libanimation.* ~/.compiz/metadata/animation.xml[/code:b55a4]
and re-make and install the animation plugin.
Kervala
June 8th, 2007, 10:24 AM
First, you need to recompile Compiz and, after that, the plugins :)
adamk
June 8th, 2007, 11:16 AM
Well, I went to the extreme:
$ sudo rm -rf /opt/compcomm/*
$ rm -rf ~/.compiz/plugins/*
$ rm -rf ~/.compiz/metadata/*
Then I updated the source from git this morning and rebuilt compiz and then all the plugins I previously used.
I'm still getting the same messages:
compiz (core): Can't load plugin 'ring' because it is built for ABI version 20070603 and actual version is 20070606
compiz (core): Can't load plugin 'firepaint' because it is built for ABI version 20070603 and actual version is 20070606
And so on...
Deciare
June 8th, 2007, 12:31 PM
Wow, comprehensive. o.O
Ensure that you have, at most, two copies of the file compiz.h anywhere on your system: one under the directly where you keep CompComm, and one under your install prefix.
[code:49439][deciare@raravis ~]$ sudo updatedb
[deciare@raravis ~]$ locate -i compiz.h
/usr/src/compcomm/compiz/include/compiz.h
/opt/compcomm/include/compiz/compiz.h[/code:49439]
If locate unearths any copies of compiz.h you weren't aware of, delete all Compiz-related header files as well as all Beryl/Compiz plugins at those directory prefixes.
Apart from that, I'm not sure what else to suggest...
adamk
June 8th, 2007, 12:48 PM
adamk@memory:~$ locate -i compiz.h
/home/adamk/workarea/git/compcomm/compiz/include/compiz.h
/opt/compcomm/include/compiz/compiz.h
adamk@memory:~$ grep ABIVERSION `locate -i compiz.h`
/opt/compcomm/include/compiz/compiz.h:#define ABIVERSION 20070606
workarea/git/compcomm/compiz/include/compiz.h:#define ABIVERSION 20070606
So it's definitely the latest compiz version. Why the, would newly compiled plugins insist that they were built for 20070603.
$ locate libfirepaint.so
/home/adamk/workarea/git/compcomm/plugins/firepaint/build/.libs/libfirepaint.so.0.0.0
/home/adamk/workarea/git/compcomm/plugins/firepaint/build/.libs/libfirepaint.so.0
/home/adamk/workarea/git/compcomm/plugins/firepaint/build/.libs/libfirepaint.so
/home/adamk/.compiz/plugins/libfirepaint.so
....
Well, I just wiped out the source for all the plugins, regrabbed them from git, and compiled. Now it's fine. Very very odd. But at least it's working now :-)
Adam
vBulletin® v3.7.3, Copyright ©2000-2008, Jelsoft Enterprises Ltd.