[问题]编译安装插件phtotwheel&atlantis不能通过

GnomeShell/Unity/Beryl/AiGLX/XGL/Compiz Fusion
回复
头像
princelai
帖子: 920
注册时间: 2007-01-06 21:00
送出感谢: 2 次
接收感谢: 0
联系:

[问题]编译安装插件phtotwheel&atlantis不能通过

#1

帖子 princelai » 2007-12-26 16:40

我昨天下载的wallpaper和anaglyph插件开始编译也是这个情况,但是后来重启就编译通过了,今天下载了几个差价死活不能通过,我把所有的dev都给安装个,请高手看看,出错的代码如下:

代码: 全选

princelai@princelai-laptop:~$ cd compiz
princelai@princelai-laptop:~/compiz$ cd photowheel
princelai@princelai-laptop:~/compiz/photowheel$ make
compiling : photo.c -> build/photo.lophoto.c:42:18: error: cube.h: No such file or directory
In file included from photo.c:44:
/usr/include/compiz/photo_options.h:19: error: expected '=', ',', ';', 'asm' or '__attribute__' before '*' token
/usr/include/compiz/photo_options.h:50: error: expected '=', ',', ';', 'asm' or '__attribute__' before '*' token
/usr/include/compiz/photo_options.h:78: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'photoGetOrder'
/usr/include/compiz/photo_options.h:98: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'photoGetCull'
photo.c:48: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'identity'
photo.c:73: error: expected specifier-qualifier-list before 'CompTexture'
photo.c:91: error: expected specifier-qualifier-list before 'DonePaintScreenProc'
photo.c: In function 'photoParamChange':
photo.c:140: error: dereferencing pointer to incomplete type
photo.c:140: error: dereferencing pointer to incomplete type
photo.c:142: warning: implicit declaration of function 'compLogMessage'
photo.c:142: warning: nested extern declaration of 'compLogMessage'
photo.c:142: error: dereferencing pointer to incomplete type
photo.c:142: error: 'CompLogLevelWarn' undeclared (first use in this function)
photo.c:142: error: (Each undeclared identifier is reported only once
photo.c:142: error: for each function it appears in.)
photo.c:145: error: 'PhotoScreen' has no member named 'h'
photo.c:146: error: 'PhotoScreen' has no member named 'l'
photo.c:147: error: 'PhotoScreen' has no member named 'rspeed'
photo.c:148: error: 'PhotoScreen' has no member named 'xpos'
photo.c:149: error: 'PhotoScreen' has no member named 'ypos'
photo.c:150: error: 'PhotoScreen' has no member named 'zpos'
photo.c:151: error: 'PhotoScreen' has no member named 'transformOrder'
photo.c:151: warning: implicit declaration of function 'photoGetOrder'
photo.c:151: warning: nested extern declaration of 'photoGetOrder'
photo.c:152: error: 'PhotoScreen' has no member named 'enablecull'
photo.c:152: warning: implicit declaration of function 'photoGetCull'
photo.c:152: warning: nested extern declaration of 'photoGetCull'
photo.c:154: error: dereferencing pointer to incomplete type
photo.c: In function 'photoCapChange':
photo.c:166: error: dereferencing pointer to incomplete type
photo.c:166: error: dereferencing pointer to incomplete type
photo.c:171: error: dereferencing pointer to incomplete type
photo.c:171: error: 'CompLogLevelWarn' undeclared (first use in this function)
photo.c:178: error: 'PhotoScreen' has no member named 'firsttime'
photo.c:180: warning: implicit declaration of function 'glDeleteLists'
photo.c:180: warning: nested extern declaration of 'glDeleteLists'
photo.c:180: error: 'PhotoScreen' has no member named 'dList'
photo.c:183: error: 'PhotoScreen' has no member named 'dList'
photo.c:183: warning: implicit declaration of function 'glGenLists'
photo.c:183: warning: nested extern declaration of 'glGenLists'
photo.c:184: warning: implicit declaration of function 'glNewList'
photo.c:184: warning: nested extern declaration of 'glNewList'
photo.c:184: error: 'PhotoScreen' has no member named 'dList'
photo.c:184: error: 'GL_COMPILE' undeclared (first use in this function)
photo.c:185: warning: implicit declaration of function 'glBegin'
photo.c:185: warning: nested extern declaration of 'glBegin'
photo.c:185: error: 'GL_POLYGON' undeclared (first use in this function)
photo.c:187: warning: implicit declaration of function 'glColor4us'
photo.c:187: warning: nested extern declaration of 'glColor4us'
photo.c:189: error: 'PhotoScreen' has no member named 'n'
photo.c:191: warning: implicit declaration of function 'glVertex3f'
photo.c:191: warning: nested extern declaration of 'glVertex3f'
photo.c:191: error: 'PhotoScreen' has no member named 'n'
photo.c:191: error: 'PhotoScreen' has no member named 'n'
photo.c:194: warning: implicit declaration of function 'glEnd'
photo.c:194: warning: nested extern declaration of 'glEnd'
photo.c:200: error: 'PhotoScreen' has no member named 'n'
photo.c:202: error: 'PhotoScreen' has no member named 'n'
photo.c:202: error: 'PhotoScreen' has no member named 'n'
photo.c:206: warning: implicit declaration of function 'glEndList'
photo.c:206: warning: nested extern declaration of 'glEndList'
photo.c:208: error: dereferencing pointer to incomplete type
photo.c: In function 'photoTextureChange':
photo.c:217: error: dereferencing pointer to incomplete type
photo.c:217: error: dereferencing pointer to incomplete type
photo.c:219: error: dereferencing pointer to incomplete type
photo.c:219: error: 'CompLogLevelWarn' undeclared (first use in this function)
photo.c:225: error: 'PhotoScreen' has no member named 'firsttime'
photo.c:227: error: 'PhotoScreen' has no member named 'n'
photo.c:229: warning: implicit declaration of function 'finiTexture'
photo.c:229: warning: nested extern declaration of 'finiTexture'
photo.c:229: error: 'PhotoScreen' has no member named 'photoTexture'
photo.c:230: error: 'PhotoScreen' has no member named 'photoTexture'
photo.c:233: error: 'PhotoScreen' has no member named 'dList'
photo.c:236: error: 'CompMatrix' undeclared (first use in this function)
photo.c:236: error: 'mat' undeclared (first use in this function)
photo.c:239: error: 'PhotoScreen' has no member named 'photoTexFiles'
photo.c:239: warning: implicit declaration of function 'photoGetPhotoTextures'
photo.c:239: warning: nested extern declaration of 'photoGetPhotoTextures'
photo.c:240: error: 'PhotoScreen' has no member named 'n'
photo.c:240: error: 'PhotoScreen' has no member named 'photoTexFiles'
photo.c:242: error: 'PhotoScreen' has no member named 'photoTexture'
photo.c:242: error: 'PhotoScreen' has no member named 'n'
photo.c:244: error: 'PhotoScreen' has no member named 'n'
photo.c:246: warning: implicit declaration of function 'readImageToTexture'
photo.c:246: warning: nested extern declaration of 'readImageToTexture'
photo.c:246: error: 'PhotoScreen' has no member named 'photoTexture'
photo.c:247: error: 'PhotoScreen' has no member named 'photoTexFiles'
photo.c:248: error: 'PhotoScreen' has no member named 'photoTexture'
photo.c:249: error: 'PhotoScreen' has no member named 'photoTexture'
photo.c:251: error: 'PhotoScreen' has no member named 'photoTexture'
photo.c:252: error: 'PhotoScreen' has no member named 'photoTexture'
photo.c:255: error: 'PhotoScreen' has no member named 'n'
photo.c:257: error: 'PhotoScreen' has no member named 'photoTexture'
photo.c:257: error: 'GL_COMPILE' undeclared (first use in this function)
photo.c:258: error: 'GL_QUADS' undeclared (first use in this function)
photo.c:260: warning: implicit declaration of function 'glTexCoord2f'
photo.c:260: warning: nested extern declaration of 'glTexCoord2f'
photo.c:260: warning: implicit declaration of function 'COMP_TEX_COORD_X'
photo.c:260: warning: nested extern declaration of 'COMP_TEX_COORD_X'
photo.c:260: error: 'PhotoScreen' has no member named 'photoTexture'
photo.c:261: warning: implicit declaration of function 'COMP_TEX_COORD_Y'
photo.c:261: warning: nested extern declaration of 'COMP_TEX_COORD_Y'
photo.c:262: error: 'PhotoScreen' has no member named 'n'
photo.c:262: error: 'PhotoScreen' has no member named 'n'
photo.c:266: error: 'PhotoScreen' has no member named 'n'
photo.c:266: error: 'PhotoScreen' has no member named 'n'
photo.c:269: error: 'PhotoScreen' has no member named 'photoTexture'
photo.c:270: error: 'PhotoScreen' has no member named 'n'
photo.c:270: error: 'PhotoScreen' has no member named 'n'
photo.c:272: error: 'PhotoScreen' has no member named 'photoTexture'
photo.c:273: error: 'PhotoScreen' has no member named 'photoTexture'
photo.c:274: error: 'PhotoScreen' has no member named 'n'
photo.c:274: error: 'PhotoScreen' has no member named 'n'
photo.c:280: error: dereferencing pointer to incomplete type
photo.c: In function 'photoClearTargetOutput':
photo.c:292: error: dereferencing pointer to incomplete type
photo.c:292: error: dereferencing pointer to incomplete type
photo.c:293: warning: implicit declaration of function 'CUBE_SCREEN'
photo.c:293: warning: nested extern declaration of 'CUBE_SCREEN'
photo.c:296: warning: implicit declaration of function 'UNWRAP'
photo.c:296: warning: nested extern declaration of 'UNWRAP'
photo.c:296: error: 'cs' undeclared (first use in this function)
photo.c:296: error: 'clearTargetOutput' undeclared (first use in this function)
photo.c:298: warning: implicit declaration of function 'WRAP'
photo.c:298: warning: nested extern declaration of 'WRAP'
photo.c:300: warning: implicit declaration of function 'glClear'
photo.c:300: warning: nested extern declaration of 'glClear'
photo.c:300: error: 'GL_DEPTH_BUFFER_BIT' undeclared (first use in this function)
photo.c: At top level:
photo.c:305: warning: type defaults to 'int' in declaration of 'ScreenPaintAttrib'
photo.c:305: error: expected ';', ',' or ')' before '*' token
photo.c: In function 'photoPreparePaintScreen':
photo.c:408: error: dereferencing pointer to incomplete type
photo.c:408: error: dereferencing pointer to incomplete type
photo.c:412: error: 'preparePaintScreen' undeclared (first use in this function)
photo.c:413: error: dereferencing pointer to incomplete type
photo.c: In function 'photoDonePaintScreen':
photo.c:420: error: dereferencing pointer to incomplete type
photo.c:420: error: dereferencing pointer to incomplete type
photo.c:422: error: 'PhotoScreen' has no member named 'damage'
photo.c:424: warning: implicit declaration of function 'damageScreen'
photo.c:424: warning: nested extern declaration of 'damageScreen'
photo.c:425: error: 'PhotoScreen' has no member named 'damage'
photo.c:425: error: 'FALSE' undeclared (first use in this function)
photo.c:428: error: 'donePaintScreen' undeclared (first use in this function)
photo.c:429: error: dereferencing pointer to incomplete type
photo.c: At top level:
photo.c:436: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'photoInitDisplay'
photo.c: In function 'photoFiniDisplay':
photo.c:484: error: dereferencing pointer to incomplete type
photo.c:486: warning: implicit declaration of function 'freeScreenPrivateIndex'
photo.c:486: warning: nested extern declaration of 'freeScreenPrivateIndex'
photo.c: At top level:
photo.c:494: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'photoInitScreen'
photo.c: In function 'photoFiniScreen':
photo.c:555: error: dereferencing pointer to incomplete type
photo.c:555: error: dereferencing pointer to incomplete type
photo.c:559: error: 'PhotoScreen' has no member named 'n'
photo.c:561: error: 'PhotoScreen' has no member named 'photoTexture'
photo.c:562: error: 'PhotoScreen' has no member named 'photoTexture'
photo.c:565: error: 'PhotoScreen' has no member named 'dList'
photo.c:567: error: 'PhotoScreen' has no member named 'photoTexture'
photo.c:571: error: 'donePaintScreen' undeclared (first use in this function)
photo.c:572: error: 'preparePaintScreen' undeclared (first use in this function)
photo.c:574: error: 'cs' undeclared (first use in this function)
photo.c:574: error: 'clearTargetOutput' undeclared (first use in this function)
photo.c:575: error: 'paintInside' undeclared (first use in this function)
photo.c: At top level:
photo.c:585: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'photoInit'
photo.c: In function 'photoFini':
photo.c:599: warning: implicit declaration of function 'freeDisplayPrivateIndex'
photo.c:599: warning: nested extern declaration of 'freeDisplayPrivateIndex'
photo.c: In function 'photoGetVersion':
photo.c:608: error: 'ABIVERSION' undeclared (first use in this function)
photo.c:609: warning: control reaches end of non-void function
photo.c: At top level:
photo.c:615: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'photoVTable'
photo.c:634: error: expected '=', ',', ';', 'asm' or '__attribute__' before '*' token
make: *** [build/photo.lo] 错误 1
lijzz
帖子: 196
注册时间: 2006-09-03 20:53
送出感谢: 0
接收感谢: 0

#2

帖子 lijzz » 2007-12-26 21:02

是因为你没有安装compiz 的dev包,我是安装的0.6.99,下载compiz-dev_0.6.3+git20071205+Qubuntu0_i386、libcompizconfig0-dev_0.6.99+git20071127+Qubuntu0_i386、libdecoration0-dev_0.6.3+git20071205+Qubuntu0_i386、libemeraldengine-dev_0.6.99+git20071119+Qubuntu0_i386,根据你安装的版本下载同版本的dev包安装一下行了,
ThinkPad T43 44U
1.5G X300

Gutsy
Compiz-fusion
回复

回到 “桌面特效”