当前时区为 UTC + 8 小时



发表新帖 回复这个主题  [ 2 篇帖子 ] 
作者 内容
1 楼 
 文章标题 : [问题]编译安装插件phtotwheel&atlantis不能通过
帖子发表于 : 2007-12-26 16:40 
头像

注册: 2007-01-06 21:00
帖子: 920
送出感谢: 2
接收感谢: 0 次
我昨天下载的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


页首
 用户资料  
 
2 楼 
 文章标题 :
帖子发表于 : 2007-12-26 21:02 

注册: 2006-09-03 20:53
帖子: 196
送出感谢: 0 次
接收感谢: 0 次
是因为你没有安装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


页首
 用户资料  
 
显示帖子 :  排序  
发表新帖 回复这个主题  [ 2 篇帖子 ] 

当前时区为 UTC + 8 小时


在线用户

正在浏览此版面的用户:没有注册用户 和 3 位游客


不能 在这个版面发表主题
不能 在这个版面回复主题
不能 在这个版面编辑帖子
不能 在这个版面删除帖子
不能 在这个版面提交附件

前往 :  
本站点为公益性站点,用于推广开源自由软件,由 DiaHosting VPSBudgetVM VPS 提供服务。
我们认为:软件应可免费取得,软件工具在各种语言环境下皆可使用,且不会有任何功能上的差异;
人们应有定制和修改软件的自由,且方式不受限制,只要他们自认为合适。

Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group
简体中文语系由 王笑宇 翻译