View Full Version : need help:error compiling specific plugin
reez0105
January 21st, 2008, 12:33 AM
hi...i try to compile specific plugin....but got this error any help for wht should i do/i install to solve it
reez@alexenderreez:~$ cd /home/reez/addplug/fisheyereez@alexenderreez:~/addplug/fisheye$ make
compiling : fisheye.c -> build/fisheye.loPackage compiz-mousepoll was not found in the pkg-config search path.
Perhaps you should add the directory containing `compiz-mousepoll.pc'
to the PKG_CONFIG_PATH environment variable
No package 'compiz-mousepoll' found
fisheye.c:26:25: error: compiz-core.h: No such file or directory
fisheye.c:27:30: error: compiz-mousepoll.h: No such file or directory
In file included from fisheye.c:29:
build/fisheye_options.h:15:27: error: compiz-common.h: No such file or directory
In file included from fisheye.c:29:
build/fisheye_options.h:19: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'CompPluginVTable'
build/fisheye_options.h:29: error: expected ')' before '*' token
build/fisheye_options.h:31: error: expected '=', ',', ';', 'asm' or '__attribute__' before '*' token
build/fisheye_options.h:42: error: expected ')' before '*' token
build/fisheye_options.h:44: error: expected '=', ',', ';', 'asm' or '__attribute__' before '*' token
build/fisheye_options.h:46: error: expected '=', ',', ';', 'asm' or '__attribute__' before '*' token
build/fisheye_options.h:47: error: expected ')' before '*' token
build/fisheye_options.h:48: error: expected ')' before '*' token
build/fisheye_options.h:49: error: expected '=', ',', ';', 'asm' or '__attribute__' before '*' token
build/fisheye_options.h:50: error: expected ')' before '*' token
build/fisheye_options.h:52: error: expected '=', ',', ';', 'asm' or '__attribute__' before '*' token
build/fisheye_options.h:53: error: expected ')' before '*' token
build/fisheye_options.h:54: error: expected ')' before '*' token
build/fisheye_options.h:55: error: expected '=', ',', ';', 'asm' or '__attribute__' before '*' token
build/fisheye_options.h:56: error: expected ')' before '*' token
build/fisheye_options.h:58: error: expected '=', ',', ';', 'asm' or '__attribute__' before '*' token
build/fisheye_options.h:59: error: expected ')' before '*' token
build/fisheye_options.h:60: error: expected ')' before '*' token
build/fisheye_options.h:61: error: expected '=', ',', ';', 'asm' or '__attribute__' before '*' token
build/fisheye_options.h:62: error: expected ')' before '*' token
build/fisheye_options.h:64: error: expected ')' before '*' token
build/fisheye_options.h:65: error: expected '=', ',', ';', 'asm' or '__attribute__' before '*' token
build/fisheye_options.h:66: error: expected ')' before '*' token
build/fisheye_options.h:68: error: expected ')' before '*' token
build/fisheye_options.h:69: error: expected '=', ',', ';', 'asm' or '__attribute__' before '*' token
build/fisheye_options.h:70: error: expected ')' before '*' token
build/fisheye_options.h:72: error: expected ')' before '*' token
build/fisheye_options.h:73: error: expected '=', ',', ';', 'asm' or '__attribute__' before '*' token
build/fisheye_options.h:74: error: expected ')' before '*' token
build/fisheye_options.h:76: error: expected ')' before '*' token
build/fisheye_options.h:77: error: expected '=', ',', ';', 'asm' or '__attribute__' before '*' token
build/fisheye_options.h:78: error: expected ')' before '*' token
fisheye.c:43: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'static'
fisheye.c:49: error: expected specifier-qualifier-list before 'MousePollFunc'
fisheye.c:58: error: expected specifier-qualifier-list before 'Bool'
fisheye.c:110: error: expected ')' before '*' token
fisheye.c:131: error: expected ')' before '*' token
fisheye.c:146: error: expected ')' before '*' token
fisheye.c:184: error: expected ')' before '*' token
fisheye.c:228: error: expected ')' before '*' token
fisheye.c:265: error: expected ')' before '*' token
fisheye.c:383: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'fisheyeTerminate'
fisheye.c:409: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'fisheyeInitiate'
fisheye.c:443: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'fisheyeZoomIn'
fisheye.c:469: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'fisheyeZoomOut'
fisheye.c:495: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'loadFragmentProgram'
fisheye.c:535: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'fisheyeInitScreen'
fisheye.c:607: error: expected ')' before '*' token
fisheye.c:632: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'fisheyeInitDisplay'
fisheye.c:676: error: expected ')' before '*' token
fisheye.c:689: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'fisheyeInit'
fisheye.c:700: error: expected ')' before '*' token
fisheye.c:707: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'fisheyeInitObject'
fisheye.c:720: error: expected ')' before '*' token
fisheye.c:732: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'fisheyeVTable'
fisheye.c:743: error: expected '=', ',', ';', 'asm' or '__attribute__' before '*' token
make: *** [build/fisheye.lo] Error 1
adamk
January 21st, 2008, 12:50 AM
The primary issue here is that magnify, fisheye, and mousepoll are written against the master git version of compiz and you're probably using compiz from the 0.6 branch. To my knowledge, there is not yet a 0.6 branch for those particular plugins.
Fyda
January 21st, 2008, 03:22 AM
What adamk mentioned above would be essential to compiling any plugins written against git master. That you are lacking compiz-core.h and compiz-common.h indicates that you do not have the master version of Compiz from git.
There is also a second problem here, which you would have encountered even if you had met the above condition: the plugins mag, fisheye and showmouse are all build-dependent upon mousepoll being installed globally. A quick look in the Makefile for mousepoll reveals that it can be installed globally with this command (possibly requiring a sudo in front):
BUILD_GLOBAL=true make install
XerxesXS
January 21st, 2008, 07:19 PM
Excellent; thankyou very much, this fixed the same problem for me (I am using the Master version from git).
:)
XerxesXS
January 21st, 2008, 07:50 PM
I'd like to mention that trying to compile mousepoll with the following command did not work for me;
sudo BUILD_GLOBAL=true make install
I had to open a new terminal using Alt+f2, "gksudo gnome-terminal" and then just run the command without the sudo part. This was probably not such a good idea, but it worked. :)
Fyda
January 23rd, 2008, 01:42 AM
I'd like to mention that trying to compile mousepoll with the following command did not work for me;
sudo BUILD_GLOBAL=true make install
I had to open a new terminal using Alt+f2, "gksudo gnome-terminal" and then just run the command without the sudo part. This was probably not such a good idea, but it worked. :)Hmm, interesting. Possibly this is due to a difference between our systems, in some way; I was able to run that exact command successfully in Archlinux. :confused:
It would also be possible to export BUILD_GLOBAL=true and then do sudo make install, although the user would then have to export BUILD_GLOBAL=false afterwards (unless s/he wants to install all the other plugins globally as well, assuming that more plugins were compiled after doing this for mousepoll). Such exported flags do not persist between gnome-terminal instances, though (fortunately). ;)
adamk
January 23rd, 2008, 01:47 AM
Depending on how sudo is setup, I think it's also possible that it's resetting environmental variables.
Adam
pingpongboss
January 23rd, 2008, 08:53 AM
I'd like to mention that trying to compile mousepoll with the following command did not work for me;
sudo BUILD_GLOBAL=true make install
I had to open a new terminal using Alt+f2, "gksudo gnome-terminal" and then just run the command without the sudo part. This was probably not such a good idea, but it worked. :)
run BUILD_GLOBAL=true sudo make install
kjk
January 24th, 2008, 12:50 PM
is it have to install the mousepoll plugin first before install showmouse plugin? and where do i use "BUILD_GLOBAL=true sudo make install" this command ? is it during mousepoll installation?
adamk
January 24th, 2008, 01:00 PM
Yes, you have to install mousepoll with BUILD_GLOBAL=true before you can install showmouse.
Adam
kjk
January 24th, 2008, 01:06 PM
when do i need this command ? before using the make command or after ? sorry, linux newbie here
adamk
January 24th, 2008, 01:28 PM
As far as mousepoll goes, become the root user with 'sudo -i' and then run 'BUILD_GLOBAL=true make install'. You can then 'exit' out of the root user account and continue building showmouse.
Mind you, these plugins were written for compiz from master git. I can't be 100% certainly, but it's very unlikely they will work with the version of compiz that comes with Ubuntu 7.10.
Adam
kjk
January 24th, 2008, 01:34 PM
looks like need to wait for the stable version for gutsy. thanks for ur help
reez0105
January 26th, 2008, 12:41 AM
any help please-->
reez@alexenderreez:~$ cd /home/reez/Desktop/showmouse
reez@alexenderreez:~/Desktop/showmouse$ make
Makefile:58: *** [ERROR] No package 'compiz-mousepoll' found. Stop.
reez@alexenderreez:~/Desktop/showmouse$ sudo BUILD_GLOBAL=true make install
sudo: BUILD_GLOBAL=true: command not found
reez@alexenderreez:~/Desktop/showmouse$ sudo BUILD_GLOBAL= true make install
sudo: BUILD_GLOBAL=: command not found
reez@alexenderreez:~/Desktop/showmouse$ make
Makefile:58: *** [ERROR] No package 'compiz-mousepoll' found. Stop.
reez@alexenderreez:~/Desktop/showmouse$ cd /home/reez/Desktop/showmouse
reez@alexenderreez:~/Desktop/showmouse$ make
Makefile:58: *** [ERROR] No package 'compiz-mousepoll' found. Stop.
reez@alexenderreez:~/Desktop/showmouse$ sudo BUILD_GLOBAL=true make install
sudo: BUILD_GLOBAL=true: command not found
reez@alexenderreez:~/Desktop/showmouse$ BUILD_GLOBAL=true make install
Makefile:58: *** [ERROR] No package 'compiz-mousepoll' found. Stop.
adamk
January 26th, 2008, 01:05 AM
mousepoll is the one that needs to be built with BUILD_GLOBAL, *not* showmouse :-)
When installing mousepoll, try 'BUILD_GLOBAL=true sudo make install'
Adam
reez0105
January 26th, 2008, 06:58 AM
oh..thanks,,any clue for these error....-->
visual event plugin
reez@alexenderreez:~/addplug/visualevent$ make && sudo make install
compiling : visualevent.c -> build/visualevent.lovisualevent.c:37:35: error: X11/extensions/record.h: No such file or directory
visualevent.c:98: error: expected specifier-qualifier-list before 'XRecordContext'
visualevent.c: In function 'visualevDrawMouse':
visualevent.c:197: error: 'VisualEventDisplay' has no member named 'buttons'
visualevent.c:213: error: 'VisualEventDisplay' has no member named 'buttons'
visualevent.c:230: error: 'VisualEventDisplay' has no member named 'buttons'
visualevent.c: In function 'visualevDrawKeyboard':
visualevent.c:285: error: 'VisualEventDisplay' has no member named 'keys'
visualevent.c:287: error: 'VisualEventDisplay' has no member named 'keynames'
visualevent.c: In function 'visualevPaintOutput':
visualevent.c:315: error: 'VisualEventDisplay' has no member named 'buttons'
visualevent.c:325: error: 'VisualEventDisplay' has no member named 'keys'
visualevent.c:336: error: 'VisualEventDisplay' has no member named 'enabled'
visualevent.c: In function 'visualevRemoveTimeout':
visualevent.c:379: error: 'VisualEventDisplay' has no member named 'timeoutHandles'
visualevent.c:381: error: 'VisualEventDisplay' has no member named 'timeoutHandles'
visualevent.c:382: error: 'VisualEventDisplay' has no member named 'timeoutHandles'
visualevent.c: In function 'visualevFindKey':
visualevent.c:399: error: 'VisualEventDisplay' has no member named 'keycodes'
visualevent.c: In function 'visualevKeyStateChanged':
visualevent.c:433: error: 'VisualEventDisplay' has no member named 'keys'
visualevent.c:436: error: 'VisualEventDisplay' has no member named 'keys'
visualevent.c:438: error: 'VisualEventDisplay' has no member named 'enabled'
visualevent.c: In function 'visualevKeyReleased':
visualevent.c:485: error: 'VisualEventDisplay' has no member named 'enabled'
visualevent.c:501: error: 'VisualEventDisplay' has no member named 'timeoutHandles'
visualevent.c: In function 'visualevButtonStateChanged':
visualevent.c:552: error: 'VisualEventDisplay' has no member named 'buttons'
visualevent.c:555: error: 'VisualEventDisplay' has no member named 'buttons'
visualevent.c:557: error: 'VisualEventDisplay' has no member named 'enabled'
visualevent.c: In function 'visualevButtonReleased':
visualevent.c:603: error: 'VisualEventDisplay' has no member named 'enabled'
visualevent.c:619: error: 'VisualEventDisplay' has no member named 'timeoutHandles'
visualevent.c: At top level:
visualevent.c:654: error: expected declaration specifiers or '...' before 'XRecordInterceptData'
visualevent.c: In function 'visualevHandleRecordEvent':
visualevent.c:661: error: 'data' undeclared (first use in this function)
visualevent.c:661: error: (Each undeclared identifier is reported only once
visualevent.c:661: error: for each function it appears in.)
visualevent.c:664: error: 'XRecordFromServer' undeclared (first use in this function)
visualevent.c:666: warning: implicit declaration of function 'XRecordFreeData'
visualevent.c:666: warning: nested extern declaration of 'XRecordFreeData'
visualevent.c: In function 'visualevEventsThread':
visualevent.c:698: error: 'XRecordRange' undeclared (first use in this function)
visualevent.c:698: error: 'range' undeclared (first use in this function)
visualevent.c:699: error: 'XRecordClientSpec' undeclared (first use in this function)
visualevent.c:699: error: expected ';' before 'client_spec'
visualevent.c:712: warning: implicit declaration of function 'XRecordAllocRange'
visualevent.c:712: warning: nested extern declaration of 'XRecordAllocRange'
visualevent.c:724: error: 'VisualEventDisplay' has no member named 'context'
visualevent.c:724: warning: implicit declaration of function 'XRecordCreateContext'
visualevent.c:724: warning: nested extern declaration of 'XRecordCreateContext'
visualevent.c:725: error: 'XRecordFromServerTime' undeclared (first use in this function)
visualevent.c:726: error: 'XRecordFromClientTime' undeclared (first use in this function)
visualevent.c:727: error: 'XRecordFromClientSequence' undeclared (first use in this function)
visualevent.c:728: error: 'client_spec' undeclared (first use in this function)
visualevent.c:733: error: 'VisualEventDisplay' has no member named 'context'
visualevent.c:742: warning: implicit declaration of function 'XRecordEnableContextAsync'
visualevent.c:742: warning: nested extern declaration of 'XRecordEnableContextAsync'
visualevent.c:742: error: 'VisualEventDisplay' has no member named 'context'
visualevent.c:747: warning: implicit declaration of function 'XRecordFreeContext'
visualevent.c:747: warning: nested extern declaration of 'XRecordFreeContext'
visualevent.c:747: error: 'VisualEventDisplay' has no member named 'context'
visualevent.c:753: error: 'VisualEventDisplay' has no member named 'context'
visualevent.c:764: warning: implicit declaration of function 'XRecordProcessReplies'
visualevent.c:764: warning: nested extern declaration of 'XRecordProcessReplies'
visualevent.c:769: warning: implicit declaration of function 'XRecordDisableContext'
visualevent.c:769: warning: nested extern declaration of 'XRecordDisableContext'
visualevent.c:769: error: 'VisualEventDisplay' has no member named 'context'
visualevent.c:770: error: 'VisualEventDisplay' has no member named 'context'
visualevent.c: In function 'visualevToggle':
visualevent.c:859: error: 'VisualEventDisplay' has no member named 'enabled'
visualevent.c:859: error: 'VisualEventDisplay' has no member named 'enabled'
visualevent.c:864: error: 'VisualEventDisplay' has no member named 'enabled'
visualevent.c: In function 'visualevInitKeys':
visualevent.c:894: error: 'VisualEventDisplay' has no member named 'keycodes'
visualevent.c:895: error: 'VisualEventDisplay' has no member named 'keycodes'
visualevent.c:896: error: 'VisualEventDisplay' has no member named 'keycodes'
visualevent.c:897: error: 'VisualEventDisplay' has no member named 'keycodes'
visualevent.c:898: error: 'VisualEventDisplay' has no member named 'keycodes'
visualevent.c:899: error: 'VisualEventDisplay' has no member named 'keycodes'
visualevent.c:900: error: 'VisualEventDisplay' has no member named 'keycodes'
visualevent.c:901: error: 'VisualEventDisplay' has no member named 'keycodes'
visualevent.c:902: error: 'VisualEventDisplay' has no member named 'keycodes'
visualevent.c:905: error: 'VisualEventDisplay' has no member named 'keynames'
visualevent.c:906: error: 'VisualEventDisplay' has no member named 'keynames'
visualevent.c:907: error: 'VisualEventDisplay' has no member named 'keynames'
visualevent.c:908: error: 'VisualEventDisplay' has no member named 'keynames'
visualevent.c:909: error: 'VisualEventDisplay' has no member named 'keynames'
visualevent.c:910: error: 'VisualEventDisplay' has no member named 'keynames'
visualevent.c:911: error: 'VisualEventDisplay' has no member named 'keynames'
visualevent.c:912: error: 'VisualEventDisplay' has no member named 'keynames'
visualevent.c:913: error: 'VisualEventDisplay' has no member named 'keynames'
visualevent.c: In function 'visualevInitKeyCoords':
visualevent.c:950: error: 'VisualEventDisplay' has no member named 'keycodes'
visualevent.c:954: error: 'VisualEventDisplay' has no member named 'keynames'
visualevent.c:959: error: 'VisualEventDisplay' has no member named 'keycodes'
visualevent.c:963: error: 'VisualEventDisplay' has no member named 'keynames'
visualevent.c:967: error: 'VisualEventDisplay' has no member named 'keycodes'
visualevent.c:971: error: 'VisualEventDisplay' has no member named 'keynames'
visualevent.c:975: error: 'VisualEventDisplay' has no member named 'keycodes'
visualevent.c:979: error: 'VisualEventDisplay' has no member named 'keynames'
visualevent.c:983: error: 'VisualEventDisplay' has no member named 'keycodes'
visualevent.c:987: error: 'VisualEventDisplay' has no member named 'keynames'
visualevent.c:991: error: 'VisualEventDisplay' has no member named 'keycodes'
visualevent.c:995: error: 'VisualEventDisplay' has no member named 'keynames'
visualevent.c:999: error: 'VisualEventDisplay' has no member named 'keycodes'
visualevent.c:1003: error: 'VisualEventDisplay' has no member named 'keynames'
visualevent.c:1007: error: 'VisualEventDisplay' has no member named 'keycodes'
visualevent.c:1011: error: 'VisualEventDisplay' has no member named 'keynames'
visualevent.c:1017: error: 'VisualEventDisplay' has no member named 'keycodes'
visualevent.c:1020: error: 'VisualEventDisplay' has no member named 'keynames'
visualevent.c: In function 'visualevInitDisplay':
visualevent.c:1039: warning: implicit declaration of function 'XRecordQueryVersion'
visualevent.c:1039: warning: nested extern declaration of 'XRecordQueryVersion'
visualevent.c:1062: error: 'VisualEventDisplay' has no member named 'enabled'
visualevent.c:1063: error: 'VisualEventDisplay' has no member named 'context'
visualevent.c:1069: error: 'VisualEventDisplay' has no member named 'buttons'
visualevent.c:1074: error: 'VisualEventDisplay' has no member named 'keys'
visualevent.c:1075: error: 'VisualEventDisplay' has no member named 'keycodes'
visualevent.c:1076: error: 'VisualEventDisplay' has no member named 'keynames'
visualevent.c:1081: error: 'VisualEventDisplay' has no member named 'timeoutHandles'
visualevent.c: In function 'visualevFiniDisplay':
visualevent.c:1113: error: 'VisualEventDisplay' has no member named 'timeoutHandles'
visualevent.c:1115: error: 'VisualEventDisplay' has no member named 'timeoutHandles'
visualevent.c:1116: error: 'VisualEventDisplay' has no member named 'timeoutHandles'
visualevent.c:1146: error: 'VisualEventDisplay' has no member named 'keynames'
visualevent.c:1147: error: 'VisualEventDisplay' has no member named 'keynames'
make: *** [build/visualevent.lo] Error 1
and
reez@alexenderreez:~/addplug/visualevent$ cd /home/reez/addplug/anaglyph
reez@alexenderreez:~/addplug/anaglyph$ git-pull
Already up-to-date.
reez@alexenderreez:~/addplug/anaglyph$ make && sudo make install
compiling : anaglyph-0.6/anaglyph.c -> build/anaglyph-0.6/anaglyph.lo/usr/bin/libtool: line 1272: build/anaglyph-0.6/anaglyph.loT: No such file or directory
mkdir: cannot create directory `build/anaglyph-0.6/.libs': No such file or directory
make: *** [build/anaglyph-0.6/anaglyph.lo] Error 1
Deciare
January 26th, 2008, 10:44 PM
The visualevent plugin is complaining about not being able to find /usr/include/X11/extensions/record.h. Depending on the distribution you are using, it should come in a package named something like x11proto-record-dev.
For the anaglyph plugin, try running the following command in the same directory where the plugin's source code is stored:
mkdir -p build/anaglyph-0.6/.libs/.libs
And then try running make again. Also, if you are running the git master version of Compiz, you should not be trying to build anaglyph-0.6. Try the version of anaglyph for git master.
reez0105
January 28th, 2008, 04:09 AM
For the anaglyph plugin, try running the following command in the same directory where the plugin's source code is stored:
mkdir -p build/anaglyph-0.6/.libs/.libs
And then try running make again. Also, if you are running the git master version of Compiz, you should not be trying to build anaglyph-0.6. Try the version of anaglyph for git master.
still got this error....
reez@alexenderreez:~/addplug/anaglyph$ make && sudo make install
compiling : anaglyph.c -> build/anaglyph.lo
compiling : anaglyph-0.6/anaglyph.c -> build/anaglyph-0.6/anaglyph.loIn file included from anaglyph-0.6/anaglyph.c:12:
build/anaglyph_options.h:19: error: expected '=', ',', ';', 'asm' or '__attribute__' before '*' token
build/anaglyph_options.h:49: error: expected '=', ',', ';', 'asm' or '__attribute__' before '*' token
build/anaglyph_options.h:50: error: expected declaration specifiers or '...' before 'CompActionCallBackProc'
build/anaglyph_options.h:51: error: expected declaration specifiers or '...' before 'CompActionCallBackProc'
build/anaglyph_options.h:55: error: expected '=', ',', ';', 'asm' or '__attribute__' before '*' token
build/anaglyph_options.h:56: error: expected declaration specifiers or '...' before 'CompActionCallBackProc'
build/anaglyph_options.h:57: error: expected declaration specifiers or '...' before 'CompActionCallBackProc'
build/anaglyph_options.h:61: error: expected '=', ',', ';', 'asm' or '__attribute__' before '*' token
build/anaglyph_options.h:62: error: expected declaration specifiers or '...' before 'CompActionCallBackProc'
build/anaglyph_options.h:63: error: expected declaration specifiers or '...' before 'CompActionCallBackProc'
build/anaglyph_options.h:67: error: expected '=', ',', ';', 'asm' or '__attribute__' before '*' token
build/anaglyph_options.h:68: error: expected declaration specifiers or '...' before 'CompActionCallBackProc'
build/anaglyph_options.h:69: error: expected declaration specifiers or '...' before 'CompActionCallBackProc'
build/anaglyph_options.h:73: error: expected '=', ',', ';', 'asm' or '__attribute__' before '*' token
build/anaglyph_options.h:77: error: expected '=', ',', ';', 'asm' or '__attribute__' before '*' token
build/anaglyph_options.h:89: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'anaglyphGetDesaturate'
build/anaglyph_options.h:93: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'anaglyphGetMipmaps'
anaglyph-0.6/anaglyph.c:49: error: expected specifier-qualifier-list before 'PaintWindowProc'
anaglyph-0.6/anaglyph.c:62: error: expected specifier-qualifier-list before 'Bool'
anaglyph-0.6/anaglyph.c: In function 'toggleAnaglyphWindow':
anaglyph-0.6/anaglyph.c:71: error: dereferencing pointer to incomplete type
anaglyph-0.6/anaglyph.c:71: error: dereferencing pointer to incomplete type
anaglyph-0.6/anaglyph.c:71: error: dereferencing pointer to incomplete type
anaglyph-0.6/anaglyph.c:73: error: 'AnaglyphWindow' has no member named 'isAnaglyph'
anaglyph-0.6/anaglyph.c:73: error: 'AnaglyphWindow' has no member named 'isAnaglyph'
anaglyph-0.6/anaglyph.c:75: warning: implicit declaration of function 'matchEval'
anaglyph-0.6/anaglyph.c:75: warning: nested extern declaration of 'matchEval'
anaglyph-0.6/anaglyph.c:75: warning: implicit declaration of function 'anaglyphGetExcludeMatch'
anaglyph-0.6/anaglyph.c:75: warning: nested extern declaration of 'anaglyphGetExcludeMatch'
anaglyph-0.6/anaglyph.c:75: error: dereferencing pointer to incomplete type
anaglyph-0.6/anaglyph.c:76: error: 'AnaglyphWindow' has no member named 'isAnaglyph'
anaglyph-0.6/anaglyph.c:76: error: 'FALSE' undeclared (first use in this function)
anaglyph-0.6/anaglyph.c:76: error: (Each undeclared identifier is reported only once
anaglyph-0.6/anaglyph.c:76: error: for each function it appears in.)
anaglyph-0.6/anaglyph.c:78: error: dereferencing pointer to incomplete type
anaglyph-0.6/anaglyph.c:78: error: 'AnaglyphWindow' has no member named 'isAnaglyph'
anaglyph-0.6/anaglyph.c:79: warning: implicit declaration of function 'damageScreen'
anaglyph-0.6/anaglyph.c:79: warning: nested extern declaration of 'damageScreen'
anaglyph-0.6/anaglyph.c:79: error: dereferencing pointer to incomplete type
anaglyph-0.6/anaglyph.c:81: warning: implicit declaration of function 'addWindowDamage'
anaglyph-0.6/anaglyph.c:81: warning: nested extern declaration of 'addWindowDamage'
anaglyph-0.6/anaglyph.c: In function 'toggleAnaglyphScreen':
anaglyph-0.6/anaglyph.c:89: error: dereferencing pointer to incomplete type
anaglyph-0.6/anaglyph.c:89: error: dereferencing pointer to incomplete type
anaglyph-0.6/anaglyph.c:91: error: 'AnaglyphScreen' has no member named 'isAnaglyph'
anaglyph-0.6/anaglyph.c:91: error: 'AnaglyphScreen' has no member named 'isAnaglyph'
anaglyph-0.6/anaglyph.c:93: error: dereferencing pointer to incomplete type
anaglyph-0.6/anaglyph.c:93: error: dereferencing pointer to incomplete type
anaglyph-0.6/anaglyph.c: At top level:
anaglyph-0.6/anaglyph.c:101: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'anaglyphAnaglyphWindow'
anaglyph-0.6/anaglyph.c:125: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'anaglyphAnaglyphScreen'
anaglyph-0.6/anaglyph.c:147: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'anaglyphDrawWindow'
anaglyph-0.6/anaglyph.c:242: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'anaglyphDamageWindowRect'
anaglyph-0.6/anaglyph.c:270: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'anaglyphPaintOutput'
anaglyph-0.6/anaglyph.c: In function 'anaglyphWindowAddNotify':
anaglyph-0.6/anaglyph.c:291: error: dereferencing pointer to incomplete type
anaglyph-0.6/anaglyph.c:293: error: dereferencing pointer to incomplete type
anaglyph-0.6/anaglyph.c:293: error: dereferencing pointer to incomplete type
anaglyph-0.6/anaglyph.c:295: warning: implicit declaration of function 'UNWRAP'
anaglyph-0.6/anaglyph.c:295: warning: nested extern declaration of 'UNWRAP'
anaglyph-0.6/anaglyph.c:295: error: 'windowAddNotify' undeclared (first use in this function)
anaglyph-0.6/anaglyph.c:296: error: dereferencing pointer to incomplete type
anaglyph-0.6/anaglyph.c:297: warning: implicit declaration of function 'WRAP'
anaglyph-0.6/anaglyph.c:297: warning: nested extern declaration of 'WRAP'
anaglyph-0.6/anaglyph.c:299: error: 'AnaglyphScreen' has no member named 'isAnaglyph'
anaglyph-0.6/anaglyph.c:299: warning: implicit declaration of function 'anaglyphGetAnaglyphMatch'
anaglyph-0.6/anaglyph.c:299: warning: nested extern declaration of 'anaglyphGetAnaglyphMatch'
anaglyph-0.6/anaglyph.c: In function 'anaglyphScreenOptionChanged':
anaglyph-0.6/anaglyph.c:314: error: dereferencing pointer to incomplete type
anaglyph-0.6/anaglyph.c:314: error: dereferencing pointer to incomplete type
anaglyph-0.6/anaglyph.c:316: error: dereferencing pointer to incomplete type
anaglyph-0.6/anaglyph.c:316: error: dereferencing pointer to incomplete type
anaglyph-0.6/anaglyph.c:318: error: 'Bool' undeclared (first use in this function)
anaglyph-0.6/anaglyph.c:318: error: expected ';' before 'isAnaglyph'
anaglyph-0.6/anaglyph.c:319: error: dereferencing pointer to incomplete type
anaglyph-0.6/anaglyph.c:319: error: dereferencing pointer to incomplete type
anaglyph-0.6/anaglyph.c:319: error: dereferencing pointer to incomplete type
anaglyph-0.6/anaglyph.c:321: error: 'isAnaglyph' undeclared (first use in this function)
anaglyph-0.6/anaglyph.c:324: error: 'AnaglyphScreen' has no member named 'isAnaglyph'
anaglyph-0.6/anaglyph.c:324: error: 'AnaglyphWindow' has no member named 'isAnaglyph'
anaglyph-0.6/anaglyph.c:326: error: 'AnaglyphWindow' has no member named 'isAnaglyph'
anaglyph-0.6/anaglyph.c: At top level:
anaglyph-0.6/anaglyph.c:342: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'anaglyphInitDisplay'
anaglyph-0.6/anaglyph.c: In function 'anaglyphFiniDisplay':
anaglyph-0.6/anaglyph.c:369: error: dereferencing pointer to incomplete type
anaglyph-0.6/anaglyph.c:371: warning: implicit declaration of function 'freeScreenPrivateIndex'
anaglyph-0.6/anaglyph.c:371: warning: nested extern declaration of 'freeScreenPrivateIndex'
anaglyph-0.6/anaglyph.c: At top level:
anaglyph-0.6/anaglyph.c:379: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'anaglyphInitScreen'
anaglyph-0.6/anaglyph.c: In function 'anaglyphFiniScreen':
anaglyph-0.6/anaglyph.c:415: error: dereferencing pointer to incomplete type
anaglyph-0.6/anaglyph.c:415: error: dereferencing pointer to incomplete type
anaglyph-0.6/anaglyph.c:417: warning: implicit declaration of function 'freeWindowPrivateIndex'
anaglyph-0.6/anaglyph.c:417: warning: nested extern declaration of 'freeWindowPrivateIndex'
anaglyph-0.6/anaglyph.c:420: error: 'paintOutput' undeclared (first use in this function)
anaglyph-0.6/anaglyph.c:421: error: 'paintWindow' undeclared (first use in this function)
anaglyph-0.6/anaglyph.c:422: error: 'damageWindowRect' undeclared (first use in this function)
anaglyph-0.6/anaglyph.c:423: error: 'windowAddNotify' undeclared (first use in this function)
anaglyph-0.6/anaglyph.c: At top level:
anaglyph-0.6/anaglyph.c:430: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'anaglyphInitWindow'
anaglyph-0.6/anaglyph.c: In function 'anaglyphFiniWindow':
anaglyph-0.6/anaglyph.c:451: error: dereferencing pointer to incomplete type
anaglyph-0.6/anaglyph.c:451: error: dereferencing pointer to incomplete type
anaglyph-0.6/anaglyph.c:451: error: dereferencing pointer to incomplete type
anaglyph-0.6/anaglyph.c: At top level:
anaglyph-0.6/anaglyph.c:463: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'anaglyphInit'
anaglyph-0.6/anaglyph.c: In function 'anaglyphFini':
anaglyph-0.6/anaglyph.c:482: warning: implicit declaration of function 'freeDisplayPrivateIndex'
anaglyph-0.6/anaglyph.c:482: warning: nested extern declaration of 'freeDisplayPrivateIndex'
anaglyph-0.6/anaglyph.c: In function 'anaglyphGetVersion':
anaglyph-0.6/anaglyph.c:494: error: 'ABIVERSION' undeclared (first use in this function)
anaglyph-0.6/anaglyph.c:495: warning: control reaches end of non-void function
anaglyph-0.6/anaglyph.c: At top level:
anaglyph-0.6/anaglyph.c:497: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'anaglyphVTable'
anaglyph-0.6/anaglyph.c:515: error: expected '=', ',', ';', 'asm' or '__attribute__' before '*' token
make: *** [build/anaglyph-0.6/anaglyph.lo] Error 1
Deciare
January 28th, 2008, 04:39 AM
anaglyph_options.h is generated by bcop as part of the build process. If there are errors in anaglyph_options.h, then there is a problem with either the version of bcop, libxml2, or libxslt installed on your computer.
Did you already mention which Linux distribution you were using, and from where you installed bcop?
gourgi
February 8th, 2008, 03:23 PM
i use ubuntu hardy alpha 4 and i already have installed master git
here is how i installed mousepoll and showmouse plugin:
1) run "Alt+F2" and type "gksudo gnome-terminal"
this will open gnome-terminal with superuser priviledges
2) type :
mkdir compiz_plugins
cd compiz_plugins
3) clone both plugins through git :
git clone git://anongit.compiz-fusion.org/fusion/plugins/mousepoll mousepoll
git clone git://anongit.compiz-fusion.org/fusion/plugins/showmouse showmouse
4 ) cd mousepoll
make
BUILD_GLOBAL=true make install
cd ..
5) cd showmouse
make
BUILD_GLOBAL=true make install
done ;)
i hope this helps you
Important : you need master git for both plugins to work !!
XerxesXS
February 10th, 2008, 01:38 PM
run BUILD_GLOBAL=true sudo make install
Thanks, that appears to work...:)
vBulletin® v3.7.3, Copyright ©2000-2008, Jelsoft Enterprises Ltd.