当然,amarok用户也有新选择
小锁兄,打个广告没关系吧 :mrgreen: ./configure成功了 但是make提示失败
make: Entering directory `/home/hsys/xlyrics-0.4.6/src/plugins'
/bin/sh ../../libtool --mode=compile g++ -DHAVE_CONFIG_H -I. -I. -I../.. -c lyrics_amarok.cpp
mkdir .libs
g++ -DHAVE_CONFIG_H -I. -I. -I../.. -Wp,-MD,.deps/lyrics_amarok.pp -c lyrics_amarok.cpp-fPIC -DPIC -o .libs/lyrics_amarok.o
lyrics_amarok.cpp:2:18: error: kapp.h: No such file or directory
lyrics_amarok.cpp:3:24: error: dcopclient.h: No such file or directory
lyrics_amarok.cpp:9: error: expected initializer before '*' token
lyrics_amarok.cpp:16: error: 'DCOPClient' was not declared in this scope
lyrics_amarok.cpp:16: error: 'dcop' was not declared in this scope
lyrics_amarok.cpp:16: error: 'QString' was not declared in this scope
lyrics_amarok.cpp:16: error: initializer expression list treated as compound expression
。。。。。。。。。。。。。。。。。。
make: *** 错误 1
make: Leaving directory `/home/hsys/xlyrics-0.4.6/src/plugins'
make: *** 错误 1
make: Leaving directory `/home/hsys/xlyrics-0.4.6/src'
make: *** 错误 1
make: Leaving directory `/home/hsys/xlyrics-0.4.6'
make: *** 错误 2
可是我明明有kapp.h和dcopclient.h在/usr/include/kde下面阿 这个是为什么``? :oops:
感觉对amarok的插件编译比较郁闷啊
搞定了kde的头文件
qt的头文件找不到
小锁兄能不能重写一下Makefile啊?
我用debian sid
装了开发包了
但死活编译不了
跟上面的差不多,就是头文件的问题 ./configure成功了 但是make提示失败
make: Entering directory `/home/hsys/xlyrics-0.4.6/src/plugins'
/bin/sh ../../libtool --mode=compile g++ -DHAVE_CONFIG_H -I. -I. -I../.. -c lyrics_amarok.cpp
mkdir .libs
g++ -DHAVE_CONFIG_H -I. -I. -I../.. -Wp,-MD,.deps/lyrics_amarok.pp -c lyrics_amarok.cpp-fPIC -DPIC -o .libs/lyrics_amarok.o
lyrics_amarok.cpp:2:18: error: kapp.h: No such file or directory
lyrics_amarok.cpp:3:24: error: dcopclient.h: No such file or directory
lyrics_amarok.cpp:9: error: expected initializer before '*' token
lyrics_amarok.cpp:16: error: 'DCOPClient' was not declared in this scope
lyrics_amarok.cpp:16: error: 'dcop' was not declared in this scope
lyrics_amarok.cpp:16: error: 'QString' was not declared in this scope
lyrics_amarok.cpp:16: error: initializer expression list treated as compound expression
。。。。。。。。。。。。。。。。。。
make: *** 错误 1
make: Leaving directory `/home/hsys/xlyrics-0.4.6/src/plugins'
make: *** 错误 1
make: Leaving directory `/home/hsys/xlyrics-0.4.6/src'
make: *** 错误 1
make: Leaving directory `/home/hsys/xlyrics-0.4.6'
make: *** 错误 2
可是我明明有kapp.h和dcopclient.h在/usr/include/kde下面阿 这个是为什么``? :oops:
感觉对amarok的插件编译比较郁闷啊
搞定了kde的头文件
qt的头文件找不到
小锁兄能不能重写一下Makefile啊?
我用debian sid
装了开发包了
但死活编译不了
跟上面的差不多,就是头文件的问题
我最后用了最无奈的方法```在CFLAGS CPPFLAGS里面加上-I/usr/include/kde -I/usr/include/qt重新configure可以了``` 支持背景透明了!Smile
需要xorg>=6.8.0
设置:
xorg.conf
加入
代码:
Section "Extensions"
Option "Composite" "Enable"
EndSection
如果是nvidia的显卡最好在device字段加上
代码:
Option "AllowGLXWithComposite" "true"
Option "RenderAccel""true"
到http://freedesktop.org/Software/xapps下载xcompgre,安装
重启x window,在终端输入xcompgre,打开xlyrics,哈哈,怎么样?
可以透明了吧! 原帖由 寒水远山 于 2006-12-24 09:34 发表 http://www.linuxfans.org/bbs/images/common/back.gif
./configure成功了 但是make提示失败
make: Entering directory `/home/hsys/xlyrics-0.4.6/src/plugins'
/bin/sh ../../libtool --mode=comp ...
3Q!
modify
/down/xlyrics-0.4.6/src/plugins/Makefile
line:220
CPPFLAGS = -I/usr/include/kde -I/usr/include/qt3 已经有更新了
去www.sanfanling.cn看看