[求助]编译libcompizconfig老是不通过

各种窗口管理器和美化相关
回复
remax
帖子: 11
注册时间: 2007-11-14 8:19

[求助]编译libcompizconfig老是不通过

#1

帖子 remax » 2007-12-11 23:20

编译libcompizconfig老是不通过
错误提示
compiz.c:42:20: error: compiz.h: No such file or directory
compiz.c: In function 'getOptionType':
compiz.c:71: error: 'CompOptionTypeBool' undeclared (first use in this function)
compiz.c:71: error: (Each undeclared identifier is reported only once
compiz.c:71: error: for each function it appears in.)
compiz.c: In function 'initColorValue':
compiz.c:512: warning: implicit declaration of function 'MAX'
compiz.c:512: warning: nested extern declaration of 'MAX'
compiz.c:512: warning: implicit declaration of function 'MIN'
compiz.c:512: warning: nested extern declaration of 'MIN'
compiz.c: At top level:
compiz.c:565: error: 'ShiftMask' undeclared here (not in a function)
compiz.c:566: error: 'ControlMask' undeclared here (not in a function)
compiz.c:567: error: 'Mod1Mask' undeclared here (not in a function)
compiz.c:568: error: 'Mod2Mask' undeclared here (not in a function)
compiz.c:569: error: 'Mod3Mask' undeclared here (not in a function)
compiz.c:570: error: 'Mod4Mask' undeclared here (not in a function)
compiz.c:571: error: 'Mod5Mask' undeclared here (not in a function)
compiz.c:572: error: 'CompAltMask' undeclared here (not in a function)
compiz.c:573: error: 'CompMetaMask' undeclared here (not in a function)
compiz.c:574: error: 'CompSuperMask' undeclared here (not in a function)
compiz.c:575: error: 'CompHyperMask' undeclared here (not in a function)
compiz.c:576: error: 'CompModeSwitchMask' undeclared here (not in a function)
compiz.c: In function 'stringToKey':
compiz.c:612: warning: implicit declaration of function 'XStringToKeysym'
compiz.c:612: warning: nested extern declaration of 'XStringToKeysym'
compiz.c:617: error: 'NoSymbol' undeclared (first use in this function)
compiz.c:617: warning: assignment makes integer from pointer without a cast
compiz.c: In function 'initIntInfo':
compiz.c:784: error: 'MINSHORT' undeclared (first use in this function)
compiz.c:784: warning: assignment makes integer from pointer without a cast
compiz.c:785: error: 'MAXSHORT' undeclared (first use in this function)
compiz.c:785: warning: assignment makes integer from pointer without a cast
compiz.c: In function 'initFloatInfo':
compiz.c:852: error: 'MINSHORT' undeclared (first use in this function)
compiz.c:852: error: incompatible types in assignment
compiz.c:852: warning: statement with no effect
compiz.c:853: error: 'MAXSHORT' undeclared (first use in this function)
compiz.c:853: error: incompatible types in assignment
compiz.c:853: warning: statement with no effect
make[2]: *** [compiz.lo] 错误 1
make[2]: Leaving directory `/home/remaxz/libcompizconfig-0.6.0/src'
make[1]: *** [all-recursive] 错误 1
make[1]: Leaving directory `/home/remaxz/libcompizconfig-0.6.0'
make: *** [all] 错误 2


我linux新手,还请各位多帮助。
palxex
帖子: 136
注册时间: 2006-10-30 11:23

#2

帖子 palxex » 2007-12-12 9:33

编译libcompizconfig之前需要先make install compiz。
remax
帖子: 11
注册时间: 2007-11-14 8:19

#3

帖子 remax » 2007-12-12 14:57

已经安装过了。
这个是缺compiz.h文件
我从compiz0.6.2源码哪里复制了一份过来。

编译倒是过了

但是还是不能用
回复