PDA

View Full Version : [SOLVED, but bug still there] How can i install firepaint?


LukasHetzi
May 19th, 2007, 10:57 PM
Hello,
I tried to install firepaint:
[code:2796d]
[lukas@erde composition-managers]$ git clone git://anongit.opencompositing.org/compcomm/plugins/firepaint
Initialized empty Git repository in /home/lukas/composition-managers/firepaint/.git/
remote: Generating pack...
remote: Done counting 24 objects.
remote: Deltifying 24 objects.
remote: 100% (24/24) done
Indexing 24 objects.
remote: Total 24 (delta 7), reused 0 (delta 0)
100% (24/24) done
Resolving 7 deltas.
100% (7/7) done
[lukas@erde composition-managers]$ cd firepaint/
[lukas@erde firepaint]$ ls
firepaint.c firepaint_tex.h firepaint.xml Makefile
[lukas@erde firepaint]$ make
bcop'ing : firepaint.xml -> firepaint_options.h/bin/sh: --header=firepaint_options.h: command not found
make: *** [firepaint_options.h] Fehler 127
[/code:2796d]

I tried to create the 2 empty files

[code:2796d]
[lukas@erde firepaint]$ touch firepaint_options.h
[lukas@erde firepaint]$ touch firepaint_options.c
[/code:2796d]

[code:2796d]
[lukas@erde firepaint]$ make
schema : firepaint.xml -> compiz-firepaint.schemawarning: failed to load external entity "/schemas.xslt"
cannot parse /schemas.xslt
make: *** [compiz-firepaint.schema] Fehler 4
[lukas@erde firepaint]$ make
compiling : firepaint.c -> build/firepaint.lofirepaint.c: In function 'firePreparePaintScreen':
firepaint.c:500: warning: implicit declaration of function 'firepaintGetBgBrightness'
firepaint.c:506: warning: implicit declaration of function 'firepaintGetNumParticles'
firepaint.c:519: warning: implicit declaration of function 'firepaintGetFireSlowdown'
firepaint.c:534: warning: implicit declaration of function 'firepaintGetFireLife'
firepaint.c:550: warning: implicit declaration of function 'firepaintGetFireSize'
firepaint.c:573: warning: implicit declaration of function 'firepaintGetFireMystical'
firepaint.c:585: warning: implicit declaration of function 'firepaintGetFireColorRed'
firepaint.c:589: warning: implicit declaration of function 'firepaintGetFireColorGreen'
firepaint.c:593: warning: implicit declaration of function 'firepaintGetFireColorBlue'
firepaint.c:598: warning: implicit declaration of function 'firepaintGetFireColorAlpha'
firepaint.c: In function 'fireInitDisplay':
firepaint.c:759: warning: implicit declaration of function 'firepaintSetInitiateInitiate'
firepaint.c:760: warning: implicit declaration of function 'firepaintSetInitiateTerminate'
firepaint.c:761: warning: implicit declaration of function 'firepaintSetClearInitiate'
firepaint.c: At top level:
firepaint.c:846: warning: initialization from incompatible pointer type
firepaint.c:848: warning: initialization from incompatible pointer type
firepaint.c:849: warning: initialization from incompatible pointer type
firepaint.c:850: warning: initialization from incompatible pointer type
firepaint.c:851: warning: initialization from incompatible pointer type
firepaint.c:852: warning: initialization from incompatible pointer type
firepaint.c:853: warning: initialization from incompatible pointer type
compiling : firepaint.c -> build/firepaint.lo
compiling : firepaint_options.c -> build/firepaint_options.lo
linking -> build/libfirepaint.la
[lukas@erde firepaint]$ su
Passwort:
[root@erde firepaint]# make install
install : /root/.compiz/plugins/libfirepaint.so
install : /root/.compiz/metadata/firepaint.xml
install : compiz-firepaint.schemacompiz-firepaint.schema:1: parser error : Document is empty

^
compiz-firepaint.schema:1: parser error : Start tag expected, '<' not found

^
install : compiz-firepaint.schema
[/code:2796d]

Now I thought it should work.. but:

[code:2796d]
[lukas@erde firepaint]$ compiz --loose-binding --sm-disable --replace ccp

......

Adding plugin firepaint (Paint fire on the screen)

......

Adding plugin screenshot (screenshot)
compiz: can't load plugin 'firepaint' because it is built for ABI version 20070328 and actual version is 20070506
compiz: Couldn't activate plugin 'firepaint'
compiz: Couldn't load plugin 'svg'
Active Plugin List update
compiz: can't load plugin 'firepaint' because it is built for ABI version 20070328 and actual version is 20070506
compiz: Couldn't activate plugin 'firepaint'
compiz: Couldn't load plugin 'svg'

[/code:2796d]

Does anybody know what I should do now?

SmSpillaz
May 20th, 2007, 02:22 AM
First Git Script
[attachment=0:666ee]Get-Compiz.sh.tar[/attachment:666ee]
Second Git Script
[attachment=1:666ee]Git Script.tar[/attachment:666ee]
(Execute with './yags clone then ./yags make then sudo ./yags make install)

Hmm. It sounds like you don't have BCOP. BCOP is required to build all the plugins and everything. What I suggest is to use the two scripts attached. The first one should get BCOP, CCP, Compiz and Emerald - everything you need to get started with OpenCompositing. The second will fetch all the plugins for you including FirePaint - but not 3D as it is broken at the moment. Use the second *after* the first.

LukasHetzi
May 20th, 2007, 11:09 AM
Hello,

I've tried your script but now I've some problems building css-lib

[code:b422f]
[lukas@erde ccs-lib]# make
....
make[2]: Entering directory `/home/lukas/composition-managers/ccs-lib/plugin'
if /bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/include/libpng12 -I/usr/include/startup-notification-1.0 -I/usr/include/compiz -I../include -I../src -DPLUGINDIR=\"/usr/lib/compiz\" -DLIBDIR=\"/usr/local/lib\" -g -O2 -Wall -Wpointer-arith -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wnested-externs -fno-strict-aliasing -MT ccp.lo -MD -MP -MF ".deps/ccp.Tpo" -c -o ccp.lo ccp.c; \
then mv -f ".deps/ccp.Tpo" ".deps/ccp.Plo"; else rm -f ".deps/ccp.Tpo"; exit 1; fi
gcc -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/include/libpng12 -I/usr/include/startup-notification-1.0 -I/usr/include/compiz -I../include -I../src -DPLUGINDIR=\"/usr/lib/compiz\" -DLIBDIR=\"/usr/local/lib\" -g -O2 -Wall -Wpointer-arith -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wnested-externs -fno-strict-aliasing -MT ccp.lo -MD -MP -MF .deps/ccp.Tpo -c ccp.c -fPIC -DPIC -o .libs/ccp.o
ccp.c: In function 'ccpSetOptionFromContext':
ccp.c:365: warning: passing argument 1 of 'p->vTable->getScreenOptions' from incompatible pointer type
ccp.c:365: warning: passing argument 2 of 'p->vTable->getScreenOptions' from incompatible pointer type
ccp.c:365: error: too many arguments to function 'p->vTable->getScreenOptions'
ccp.c:370: warning: passing argument 1 of 'p->vTable->getDisplayOptions' from incompatible pointer type
ccp.c:370: warning: passing argument 2 of 'p->vTable->getDisplayOptions' from incompatible pointer type
ccp.c:370: error: too many arguments to function 'p->vTable->getDisplayOptions'
ccp.c: In function 'ccpSetContextFromOption':
ccp.c:465: warning: passing argument 1 of 'p->vTable->getScreenOptions' from incompatible pointer type
ccp.c:465: warning: passing argument 2 of 'p->vTable->getScreenOptions' from incompatible pointer type
ccp.c:465: error: too many arguments to function 'p->vTable->getScreenOptions'
ccp.c:470: warning: passing argument 1 of 'p->vTable->getDisplayOptions' from incompatible pointer type
ccp.c:470: warning: passing argument 2 of 'p->vTable->getDisplayOptions' from incompatible pointer type
ccp.c:470: error: too many arguments to function 'p->vTable->getDisplayOptions'
ccp.c: In function 'ccpInitPluginForDisplay':
ccp.c:621: warning: passing argument 1 of 'p->vTable->getDisplayOptions' from incompatible pointer type
ccp.c:621: warning: passing argument 2 of 'p->vTable->getDisplayOptions' from incompatible pointer type
ccp.c:621: error: too many arguments to function 'p->vTable->getDisplayOptions'
ccp.c: In function 'ccpInitPluginForScreen':
ccp.c:648: warning: passing argument 1 of 'p->vTable->getScreenOptions' from incompatible pointer type
ccp.c:648: warning: passing argument 2 of 'p->vTable->getScreenOptions' from incompatible pointer type
ccp.c:648: error: too many arguments to function 'p->vTable->getScreenOptions'
ccp.c: At top level:
ccp.c:862: warning: initialization from incompatible pointer type
ccp.c:864: warning: initialization from incompatible pointer type
ccp.c:865: warning: initialization from incompatible pointer type
ccp.c:866: warning: initialization from incompatible pointer type
ccp.c:867: warning: initialization from incompatible pointer type
ccp.c:868: warning: initialization from incompatible pointer type
ccp.c:869: warning: initialization from incompatible pointer type
make[2]: *** [ccp.lo] Fehler 1
make[2]: Leaving directory `/home/lukas/composition-managers/ccs-lib/plugin'
make[1]: *** [all-recursive] Fehler 1
make[1]: Leaving directory `/home/lukas/composition-managers/ccs-lib'
make: *** [all] Fehler 2
[/code:b422f]

Jupiter
May 20th, 2007, 05:47 PM
Hello,
I tried to install firepaint:
Does anybody know what I should do now?


Last I read about firepaint, it was still broken.
If you look at the git repo, it hasn't been updated in a week.
http://gitweb.opencompositing.org/?o=age
If this answers that question for you please mark the thread [SOLVED]

For SmSpillaz script problem, please start a new thread.
This way we keep the forum better organized.

LukasHetzi
May 20th, 2007, 08:12 PM
okay.. thanks ;)

SmSpillaz
May 21st, 2007, 09:08 AM
Hello,

I've tried your script but now I've some problems building css-lib

[code:cf91e]
[lukas@erde ccs-lib]# make
....
make[2]: Entering directory `/home/lukas/composition-managers/ccs-lib/plugin'
if /bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/include/libpng12 -I/usr/include/startup-notification-1.0 -I/usr/include/compiz -I../include -I../src -DPLUGINDIR=\"/usr/lib/compiz\" -DLIBDIR=\"/usr/local/lib\" -g -O2 -Wall -Wpointer-arith -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wnested-externs -fno-strict-aliasing -MT ccp.lo -MD -MP -MF ".deps/ccp.Tpo" -c -o ccp.lo ccp.c; \
then mv -f ".deps/ccp.Tpo" ".deps/ccp.Plo"; else rm -f ".deps/ccp.Tpo"; exit 1; fi
gcc -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/include/libpng12 -I/usr/include/startup-notification-1.0 -I/usr/include/compiz -I../include -I../src -DPLUGINDIR=\"/usr/lib/compiz\" -DLIBDIR=\"/usr/local/lib\" -g -O2 -Wall -Wpointer-arith -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wnested-externs -fno-strict-aliasing -MT ccp.lo -MD -MP -MF .deps/ccp.Tpo -c ccp.c -fPIC -DPIC -o .libs/ccp.o
ccp.c: In function 'ccpSetOptionFromContext':
ccp.c:365: warning: passing argument 1 of 'p->vTable->getScreenOptions' from incompatible pointer type
ccp.c:365: warning: passing argument 2 of 'p->vTable->getScreenOptions' from incompatible pointer type
ccp.c:365: error: too many arguments to function 'p->vTable->getScreenOptions'
ccp.c:370: warning: passing argument 1 of 'p->vTable->getDisplayOptions' from incompatible pointer type
ccp.c:370: warning: passing argument 2 of 'p->vTable->getDisplayOptions' from incompatible pointer type
ccp.c:370: error: too many arguments to function 'p->vTable->getDisplayOptions'
ccp.c: In function 'ccpSetContextFromOption':
ccp.c:465: warning: passing argument 1 of 'p->vTable->getScreenOptions' from incompatible pointer type
ccp.c:465: warning: passing argument 2 of 'p->vTable->getScreenOptions' from incompatible pointer type
ccp.c:465: error: too many arguments to function 'p->vTable->getScreenOptions'
ccp.c:470: warning: passing argument 1 of 'p->vTable->getDisplayOptions' from incompatible pointer type
ccp.c:470: warning: passing argument 2 of 'p->vTable->getDisplayOptions' from incompatible pointer type
ccp.c:470: error: too many arguments to function 'p->vTable->getDisplayOptions'
ccp.c: In function 'ccpInitPluginForDisplay':
ccp.c:621: warning: passing argument 1 of 'p->vTable->getDisplayOptions' from incompatible pointer type
ccp.c:621: warning: passing argument 2 of 'p->vTable->getDisplayOptions' from incompatible pointer type
ccp.c:621: error: too many arguments to function 'p->vTable->getDisplayOptions'
ccp.c: In function 'ccpInitPluginForScreen':
ccp.c:648: warning: passing argument 1 of 'p->vTable->getScreenOptions' from incompatible pointer type
ccp.c:648: warning: passing argument 2 of 'p->vTable->getScreenOptions' from incompatible pointer type
ccp.c:648: error: too many arguments to function 'p->vTable->getScreenOptions'
ccp.c: At top level:
ccp.c:862: warning: initialization from incompatible pointer type
ccp.c:864: warning: initialization from incompatible pointer type
ccp.c:865: warning: initialization from incompatible pointer type
ccp.c:866: warning: initialization from incompatible pointer type
ccp.c:867: warning: initialization from incompatible pointer type
ccp.c:868: warning: initialization from incompatible pointer type
ccp.c:869: warning: initialization from incompatible pointer type
make[2]: *** [ccp.lo] Fehler 1
make[2]: Leaving directory `/home/lukas/composition-managers/ccs-lib/plugin'
make[1]: *** [all-recursive] Fehler 1
make[1]: Leaving directory `/home/lukas/composition-managers/ccs-lib'
make: *** [all] Fehler 2
[/code:cf91e]

Erm. Delete the folders that this script has made and try again :-)