Compiz Experimental plugins

How to install compiz experimental plugins like the stackswitch or trow plugin ? I tried compiling from source with all the compiz packages installed but it just gives a error .

What error is it giving exactly?

/home/ivalin/stackswitch/src/stackswitch.cpp: In member function ‘void StackswitchScreen::drawWindowTitle(GLMatrix&, CompWindow*)’:
/home/ivalin/stackswitch/src/stackswitch.cpp:155:47: error: no matching function for call to ‘GLMatrix::GLMatrix(GLMatrix*)’
GLMatrix pm (gScreen->projectionMatrix ());
^
/home/ivalin/stackswitch/src/stackswitch.cpp:155:47: note: candidates are:
In file included from /usr/include/compiz/opengl/opengl.h:54:0,
from /home/ivalin/stackswitch/src/stackswitch.h:33,
from /home/ivalin/stackswitch/src/stackswitch.cpp:26:
/usr/include/compiz/opengl/matrix.h:36:2: note: GLMatrix::GLMatrix(const float*)
GLMatrix (const float );
^
/usr/include/compiz/opengl/matrix.h:36:2: note: no known conversion for argument 1 from ‘GLMatrix
’ to ‘const float*’
/usr/include/compiz/opengl/matrix.h:35:2: note: GLMatrix::GLMatrix()
GLMatrix ();
^
/usr/include/compiz/opengl/matrix.h:35:2: note: candidate expects 0 arguments, 1 provided
/usr/include/compiz/opengl/matrix.h:33:7: note: GLMatrix::GLMatrix(const GLMatrix&)
class GLMatrix {
^
/usr/include/compiz/opengl/matrix.h:33:7: note: no known conversion for argument 1 from ‘GLMatrix*’ to ‘const GLMatrix&’
/home/ivalin/stackswitch/src/stackswitch.cpp:268:50: error: no matching function for call to ‘CompText::draw(float, float&, double)’
mText.draw (x - mText.getWidth () / 2, y, 1.0);
^
/home/ivalin/stackswitch/src/stackswitch.cpp:268:50: note: candidate is:
In file included from /home/ivalin/stackswitch/src/stackswitch.h:34:0,
from /home/ivalin/stackswitch/src/stackswitch.cpp:26:
/usr/include/compiz/text/text.h:82:7: note: void CompText::draw(const GLMatrix&, float, float, float) const
void draw (const GLMatrix &transform,
^
/usr/include/compiz/text/text.h:82:7: note: candidate expects 4 arguments, 3 provided
/home/ivalin/stackswitch/src/stackswitch.cpp: In member function ‘virtual bool StackswitchWindow::glPaint(const GLWindowPaintAttrib&, const GLMatrix&, const CompRegion&, unsigned int)’:
/home/ivalin/stackswitch/src/stackswitch.cpp:325:6: error: ‘GLFragment’ has not been declared
GLFragment::Attrib fragment (gWindow->lastPaintAttrib ());
^
/home/ivalin/stackswitch/src/stackswitch.cpp:334:7: error: ‘fragment’ was not declared in this scope
fragment.setOpacity ((float)fragment.getOpacity () *
^
/home/ivalin/stackswitch/src/stackswitch.cpp:338:30: error: ‘fragment’ was not declared in this scope
if (window->alpha () || fragment.getOpacity () != OPAQUE)
^
/home/ivalin/stackswitch/src/stackswitch.cpp:354:35: error: ‘fragment’ was not declared in this scope
gWindow->glDraw (wTransform, fragment, region,
^
/home/ivalin/stackswitch/src/stackswitch.cpp:390:12: error: ‘class GLWindow’ has no member named ‘geometry’
gWindow->geometry ().reset ();
^
/home/ivalin/stackswitch/src/stackswitch.cpp:393:16: error: ‘class GLWindow’ has no member named ‘geometry’
if (gWindow->geometry ().vCount)
^
/home/ivalin/stackswitch/src/stackswitch.cpp:395:7: error: ‘GLFragment’ has not been declared
GLFragment::Attrib fragment (attrib);
^
/home/ivalin/stackswitch/src/stackswitch.cpp:399:4: error: ‘fragment’ was not declared in this scope
fragment.setOpacity (gWindow->paintAttrib ().opacity);
^
/home/ivalin/stackswitch/src/stackswitch.cpp:412:37: error: ‘fragment’ was not declared in this scope
gWindow->glDrawTexture (icon, fragment, mask);
^
At global scope:
cc1plus: warning: unrecognized command line option “-Wno-unused-private-field”
CMakeFiles/stackswitch.dir/build.make:75: recipe for target ‘CMakeFiles/stackswitch.dir/src/stackswitch.cpp.o’ failed
make[2]: *** [CMakeFiles/stackswitch.dir/src/stackswitch.cpp.o] Error 1
CMakeFiles/Makefile2:777: recipe for target ‘CMakeFiles/stackswitch.dir/all’ failed
make[1]: *** [CMakeFiles/stackswitch.dir/all] Error 2
Makefile:127: recipe for target ‘all’ failed
make: *** [all] Error 2

This is stackswitcher plugin