compiling : wrapper.cpp -> build/wrapper.loPackage xscrnsaver was not found in the pkg-config search path. Perhaps you should add the directory containing `xscrnsaver.pc' to the PKG_CONFIG_PATH environment variable No package 'xscrnsaver' found In file included from wrapper.cpp:1: screensaver_internal.h:4:20: error: compiz.h: No such file or directory screensaver_internal.h:5:18: error: cube.h: No such file or directory vector.h:34: error: 'CompScreen' has not been declared vector.h:43: error: 'CompScreen' has not been declared vector.h: In member function 'Vector Vector::toScreenSpace(int*) const': vector.h:37: error: request for member 'width' in '* s', which is of non-class type 'int' vector.h:38: error: request for member 'height' in '* s', which is of non-class type 'int' vector.h: In member function 'Vector Vector::toCoordsSpace(int*) const': vector.h:46: error: request for member 'width' in '* s', which is of non-class type 'int' vector.h:47: error: request for member 'height' in '* s', which is of non-class type 'int' matrix.h: At global scope: matrix.h:15: error: expected ',' or '...' before '*' token matrix.h:15: error: ISO C++ forbids declaration of 'CompTransform' with no type matrix.h: In constructor 'Matrix::Matrix(int)': matrix.h:15: error: 'mat' was not declared in this scope matrix.h: In member function 'Matrix& Matrix::rotate(float, float, float, float)': matrix.h:30: error: 'CompTransform' was not declared in this scope matrix.h:30: error: expected primary-expression before ')' token matrix.h:30: error: 'matrixRotate' was not declared in this scope matrix.h: In member function 'Matrix& Matrix::scale(float, float, float)': matrix.h:38: error: 'CompTransform' was not declared in this scope matrix.h:38: error: expected primary-expression before ')' token matrix.h:38: error: 'matrixScale' was not declared in this scope matrix.h: In member function 'Matrix& Matrix::translate(float, float, float)': matrix.h:46: error: 'CompTransform' was not declared in this scope matrix.h:46: error: expected primary-expression before ')' token matrix.h:46: error: 'matrixTranslate' was not declared in this scope build/screensaver_options.h: At global scope: build/screensaver_options.h:23: error: expected constructor, destructor, or type conversion before '*' token build/screensaver_options.h:43: error: typedef 'screensaverDisplayOptionChangeNotifyProc' is initialized (use __typeof__ instead) build/screensaver_options.h:43: error: 'CompDisplay' was not declared in this scope build/screensaver_options.h:43: error: 'display' was not declared in this scope build/screensaver_options.h:43: error: 'CompOption' was not declared in this scope build/screensaver_options.h:43: error: 'opt' was not declared in this scope build/screensaver_options.h:43: error: expected primary-expression before 'num' build/screensaver_options.h:45: error: expected constructor, destructor, or type conversion before '*' token build/screensaver_options.h:52: error: typedef 'screensaverScreenOptionChangeNotifyProc' is initialized (use __typeof__ instead) build/screensaver_options.h:52: error: 'CompScreen' was not declared in this scope build/screensaver_options.h:52: error: 'screen' was not declared in this scope build/screensaver_options.h:52: error: 'CompOption' was not declared in this scope build/screensaver_options.h:52: error: 'opt' was not declared in this scope build/screensaver_options.h:52: error: expected primary-expression before 'num' build/screensaver_options.h:54: error: expected constructor, destructor, or type conversion before '*' token build/screensaver_options.h:62: error: expected constructor, destructor, or type conversion before '*' token build/screensaver_options.h:63: error: variable or field 'screensaverSetInitiateInitiate' declared void build/screensaver_options.h:63: error: 'CompDisplay' was not declared in this scope build/screensaver_options.h:63: error: 'd' was not declared in this scope build/screensaver_options.h:63: error: 'CompActionCallBackProc' was not declared in this scope build/screensaver_options.h:63: error: initializer expression list treated as compound expression build/screensaver_options.h:64: error: variable or field 'screensaverSetInitiateTerminate' declared void build/screensaver_options.h:64: error: 'CompDisplay' was not declared in this scope build/screensaver_options.h:64: error: 'd' was not declared in this scope build/screensaver_options.h:64: error: 'CompActionCallBackProc' was not declared in this scope build/screensaver_options.h:64: error: initializer expression list treated as compound expression build/screensaver_options.h:65: error: expected constructor, destructor, or type conversion before '*' token build/screensaver_options.h:66: error: variable or field 'screensaverSetInitiateNotify' declared void build/screensaver_options.h:66: error: 'CompDisplay' was not declared in this scope build/screensaver_options.h:66: error: 'd' was not declared in this scope build/screensaver_options.h:66: error: 'screensaverDisplayOptionChangeNotifyProc' was not declared in this scope build/screensaver_options.h:66: error: initializer expression list treated as compound expression build/screensaver_options.h:68: error: 'CompDisplay' was not declared in this scope build/screensaver_options.h:68: error: 'd' was not declared in this scope build/screensaver_options.h:69: error: expected constructor, destructor, or type conversion before '*' token build/screensaver_options.h:70: error: variable or field 'screensaverSetModeNotify' declared void build/screensaver_options.h:70: error: 'CompDisplay' was not declared in this scope build/screensaver_options.h:70: error: 'd' was not declared in this scope build/screensaver_options.h:70: error: 'screensaverDisplayOptionChangeNotifyProc' was not declared in this scope build/screensaver_options.h:70: error: initializer expression list treated as compound expression build/screensaver_options.h:72: error: 'Bool' does not name a type build/screensaver_options.h:73: error: expected constructor, destructor, or type conversion before '*' token build/screensaver_options.h:74: error: variable or field 'screensaverSetStartAutomaticallyNotify' declared void build/screensaver_options.h:74: error: 'CompDisplay' was not declared in this scope build/screensaver_options.h:74: error: 'd' was not declared in this scope build/screensaver_options.h:74: error: 'screensaverDisplayOptionChangeNotifyProc' was not declared in this scope build/screensaver_options.h:74: error: initializer expression list treated as compound expression build/screensaver_options.h:76: error: 'CompDisplay' was not declared in this scope build/screensaver_options.h:76: error: 'd' was not declared in this scope build/screensaver_options.h:77: error: expected constructor, destructor, or type conversion before '*' token build/screensaver_options.h:78: error: variable or field 'screensaverSetAfterNotify' declared void build/screensaver_options.h:78: error: 'CompDisplay' was not declared in this scope build/screensaver_options.h:78: error: 'd' was not declared in this scope build/screensaver_options.h:78: error: 'screensaverDisplayOptionChangeNotifyProc' was not declared in this scope build/screensaver_options.h:78: error: initializer expression list treated as compound expression build/screensaver_options.h:80: error: 'CompDisplay' was not declared in this scope build/screensaver_options.h:80: error: 'd' was not declared in this scope build/screensaver_options.h:81: error: expected constructor, destructor, or type conversion before '*' token build/screensaver_options.h:82: error: variable or field 'screensaverSetFadeInDurationNotify' declared void build/screensaver_options.h:82: error: 'CompDisplay' was not declared in this scope build/screensaver_options.h:82: error: 'd' was not declared in this scope build/screensaver_options.h:82: error: 'screensaverDisplayOptionChangeNotifyProc' was not declared in this scope build/screensaver_options.h:82: error: initializer expression list treated as compound expression build/screensaver_options.h:84: error: 'CompDisplay' was not declared in this scope build/screensaver_options.h:84: error: 'd' was not declared in this scope build/screensaver_options.h:85: error: expected constructor, destructor, or type conversion before '*' token build/screensaver_options.h:86: error: variable or field 'screensaverSetFadeOutDurationNotify' declared void build/screensaver_options.h:86: error: 'CompDisplay' was not declared in this scope build/screensaver_options.h:86: error: 'd' was not declared in this scope build/screensaver_options.h:86: error: 'screensaverDisplayOptionChangeNotifyProc' was not declared in this scope build/screensaver_options.h:86: error: initializer expression list treated as compound expression build/screensaver_options.h:88: error: expected constructor, destructor, or type conversion before '*' token build/screensaver_options.h:89: error: expected constructor, destructor, or type conversion before '*' token build/screensaver_options.h:90: error: variable or field 'screensaverSetWindowMatchNotify' declared void build/screensaver_options.h:90: error: 'CompDisplay' was not declared in this scope build/screensaver_options.h:90: error: 'd' was not declared in this scope build/screensaver_options.h:90: error: 'screensaverDisplayOptionChangeNotifyProc' was not declared in this scope build/screensaver_options.h:90: error: initializer expression list treated as compound expression build/screensaver_options.h:92: error: 'Bool' does not name a type build/screensaver_options.h:93: error: expected constructor, destructor, or type conversion before '*' token build/screensaver_options.h:94: error: variable or field 'screensaverSetMipmapsNotify' declared void build/screensaver_options.h:94: error: 'CompDisplay' was not declared in this scope build/screensaver_options.h:94: error: 'd' was not declared in this scope build/screensaver_options.h:94: error: 'screensaverDisplayOptionChangeNotifyProc' was not declared in this scope build/screensaver_options.h:94: error: initializer expression list treated as compound expression build/screensaver_options.h:96: error: 'CompDisplay' was not declared in this scope build/screensaver_options.h:96: error: 'd' was not declared in this scope build/screensaver_options.h:97: error: expected constructor, destructor, or type conversion before '*' token build/screensaver_options.h:98: error: variable or field 'screensaverSetAttractionDepthNotify' declared void build/screensaver_options.h:98: error: 'CompDisplay' was not declared in this scope build/screensaver_options.h:98: error: 'd' was not declared in this scope build/screensaver_options.h:98: error: 'screensaverDisplayOptionChangeNotifyProc' was not declared in this scope build/screensaver_options.h:98: error: initializer expression list treated as compound expression build/screensaver_options.h:100: error: 'CompDisplay' was not declared in this scope build/screensaver_options.h:100: error: 'd' was not declared in this scope build/screensaver_options.h:101: error: expected constructor, destructor, or type conversion before '*' token build/screensaver_options.h:102: error: variable or field 'screensaverSetAttractionRepulsionRatioNotify' declared void build/screensaver_options.h:102: error: 'CompDisplay' was not declared in this scope build/screensaver_options.h:102: error: 'd' was not declared in this scope build/screensaver_options.h:102: error: 'screensaverDisplayOptionChangeNotifyProc' was not declared in this scope build/screensaver_options.h:102: error: initializer expression list treated as compound expression build/screensaver_options.h:104: error: 'Bool' does not name a type build/screensaver_options.h:105: error: expected constructor, destructor, or type conversion before '*' token build/screensaver_options.h:106: error: variable or field 'screensaverSetBounceNotify' declared void build/screensaver_options.h:106: error: 'CompDisplay' was not declared in this scope build/screensaver_options.h:106: error: 'd' was not declared in this scope build/screensaver_options.h:106: error: 'screensaverDisplayOptionChangeNotifyProc' was not declared in this scope build/screensaver_options.h:106: error: initializer expression list treated as compound expression build/screensaver_options.h:108: error: 'CompDisplay' was not declared in this scope build/screensaver_options.h:108: error: 'd' was not declared in this scope build/screensaver_options.h:109: error: expected constructor, destructor, or type conversion before '*' token build/screensaver_options.h:110: error: variable or field 'screensaverSetCubeRotationSpeedNotify' declared void build/screensaver_options.h:110: error: 'CompDisplay' was not declared in this scope build/screensaver_options.h:110: error: 'd' was not declared in this scope build/screensaver_options.h:110: error: 'screensaverDisplayOptionChangeNotifyProc' was not declared in this scope build/screensaver_options.h:110: error: initializer expression list treated as compound expression build/screensaver_options.h:112: error: 'CompDisplay' was not declared in this scope build/screensaver_options.h:112: error: 'd' was not declared in this scope build/screensaver_options.h:113: error: expected constructor, destructor, or type conversion before '*' token build/screensaver_options.h:114: error: variable or field 'screensaverSetCubeZoomNotify' declared void build/screensaver_options.h:114: error: 'CompDisplay' was not declared in this scope build/screensaver_options.h:114: error: 'd' was not declared in this scope build/screensaver_options.h:114: error: 'screensaverDisplayOptionChangeNotifyProc' was not declared in this scope build/screensaver_options.h:114: error: initializer expression list treated as compound expression screensaver_internal.h:45: error: 'Bool' does not name a type screensaver_internal.h:46: error: 'Bool' does not name a type screensaver_internal.h:47: error: 'Bool' does not name a type screensaver_internal.h:53: error: 'Bool' does not name a type screensaver_internal.h:62: error: 'HandleEventProc' does not name a type screensaver_internal.h:72: error: 'CubeGetRotationProc' does not name a type screensaver_internal.h:73: error: 'PreparePaintScreenProc' does not name a type screensaver_internal.h:74: error: 'DonePaintScreenProc' does not name a type screensaver_internal.h:75: error: 'PaintOutputProc' does not name a type screensaver_internal.h:76: error: 'PaintWindowProc' does not name a type screensaver_internal.h:77: error: 'PaintTransformedOutputProc' does not name a type screensaver_internal.h:78: error: 'PaintBackgroundProc' does not name a type screensaver_internal.h:94: error: 'GLushort' does not name a type screensaver_internal.h:102: error: variable or field 'screenSaverHandleEvent' declared void screensaver_internal.h:102: error: 'CompDisplay' was not declared in this scope screensaver_internal.h:102: error: 'd' was not declared in this scope screensaver_internal.h:102: error: 'XEvent' was not declared in this scope screensaver_internal.h:102: error: 'event' was not declared in this scope screensaver_internal.h:102: error: initializer expression list treated as compound expression screensaver_internal.h:103: error: variable or field 'screenSaverGetRotation' declared void screensaver_internal.h:103: error: 'CompScreen' was not declared in this scope screensaver_internal.h:103: error: 's' was not declared in this scope screensaver_internal.h:103: error: expected primary-expression before 'float' screensaver_internal.h:103: error: expected primary-expression before 'float' screensaver_internal.h:103: error: initializer expression list treated as compound expression screensaver_internal.h:104: error: variable or field 'screenSaverPreparePaintScreen' declared void screensaver_internal.h:104: error: 'CompScreen' was not declared in this scope screensaver_internal.h:104: error: 's' was not declared in this scope screensaver_internal.h:104: error: expected primary-expression before 'int' screensaver_internal.h:104: error: initializer expression list treated as compound expression screensaver_internal.h:105: error: variable or field 'screenSaverDonePaintScreen' declared void screensaver_internal.h:105: error: 'CompScreen' was not declared in this scope screensaver_internal.h:105: error: 's' was not declared in this scope screensaver_internal.h:106: error: variable or field 'screenSaverPaintTransformedOutput' declared void screensaver_internal.h:106: error: 'CompScreen' was not declared in this scope screensaver_internal.h:106: error: 's' was not declared in this scope screensaver_internal.h:106: error: expected primary-expression before 'const' screensaver_internal.h:106: error: expected primary-expression before 'const' screensaver_internal.h:106: error: 'Region' was not declared in this scope screensaver_internal.h:106: error: 'CompOutput' was not declared in this scope screensaver_internal.h:106: error: 'output' was not declared in this scope screensaver_internal.h:106: error: expected primary-expression before 'unsigned' screensaver_internal.h:106: error: initializer expression list treated as compound expression screensaver_internal.h:110: error: 'Bool' does not name a type screensaver_internal.h:114: error: 'Bool' does not name a type screensaver_internal.h:117: error: variable or field 'screenSaverPaintBackground' declared void screensaver_internal.h:117: error: 'CompScreen' was not declared in this scope screensaver_internal.h:117: error: 's' was not declared in this scope screensaver_internal.h:117: error: 'Region' was not declared in this scope screensaver_internal.h:117: error: expected primary-expression before 'unsigned' screensaver_internal.h:117: error: initializer expression list treated as compound expression wrapper.h:9: error: expected `)' before '*' token wrapper.h:12: error: 'XEvent' has not been declared wrapper.h:15: error: ISO C++ forbids declaration of 'CompDisplay' with no type wrapper.h:15: error: expected ';' before '*' token wrapper.h:22: error: expected `)' before '*' token wrapper.h:28: error: expected ',' or '...' before '*' token wrapper.h:28: error: ISO C++ forbids declaration of 'ScreenPaintAttrib' with no type wrapper.h:31: error: 'Bool' does not name a type wrapper.h:34: error: 'Region' has not been declared wrapper.h:37: error: ISO C++ forbids declaration of 'CompScreen' with no type wrapper.h:37: error: expected ';' before '*' token wrapper.h:44: error: expected `)' before '*' token wrapper.h:46: error: 'Bool' does not name a type wrapper.h:49: error: ISO C++ forbids declaration of 'CompWindow' with no type wrapper.h:49: error: expected ';' before '*' token effect.h:9: error: expected `)' before '*' token effect.h:19: error: expected `)' before '*' token effect.h:37: error: expected `)' before '*' token wrapper.cpp:3: error: expected `)' before '*' token wrapper.cpp:10: error: variable or field 'handleEvent' declared void wrapper.cpp:10: error: 'int DisplayWrapper::handleEvent' is not a static member of 'class DisplayWrapper' wrapper.cpp:10: error: 'XEvent' was not declared in this scope wrapper.cpp:10: error: 'event' was not declared in this scope wrapper.cpp:11: error: expected ',' or ';' before '{' token wrapper.cpp:17: error: expected `)' before '*' token wrapper.cpp: In member function 'virtual void ScreenWrapper::getRotation(float*, float*)': wrapper.cpp:26: error: 's' was not declared in this scope wrapper.cpp:26: error: 'CUBE_SCREEN' was not declared in this scope wrapper.cpp:27: error: 'cs' was not declared in this scope wrapper.cpp:27: error: 'UNWRAP' was not declared in this scope wrapper.cpp:29: error: 'WRAP' was not declared in this scope wrapper.cpp: In member function 'virtual void ScreenWrapper::preparePaintScreen(int)': wrapper.cpp:34: error: 's' was not declared in this scope wrapper.cpp:34: error: 'UNWRAP' was not declared in this scope wrapper.cpp:36: error: 'WRAP' was not declared in this scope wrapper.cpp: In member function 'virtual void ScreenWrapper::donePaintScreen()': wrapper.cpp:41: error: 's' was not declared in this scope wrapper.cpp:41: error: 'UNWRAP' was not declared in this scope wrapper.cpp:43: error: 'WRAP' was not declared in this scope wrapper.cpp: At global scope: wrapper.cpp:46: error: expected ',' or '...' before '*' token wrapper.cpp:46: error: ISO C++ forbids declaration of 'ScreenPaintAttrib' with no type wrapper.cpp: In member function 'virtual void ScreenWrapper::paintTransformedOutput(int)': wrapper.cpp:50: error: 's' was not declared in this scope wrapper.cpp:50: error: 'UNWRAP' was not declared in this scope wrapper.cpp:51: error: 'sAttrib' was not declared in this scope wrapper.cpp:51: error: 'transform' was not declared in this scope wrapper.cpp:51: error: 'region' was not declared in this scope wrapper.cpp:51: error: 'output' was not declared in this scope wrapper.cpp:51: error: 'mask' was not declared in this scope wrapper.cpp:52: error: 'WRAP' was not declared in this scope wrapper.cpp: At global scope: wrapper.cpp:55: error: 'Bool' does not name a type wrapper.cpp:65: error: variable or field 'paintBackground' declared void wrapper.cpp:65: error: 'int ScreenWrapper::paintBackground' is not a static member of 'class ScreenWrapper' wrapper.cpp:65: error: 'Region' was not declared in this scope wrapper.cpp:65: error: expected primary-expression before 'unsigned' wrapper.cpp:65: error: initializer expression list treated as compound expression wrapper.cpp:66: error: expected ',' or ';' before '{' token wrapper.cpp:72: error: expected `)' before '*' token wrapper.cpp:79: error: 'Bool' does not name a type make: *** [build/wrapper.lo] Error 1