11
Dec
07

Have a merry x-mas… compiz style

One of the cooler, lesser-known plugins for Compiz, xglsnow, was sadly left in the dust with the inclusion of Compiz Fusion into Ubuntu 7.10. That doesn’t mean, however, you can’t still get it working in time for the holiday season! Check out the video below to see the plugin in action.

Here is a screenshot of what it looks like on my machine:

screenshot of xglsnow running on my desktop

Note: This tutorial assumes that you have Compiz or Compiz fusion setup already. If you don’t, however, try searching the forums– there is a huge number of guides floating around on getting Compiz running for different graphics cards.

Ready? Here goes…

I. Installing xglsnow

First, you need to install the necessary packages to build the plugin. Open up a console (alt+F2 -> “gnome-terminal”),
and type:

sudo apt-get install compiz-bcop compiz-dev build-essential libxcomposite-dev libpng12-dev libsm-dev libxrandr-dev libxdamage-dev libxinerama-dev libstartup-notification0-dev libgconf2-dev librsvg2-dev libdbus-1-dev libdbus-glib-1-dev libgnome-desktop-dev x11proto-scrnsaver-dev libxss-dev libxslt1-dev libtool

Create a directory in your home folder to install the plugin to:

mkdir -p ~/compiz/

Download xglsnow and extract it to the directory you just created:

Finally, navigate to the directory, compile and install:

cd ~/compiz/snow

make
make install

Now you just need to install some textures, configure xgl, and you’re done! :)

*The above steps are based off a tutorial by Scott at the Compiz Fusion forums. Thanks!

II. Adding textures

The above tarball doesn’t include any snow textures, so by default all you would see are some floating white blocks… not very pretty… The package from the xglsnow homepage, however, includes a texture which looks pretty nice. To set it up, go to the xglsnow project homepage and download xglsnow-0.2.0.tar.gz. Extract the files, and copy the file “snowflake2.png” to any location you would like, e.g. ~/.compiz/images or /usr/share/images:

tar -xf xglsnow-0.2.0.tar.gz

cd xglsnow-0.2.0/

mkdir ~/.compiz/images

mv snowflake2.png ~/.compiz/images

If you haven’t already, restart Compiz to load the new plugin (alt+F2 -> “compiz –replace”) and run the Compiz settings manager: alt+F2 -> “ccsm”. Find the “Snow” plugin and check the box to the left of it to enable it.

Compiz settings manager

Now click on the plugin’s name to modify its settings. Next go to “Textures” -> “add” -> “browse” (click the folder icon). Navigate to the location where you saved the texture from above and hit “okay.”

Compiz settings manager (snow configuration)

All done!

Press “Super + F3″ to start xgl snow. If you don’t see anything, check to make sure the the PNG plugin for compiz is enabled, and that the hotkey for xglsnow is in fact “super + F3.”

If you want to install some different snow textures, try the Snowflakes pack on Gnome-look.

III. Wallpapers

Finally, if you want to find some wintry wallpapers to go along with your new snow-covered desktop, take a look at Blue Christmas
from digital blasphemy (that is the one in the screenshot above). Gnome-art has a nice picture of a winter landscape in Alsace, France You can also find some winter wallpapers at Gnome-look and Kde-look.
Try searching for “winter” or “snow.”

That’s all!

Feel free to write any suggestions, or a link to a screenshot of your own holiday desktop :)

About these ads

11 Responses to “Have a merry x-mas… compiz style”


  1. 1 Easwar Hariharan
    December 15, 2007 at 10:41 am

    easwarh@l1nuxr0cks:~$ wget -O /tmp/snow.tar.gz “http://gitweb.opencompositing.org/?p=fusion/plugins/snow;a=snapshot;h=01d0ff6ec71dae4699bc990e0114569c8ad4e083″
    “http://gitweb.opencompositing.org/?p=fusion/plugins/snow: Unsupported scheme.
    easwarh@l1nuxr0cks:~$

    Unsupported scheme?

  2. 2 Keith
    December 15, 2007 at 10:46 am

    Hi,

    Change the quotation marks surrounding the URL to normal single or double quotes. For some reason when I posted this article, a different encoding was used for the quotation marks. I will try to fix the problem in the article– Thanks for pointing that out! :)

    update: Okay, I fixed it in the blog post by using HTML &quot entities. Copying and pasting should work fine now.

  3. November 22, 2008 at 5:23 am

    compiling : snow.c -> build/snow.loIn file included from snow.c:39:
    build/snow_options.h:19: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token
    build/snow_options.h:96: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token
    build/snow_options.h:108: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token
    build/snow_options.h:109: error: expected declaration specifiers or ‘…’ before ‘CompActionCallBackProc’
    build/snow_options.h:110: error: expected declaration specifiers or ‘…’ before ‘CompActionCallBackProc’
    snow.c:68: error: expected specifier-qualifier-list before ‘CompTexture’
    snow.c:95: error: expected specifier-qualifier-list before ‘PaintOutputProc’
    snow.c: In function ‘snowThink’:
    snow.c:117: error: dereferencing pointer to incomplete type
    snow.c:119: error: dereferencing pointer to incomplete type
    snow.c:121: error: dereferencing pointer to incomplete type
    snow.c:122: error: dereferencing pointer to incomplete type
    snow.c:127: error: dereferencing pointer to incomplete type
    snow.c: In function ‘stepSnowPositions’:
    snow.c:151: error: dereferencing pointer to incomplete type
    snow.c:151: error: dereferencing pointer to incomplete type
    snow.c:154: error: ‘TRUE’ undeclared (first use in this function)
    snow.c:154: error: (Each undeclared identifier is reported only once
    snow.c:154: error: for each function it appears in.)
    snow.c:156: error: ‘SnowScreen’ has no member named ‘allSnowFlakes’
    snow.c:157: error: dereferencing pointer to incomplete type
    snow.c:158: error: dereferencing pointer to incomplete type
    snow.c:167: error: dereferencing pointer to incomplete type
    snow.c:167: error: dereferencing pointer to incomplete type
    snow.c:169: error: dereferencing pointer to incomplete type
    snow.c:169: error: ‘CompWindowTypeDesktopMask’ undeclared (first use in this function)
    snow.c:170: warning: implicit declaration of function ‘addWindowDamage’
    snow.c:170: warning: nested extern declaration of ‘addWindowDamage’
    snow.c:174: warning: implicit declaration of function ‘damageScreen’
    snow.c:174: warning: nested extern declaration of ‘damageScreen’
    snow.c:177: warning: control reaches end of non-void function
    snow.c: At top level:
    snow.c:181: error: expected declaration specifiers or ‘…’ before ‘CompAction’
    snow.c:182: error: expected declaration specifiers or ‘…’ before ‘CompActionState’
    snow.c: In function ‘snowToggle’:
    snow.c:189: warning: implicit declaration of function ‘getIntOptionNamed’
    snow.c:189: warning: nested extern declaration of ‘getIntOptionNamed’
    snow.c:190: warning: implicit declaration of function ‘findScreenAtDisplay’
    snow.c:190: warning: nested extern declaration of ‘findScreenAtDisplay’
    snow.c:190: warning: assignment makes pointer from integer without a cast
    snow.c:194: error: dereferencing pointer to incomplete type
    snow.c:194: error: dereferencing pointer to incomplete type
    snow.c:200: error: ‘TRUE’ undeclared (first use in this function)
    snow.c:201: warning: control reaches end of non-void function
    snow.c: In function ‘setupDisplayList’:
    snow.c:224: error: dereferencing pointer to incomplete type
    snow.c:226: error: ‘SnowScreen’ has no member named ‘displayList’
    snow.c:226: warning: implicit declaration of function ‘glGenLists’
    snow.c:226: warning: nested extern declaration of ‘glGenLists’
    snow.c:228: warning: implicit declaration of function ‘glNewList’
    snow.c:228: warning: nested extern declaration of ‘glNewList’
    snow.c:228: error: ‘SnowScreen’ has no member named ‘displayList’
    snow.c:228: error: ‘GL_COMPILE’ undeclared (first use in this function)
    snow.c:229: warning: implicit declaration of function ‘glBegin’
    snow.c:229: warning: nested extern declaration of ‘glBegin’
    snow.c:229: error: ‘GL_QUADS’ undeclared (first use in this function)
    snow.c:231: warning: implicit declaration of function ‘glColor4f’
    snow.c:231: warning: nested extern declaration of ‘glColor4f’
    snow.c:232: warning: implicit declaration of function ‘glVertex3f’
    snow.c:232: warning: nested extern declaration of ‘glVertex3f’
    snow.c:240: warning: implicit declaration of function ‘glEnd’
    snow.c:240: warning: nested extern declaration of ‘glEnd’
    snow.c:241: warning: implicit declaration of function ‘glEndList’
    snow.c:241: warning: nested extern declaration of ‘glEndList’
    snow.c: In function ‘beginRendering’:
    snow.c:248: error: dereferencing pointer to incomplete type
    snow.c:249: warning: implicit declaration of function ‘glEnable’
    snow.c:249: warning: nested extern declaration of ‘glEnable’
    snow.c:249: error: ‘GL_BLEND’ undeclared (first use in this function)
    snow.c:251: warning: implicit declaration of function ‘glTexEnvf’
    snow.c:251: warning: nested extern declaration of ‘glTexEnvf’
    snow.c:251: error: ‘GL_TEXTURE_ENV’ undeclared (first use in this function)
    snow.c:251: error: ‘GL_TEXTURE_ENV_MODE’ undeclared (first use in this function)
    snow.c:251: error: ‘GL_MODULATE’ undeclared (first use in this function)
    snow.c:253: error: ‘SnowScreen’ has no member named ‘displayListNeedsUpdate’
    snow.c:256: error: ‘SnowScreen’ has no member named ‘displayListNeedsUpdate’
    snow.c:256: error: ‘FALSE’ undeclared (first use in this function)
    snow.c:260: error: ‘SnowScreen’ has no member named ‘snowTexturesLoaded’
    snow.c:260: error: dereferencing pointer to incomplete type
    snow.c:264: error: ‘SnowScreen’ has no member named ‘snowTexturesLoaded’
    snow.c:266: error: ‘SnowScreen’ has no member named ‘allSnowFlakes’
    snow.c:267: error: dereferencing pointer to incomplete type
    snow.c:268: error: dereferencing pointer to incomplete type
    snow.c:270: warning: implicit declaration of function ‘enableTexture’
    snow.c:270: warning: nested extern declaration of ‘enableTexture’
    snow.c:270: error: ‘SnowScreen’ has no member named ‘snowTex’
    snow.c:271: error: ‘COMP_TEXTURE_FILTER_GOOD’ undeclared (first use in this function)
    snow.c:275: error: ‘SnowScreen’ has no member named ‘snowTex’
    snow.c:277: warning: implicit declaration of function ‘glTranslatef’
    snow.c:277: warning: nested extern declaration of ‘glTranslatef’
    snow.c:279: warning: implicit declaration of function ‘glRotatef’
    snow.c:279: warning: nested extern declaration of ‘glRotatef’
    snow.c:280: warning: implicit declaration of function ‘glCallList’
    snow.c:280: warning: nested extern declaration of ‘glCallList’
    snow.c:280: error: ‘SnowScreen’ has no member named ‘snowTex’
    snow.c:287: warning: implicit declaration of function ‘disableTexture’
    snow.c:287: warning: nested extern declaration of ‘disableTexture’
    snow.c:287: error: ‘SnowScreen’ has no member named ‘snowTex’
    snow.c:292: error: ‘SnowScreen’ has no member named ‘allSnowFlakes’
    snow.c:293: error: dereferencing pointer to incomplete type
    snow.c:299: error: ‘SnowScreen’ has no member named ‘displayList’
    snow.c:306: error: ‘GL_REPLACE’ undeclared (first use in this function)
    snow.c:307: error: dereferencing pointer to incomplete type
    snow.c:309: warning: implicit declaration of function ‘glDisable’
    snow.c:309: warning: nested extern declaration of ‘glDisable’
    snow.c:310: warning: implicit declaration of function ‘glBlendFunc’
    snow.c:310: warning: nested extern declaration of ‘glBlendFunc’
    snow.c:310: error: ‘GL_ONE’ undeclared (first use in this function)
    snow.c:310: error: ‘GL_ONE_MINUS_SRC_ALPHA’ undeclared (first use in this function)
    snow.c: At top level:
    snow.c:318: warning: type defaults to ‘int’ in declaration of ‘ScreenPaintAttrib’
    snow.c:318: error: expected ‘;’, ‘,’ or ‘)’ before ‘*’ token
    snow.c:352: warning: type defaults to ‘int’ in declaration of ‘CompTransform’
    snow.c:352: error: expected ‘;’, ‘,’ or ‘)’ before ‘*’ token
    snow.c: In function ‘initiateSnowFlake’:
    snow.c:381: error: dereferencing pointer to incomplete type
    snow.c:383: error: dereferencing pointer to incomplete type
    snow.c:386: error: dereferencing pointer to incomplete type
    snow.c:392: error: dereferencing pointer to incomplete type
    snow.c:394: error: dereferencing pointer to incomplete type
    snow.c:394: error: dereferencing pointer to incomplete type
    snow.c:398: error: dereferencing pointer to incomplete type
    snow.c:398: error: dereferencing pointer to incomplete type
    snow.c:400: error: dereferencing pointer to incomplete type
    snow.c:406: error: dereferencing pointer to incomplete type
    snow.c:413: error: dereferencing pointer to incomplete type
    snow.c: In function ‘setSnowflakeTexture’:
    snow.c:423: error: ‘SnowScreen’ has no member named ‘snowTexturesLoaded’
    snow.c:424: error: ‘SnowScreen’ has no member named ‘snowTex’
    snow.c:424: error: ‘SnowScreen’ has no member named ‘snowTexturesLoaded’
    snow.c: In function ‘updateSnowTextures’:
    snow.c:431: error: dereferencing pointer to incomplete type
    snow.c:432: error: dereferencing pointer to incomplete type
    snow.c:435: error: dereferencing pointer to incomplete type
    snow.c:435: error: dereferencing pointer to incomplete type
    snow.c:436: error: dereferencing pointer to incomplete type
    snow.c:438: error: ‘SnowScreen’ has no member named ‘allSnowFlakes’
    snow.c:440: error: ‘SnowScreen’ has no member named ‘snowTexturesLoaded’
    snow.c:442: warning: implicit declaration of function ‘finiTexture’
    snow.c:442: warning: nested extern declaration of ‘finiTexture’
    snow.c:442: error: ‘SnowScreen’ has no member named ‘snowTex’
    snow.c:443: warning: implicit declaration of function ‘glDeleteLists’
    snow.c:443: warning: nested extern declaration of ‘glDeleteLists’
    snow.c:443: error: ‘SnowScreen’ has no member named ‘snowTex’
    snow.c:446: error: ‘SnowScreen’ has no member named ‘snowTex’
    snow.c:447: error: ‘SnowScreen’ has no member named ‘snowTex’
    snow.c:448: error: ‘SnowScreen’ has no member named ‘snowTexturesLoaded’
    snow.c:450: error: ‘SnowScreen’ has no member named ‘snowTex’
    snow.c:454: error: ‘CompMatrix’ undeclared (first use in this function)
    snow.c:454: error: ‘mat’ undeclared (first use in this function)
    snow.c:457: error: ‘SnowScreen’ has no member named ‘snowTex’
    snow.c:458: warning: implicit declaration of function ‘readImageToTexture’
    snow.c:458: warning: nested extern declaration of ‘readImageToTexture’
    snow.c:458: error: ‘SnowScreen’ has no member named ‘snowTex’
    snow.c:459: error: invalid use of undefined type ‘union _CompOptionValue’
    snow.c:459: error: dereferencing pointer to incomplete type
    snow.c:460: error: ‘SnowScreen’ has no member named ‘snowTex’
    snow.c:461: error: ‘SnowScreen’ has no member named ‘snowTex’
    snow.c:462: error: ‘SnowScreen’ has no member named ‘snowTex’
    snow.c:464: warning: implicit declaration of function ‘compLogMessage’
    snow.c:464: warning: nested extern declaration of ‘compLogMessage’
    snow.c:464: error: dereferencing pointer to incomplete type
    snow.c:464: error: ‘CompLogLevelWarn’ undeclared (first use in this function)
    snow.c:465: error: invalid use of undefined type ‘union _CompOptionValue’
    snow.c:465: error: dereferencing pointer to incomplete type
    snow.c:468: error: dereferencing pointer to incomplete type
    snow.c:468: error: ‘CompLogLevelInfo’ undeclared (first use in this function)
    snow.c:469: error: invalid use of undefined type ‘union _CompOptionValue’
    snow.c:469: error: dereferencing pointer to incomplete type
    snow.c:471: error: ‘SnowScreen’ has no member named ‘snowTex’
    snow.c:472: error: ‘SnowScreen’ has no member named ‘snowTex’
    snow.c:474: error: ‘SnowTexture’ has no member named ‘dList’
    snow.c:475: error: ‘SnowTexture’ has no member named ‘dList’
    snow.c:475: error: ‘GL_COMPILE’ undeclared (first use in this function)
    snow.c:477: error: ‘GL_QUADS’ undeclared (first use in this function)
    snow.c:479: warning: implicit declaration of function ‘glTexCoord2f’
    snow.c:479: warning: nested extern declaration of ‘glTexCoord2f’
    snow.c:479: warning: implicit declaration of function ‘COMP_TEX_COORD_X’
    snow.c:479: warning: nested extern declaration of ‘COMP_TEX_COORD_X’
    snow.c:479: warning: implicit declaration of function ‘COMP_TEX_COORD_Y’
    snow.c:479: warning: nested extern declaration of ‘COMP_TEX_COORD_Y’
    snow.c:480: warning: implicit declaration of function ‘glVertex2f’
    snow.c:480: warning: nested extern declaration of ‘glVertex2f’
    snow.c:482: error: ‘SnowTexture’ has no member named ‘height’
    snow.c:483: error: ‘SnowTexture’ has no member named ‘height’
    snow.c:483: error: ‘SnowTexture’ has no member named ‘width’
    snow.c:484: error: ‘SnowTexture’ has no member named ‘width’
    snow.c:485: error: ‘SnowTexture’ has no member named ‘height’
    snow.c:486: error: ‘SnowTexture’ has no member named ‘height’
    snow.c:486: error: ‘SnowTexture’ has no member named ‘width’
    snow.c:487: error: ‘SnowTexture’ has no member named ‘width’
    snow.c:497: error: ‘SnowScreen’ has no member named ‘snowTexturesLoaded’
    snow.c:499: error: ‘SnowScreen’ has no member named ‘snowTex’
    snow.c:499: error: ‘SnowScreen’ has no member named ‘snowTex’
    snow.c: In function ‘snowInitScreen’:
    snow.c:510: error: dereferencing pointer to incomplete type
    snow.c:513: error: dereferencing pointer to incomplete type
    snow.c:517: error: dereferencing pointer to incomplete type
    snow.c:520: error: ‘SnowScreen’ has no member named ‘snowTexturesLoaded’
    snow.c:521: error: ‘SnowScreen’ has no member named ‘snowTex’
    snow.c:522: error: ‘FALSE’ undeclared (first use in this function)
    snow.c:523: error: ‘SnowScreen’ has no member named ‘displayListNeedsUpdate’
    snow.c:525: error: ‘SnowScreen’ has no member named ‘allSnowFlakes’
    snow.c:537: warning: implicit declaration of function ‘WRAP’
    snow.c:537: warning: nested extern declaration of ‘WRAP’
    snow.c:537: error: ‘paintOutput’ undeclared (first use in this function)
    snow.c:537: error: ‘snowPaintOutput’ undeclared (first use in this function)
    snow.c:538: error: ‘drawWindow’ undeclared (first use in this function)
    snow.c:538: error: ‘snowDrawWindow’ undeclared (first use in this function)
    snow.c:540: error: dereferencing pointer to incomplete type
    snow.c:541: warning: passing argument 2 of ‘compAddTimeout’ makes integer from pointer without a cast
    snow.c:541: warning: passing argument 3 of ‘compAddTimeout’ from incompatible pointer type
    snow.c:541: error: too few arguments to function ‘compAddTimeout’
    snow.c:543: error: ‘TRUE’ undeclared (first use in this function)
    snow.c:544: warning: control reaches end of non-void function
    snow.c: In function ‘snowFiniScreen’:
    snow.c:552: error: dereferencing pointer to incomplete type
    snow.c:552: error: dereferencing pointer to incomplete type
    snow.c:557: error: ‘SnowScreen’ has no member named ‘snowTexturesLoaded’
    snow.c:559: error: ‘SnowScreen’ has no member named ‘snowTex’
    snow.c:560: error: ‘SnowScreen’ has no member named ‘snowTex’
    snow.c:563: error: ‘SnowScreen’ has no member named ‘snowTex’
    snow.c:564: error: ‘SnowScreen’ has no member named ‘snowTex’
    snow.c:566: error: ‘SnowScreen’ has no member named ‘allSnowFlakes’
    snow.c:567: error: ‘SnowScreen’ has no member named ‘allSnowFlakes’
    snow.c:569: warning: implicit declaration of function ‘UNWRAP’
    snow.c:569: warning: nested extern declaration of ‘UNWRAP’
    snow.c:569: error: ‘paintOutput’ undeclared (first use in this function)
    snow.c:570: error: ‘drawWindow’ undeclared (first use in this function)
    snow.c: In function ‘snowDisplayOptionChanged’:
    snow.c:580: error: dereferencing pointer to incomplete type
    snow.c:588: error: dereferencing pointer to incomplete type
    snow.c:588: error: dereferencing pointer to incomplete type
    snow.c:590: error: dereferencing pointer to incomplete type
    snow.c:590: error: dereferencing pointer to incomplete type
    snow.c:591: error: ‘SnowScreen’ has no member named ‘displayListNeedsUpdate’
    snow.c:591: error: ‘TRUE’ undeclared (first use in this function)
    snow.c:600: error: dereferencing pointer to incomplete type
    snow.c:600: error: dereferencing pointer to incomplete type
    snow.c:602: error: dereferencing pointer to incomplete type
    snow.c:602: error: dereferencing pointer to incomplete type
    snow.c:608: warning: passing argument 2 of ‘compAddTimeout’ makes integer from pointer without a cast
    snow.c:608: warning: passing argument 3 of ‘compAddTimeout’ from incompatible pointer type
    snow.c:608: error: too few arguments to function ‘compAddTimeout’
    snow.c:619: error: dereferencing pointer to incomplete type
    snow.c:619: error: dereferencing pointer to incomplete type
    snow.c:621: error: dereferencing pointer to incomplete type
    snow.c:621: error: dereferencing pointer to incomplete type
    snow.c:622: error: ‘SnowScreen’ has no member named ‘allSnowFlakes’
    snow.c:622: error: ‘SnowScreen’ has no member named ‘allSnowFlakes’
    snow.c:624: error: ‘SnowScreen’ has no member named ‘allSnowFlakes’
    snow.c:642: error: dereferencing pointer to incomplete type
    snow.c:643: error: dereferencing pointer to incomplete type
    snow.c:645: error: dereferencing pointer to incomplete type
    snow.c:645: error: dereferencing pointer to incomplete type
    snow.c: In function ‘snowInitDisplay’:
    snow.c:663: warning: implicit declaration of function ‘allocateScreenPrivateIndex’
    snow.c:663: warning: nested extern declaration of ‘allocateScreenPrivateIndex’
    snow.c:667: error: ‘FALSE’ undeclared (first use in this function)
    snow.c:670: error: too many arguments to function ‘snowSetToggleInitiate’
    snow.c:677: error: dereferencing pointer to incomplete type
    snow.c:678: error: dereferencing pointer to incomplete type
    snow.c:680: error: dereferencing pointer to incomplete type
    snow.c:682: error: ‘TRUE’ undeclared (first use in this function)
    snow.c:683: warning: control reaches end of non-void function
    snow.c: In function ‘snowFiniDisplay’:
    snow.c:689: error: dereferencing pointer to incomplete type
    snow.c:691: warning: implicit declaration of function ‘freeScreenPrivateIndex’
    snow.c:691: warning: nested extern declaration of ‘freeScreenPrivateIndex’
    snow.c: In function ‘snowInit’:
    snow.c:698: warning: implicit declaration of function ‘allocateDisplayPrivateIndex’
    snow.c:698: warning: nested extern declaration of ‘allocateDisplayPrivateIndex’
    snow.c:700: error: ‘FALSE’ undeclared (first use in this function)
    snow.c:702: error: ‘TRUE’ undeclared (first use in this function)
    snow.c:703: warning: control reaches end of non-void function
    snow.c: In function ‘snowFini’:
    snow.c:708: warning: implicit declaration of function ‘freeDisplayPrivateIndex’
    snow.c:708: warning: nested extern declaration of ‘freeDisplayPrivateIndex’
    snow.c: In function ‘snowGetVersion’:
    snow.c:715: error: ‘ABIVERSION’ undeclared (first use in this function)
    snow.c:716: warning: control reaches end of non-void function
    snow.c: At top level:
    snow.c:718: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘snowVTable’
    snow.c:736: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token
    make: *** [build/snow.lo] Error 1

  4. November 22, 2008 at 7:29 am

    Try grabbing a newer build of the Snow plugin: http://gitweb.opencompositing.org/?p=fusion/plugins/snow;a=snapshot;h=HEAD;sf=tgz. You may also need to install compiz-fusion-bcop (use aptitude).

  5. 5 scott
    February 23, 2009 at 1:25 pm

    for the errors the fix at the bottom worked

    snow.c:691: warning: implicit declaration of function ‘freeScreenPrivateIndex’
    snow.c:691: warning: nested extern declaration of ‘freeScreenPrivateIndex’
    snow.c: In function ‘snowInit’:
    snow.c:698: warning: implicit declaration of function ‘allocateDisplayPrivateIndex’
    snow.c:698: warning: nested extern declaration of ‘allocateDisplayPrivateIndex’
    snow.c:700: error: ‘FALSE’ undeclared (first use in this function)
    snow.c:702: error: ‘TRUE’ undeclared (first use in this function)
    snow.c:703: warning: control reaches end of non-void function
    snow.c: In function ‘snowFini’:
    snow.c:708: warning: implicit declaration of function ‘freeDisplayPrivateIndex’
    snow.c:708: warning: nested extern declaration of ‘freeDisplayPrivateIndex’
    snow.c: In function ‘snowGetVersion’:
    snow.c:715: error: ‘ABIVERSION’ undeclared (first use in this function)
    snow.c:716: warning: control reaches end of non-void function
    snow.c: At top level:
    snow.c:718: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘snowVTable’
    snow.c:736: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token
    make: *** [build/snow.lo] Error 1

    Try grabbing a newer build of the Snow plugin: http://gitweb.opencompositing.org/?p=fusion/plugins/snow;a=snapshot;h=HEAD;sf=tgz. You may also need to install compiz-fusion-bcop (use aptitude).

    this worked for me i had the same problem and checked at least 5 different sites google searching and this is the solution and it worked for me thank you very much

  6. February 23, 2009 at 4:30 pm

    Glad you found it helpful :)

    It looks like someone came out with a newer version of the plugin that groups together the Snow plugin with the Fireflies plugin and several other similar ones (http://www.ubuntugeek.com/howto-install-elements-for-compiz-fusion.html) It also looks much simpler to install.

  7. 7 noob
    July 29, 2009 at 7:58 pm

    ok so i typed in the first line: sudo apt-get…ect and this is what i got
    Reading package lists… Done
    Building dependency tree
    Reading state information… Done
    Package compiz-bcop is not available, but is referred to by another package.
    This may mean that the package is missing, has been obsoleted, or
    is only available from another source
    However the following packages replace it:
    compiz-fusion-bcop
    E: Package compiz-bcop has no installation candidate

    I am every new with this and i dont know what to do could you put me in the right direction

  8. July 30, 2009 at 7:15 am

    Hi noob,

    What version of Ubuntu are you using? (If you aren’t sure, try cat /etc/issue). I am running 9.04 now, and was able to install compiz-bcop just now, so it is still in the repos. Perhaps you just need to enable the extra repositories:

    Click “System” -> “Administration” -> “Software Sources”

    and check the top four boxes if they are not already. Then hit close, open a terminal and type “sudo apt-get update” to refresh the software list. Try installing it again and see what happens. Also, once you get compiz-bcop installed, check the above comments to make sure you are getting the latest version of the Snow plugin.

    Goodluck!
    Keith

    • 9 noob
      July 30, 2009 at 12:12 pm

      thanks for replying i did have the top four boxs checked and i updated like you said then started over trying to install it i got the same message again. and i am running 9.04 so i am not sure what might be wrong. i am sorry that i know so little.

      • July 30, 2009 at 4:01 pm

        sorry for double post!

        [quote]However the following packages replace it:
        compiz-fusion-bcop
        E: Package compiz-bcop has no installation candidate

        I am every new with this and i dont know what to do could you put me in the right direction[/quote]

        sudo apt-get update
        sudo apt-get install compiz-fusion-bcop

        that should work for you, try checking out pachages in synaptic, also there is now a script for installing elements that works very nice http://www.elementsplugin.com/

  9. July 30, 2009 at 4:00 pm

    [quote]However the following packages replace it:
    compiz-fusion-bcop
    E: Package compiz-bcop has no installation candidate

    I am every new with this and i dont know what to do could you put me in the right direction[/quote]

    sudo apt-get update
    sudo apt-get install compiz-fusion-bcop

    that should work for you, try checking out pachages in synaptic, also there is now a script for installing elements that works very nice http://www.elementsplugin.com/


Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s


Follow

Get every new post delivered to your Inbox.

%d bloggers like this: