【求助】kubuntu安装视频壁纸失败

KDE桌面环境
回复
kubuntuser
帖子: 23
注册时间: 2013-03-26 16:22
系统: kubuntu
送出感谢: 0
接收感谢: 0

【求助】kubuntu安装视频壁纸失败

#1

帖子 kubuntuser » 2013-03-26 16:36

想使用视频做桌面壁纸,在kde-look.org上找到一个plasma-video-wallpaper的源码包,按照包中的安装说明进行安装,可是运行第二步make时失败,请大家帮帮忙看看怎么解决?
错误信息如下:

第一步通过:cmake .

-- The C compiler identification is GNU
-- The CXX compiler identification is GNU
-- Check for working C compiler: /usr/bin/gcc
-- Check for working C compiler: /usr/bin/gcc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working CXX compiler: /usr/bin/c++
-- Check for working CXX compiler: /usr/bin/c++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Found components for libavformat
-- libavformat_INCLUDES = /usr/include/libavformat
-- libavformat_LIBRARIES = /usr/lib/i386-linux-gnu/libavformat.so
-- Found components for libavcodec
-- libavcodec_INCLUDES = /usr/include/libavcodec
-- libavcodec_LIBRARIES = /usr/lib/i386-linux-gnu/libavcodec.so
-- Found components for libswscale
-- libswscale_INCLUDES = /usr/include/libswscale
-- libswscale_LIBRARIES = /usr/lib/i386-linux-gnu/libswscale.so
-- Found components for libavutil
-- libavutil_INCLUDES = /usr/include/libavutil
-- libavutil_LIBRARIES = /usr/lib/i386-linux-gnu/libavutil.so
-- Looking for Q_WS_X11
-- Looking for Q_WS_X11 - found
-- Looking for Q_WS_WIN
-- Looking for Q_WS_WIN - not found.
-- Looking for Q_WS_QWS
-- Looking for Q_WS_QWS - not found.
-- Looking for Q_WS_MAC
-- Looking for Q_WS_MAC - not found.
-- Found Qt-Version 4.8.1 (using /usr/bin/qmake)
-- Looking for XOpenDisplay in /usr/lib/i386-linux-gnu/libX11.so;/usr/lib/i386-linux-gnu/libXext.so;/usr/lib/i386-linux-gnu/libXau.so;/usr/lib/i386-linux-gnu/libXdmcp.so
-- Looking for XOpenDisplay in /usr/lib/i386-linux-gnu/libX11.so;/usr/lib/i386-linux-gnu/libXext.so;/usr/lib/i386-linux-gnu/libXau.so;/usr/lib/i386-linux-gnu/libXdmcp.so - found
-- Looking for gethostbyname
-- Looking for gethostbyname - found
-- Looking for connect
-- Looking for connect - found
-- Looking for remove
-- Looking for remove - found
-- Looking for shmat
-- Looking for shmat - found
-- Found X11: /usr/lib/i386-linux-gnu/libX11.so
-- Looking for include files CMAKE_HAVE_PTHREAD_H
-- Looking for include files CMAKE_HAVE_PTHREAD_H - found
-- Looking for pthread_create in pthreads
-- Looking for pthread_create in pthreads - not found
-- Looking for pthread_create in pthread
-- Looking for pthread_create in pthread - found
-- Found Threads: TRUE
-- Looking for _POSIX_TIMERS
-- Looking for _POSIX_TIMERS - found
-- Found Automoc4: /usr/bin/automoc4
-- Found Perl: /usr/bin/perl
-- Found Phonon: /usr/include
-- Performing Test _OFFT_IS_64BIT
-- Performing Test _OFFT_IS_64BIT - Failed
-- Performing Test HAVE_FPIE_SUPPORT
-- Performing Test HAVE_FPIE_SUPPORT - Success
-- Performing Test __KDE_HAVE_W_OVERLOADED_VIRTUAL
-- Performing Test __KDE_HAVE_W_OVERLOADED_VIRTUAL - Success
-- Performing Test __KDE_HAVE_GCC_VISIBILITY
-- Performing Test __KDE_HAVE_GCC_VISIBILITY - Success
-- Found KDE 4.8 include dir: /usr/include
-- Found KDE 4.8 library dir: /usr/lib
-- Found the KDE4 kconfig_compiler preprocessor: /usr/bin/kconfig_compiler
-- Found automoc4: /usr/bin/automoc4
-- Found KDE4Workspace: /usr/lib/cmake/KDE4Workspace/KDE4WorkspaceConfig.cmake
-- Configuring done
-- Generating done
-- Build files have been written to: /home/cloud/plasma-video-wallpaper


第二步失败:make


Scanning dependencies of target wallpapervideo_automoc
Generating vid.moc
[ 0%] Built target wallpapervideo_automoc
[ 33%] Generating ui_videoconfig.h
Scanning dependencies of target wallpapervideo
[ 66%] Building CXX object CMakeFiles/wallpapervideo.dir/wallpapervideo_automoc.o
[100%] Building CXX object CMakeFiles/wallpapervideo.dir/vid.o
In file included from /usr/include/KDE/KNS/Engine:1:0,
from /home/cloud/plasma-video-wallpaper/vid.cpp:12:
/usr/include/KDE/KNS/../../knewstuff2/engine.h:159:5: 警告: 不建议使用‘Engine’ [-Wdeprecated-declarations]
/usr/include/KDE/KNS/../../knewstuff2/engine.h:159:5: 警告: 不建议使用‘Engine’(声明于 /usr/include/KDE/KNS/../../knewstuff2/engine.h:43) [-Wdeprecated-declarations]
/usr/include/KDE/KNS/../../knewstuff2/engine.h:159:5: 警告: 不建议使用‘Engine’ [-Wdeprecated-declarations]
/home/cloud/plasma-video-wallpaper/vid.cpp: 在成员函数‘void Tutorial1::Init()’中:
/home/cloud/plasma-video-wallpaper/vid.cpp:85:6: 警告: 不建议使用‘int av_open_input_file(AVFormatContext**, const char*, AVInputFormat*, int, AVFormatParameters*)’(声明于 /usr/include/libavformat/avformat.h:1368) [-Wdeprecated-declarations]
/home/cloud/plasma-video-wallpaper/vid.cpp:85:99: 警告: 不建议使用‘int av_open_input_file(AVFormatContext**, const char*, AVInputFormat*, int, AVFormatParameters*)’(声明于 /usr/include/libavformat/avformat.h:1368) [-Wdeprecated-declarations]
/home/cloud/plasma-video-wallpaper/vid.cpp:89:6: 警告: 不建议使用‘int av_find_stream_info(AVFormatContext*)’(声明于 /usr/include/libavformat/avformat.h:1412) [-Wdeprecated-declarations]
/home/cloud/plasma-video-wallpaper/vid.cpp:89:36: 警告: 不建议使用‘int av_find_stream_info(AVFormatContext*)’(声明于 /usr/include/libavformat/avformat.h:1412) [-Wdeprecated-declarations]
/home/cloud/plasma-video-wallpaper/vid.cpp:99:51: 错误: ‘CODEC_TYPE_VIDEO’在此作用域中尚未声明
/home/cloud/plasma-video-wallpaper/vid.cpp:120:6: 警告: 不建议使用‘int avcodec_open(AVCodecContext*, AVCodec*)’(声明于 /usr/include/libavcodec/avcodec.h:4035) [-Wdeprecated-declarations]
/home/cloud/plasma-video-wallpaper/vid.cpp:120:36: 警告: 不建议使用‘int avcodec_open(AVCodecContext*, AVCodec*)’(声明于 /usr/include/libavcodec/avcodec.h:4035) [-Wdeprecated-declarations]
/home/cloud/plasma-video-wallpaper/vid.cpp: 在成员函数‘void Tutorial1::DeInit()’中:
/home/cloud/plasma-video-wallpaper/vid.cpp:163:5: 警告: 不建议使用‘void av_close_input_file(AVFormatContext*)’(声明于 /usr/include/libavformat/avformat.h:1580) [-Wdeprecated-declarations]
/home/cloud/plasma-video-wallpaper/vid.cpp:163:35: 警告: 不建议使用‘void av_close_input_file(AVFormatContext*)’(声明于 /usr/include/libavformat/avformat.h:1580) [-Wdeprecated-declarations]
/home/cloud/plasma-video-wallpaper/vid.cpp: 在成员函数‘virtual QWidget* Tutorial1::createConfigurationInterface(QWidget*)’中:
/home/cloud/plasma-video-wallpaper/vid.cpp:265:40: 警告: 在有符号和无符号整数表达式间比较 [-Wsign-compare]
/home/cloud/plasma-video-wallpaper/vid.cpp: 在成员函数‘virtual void Blaa::run()’中:
/home/cloud/plasma-video-wallpaper/vid.cpp:379:53: 错误: ‘avcodec_decode_video’在此作用域中尚未声明
/home/cloud/plasma-video-wallpaper/vid.cpp:381:1: 警告: 在有符号和无符号整数表达式间比较 [-Wsign-compare]
/home/cloud/plasma-video-wallpaper/vid.cpp:384:1: 警告: 在有符号和无符号整数表达式间比较 [-Wsign-compare]
make[2]: *** [CMakeFiles/wallpapervideo.dir/vid.o] 错误 1
make[1]: *** [CMakeFiles/wallpapervideo.dir/all] 错误 2
make: *** [all] 错误 2
头像
berryboy2012
帖子: 352
注册时间: 2012-08-05 20:55
系统: OpenSUSE
送出感谢: 14 次
接收感谢: 4 次

Re: 【求助】kubuntu安装视频壁纸失败

#2

帖子 berryboy2012 » 2013-03-27 23:45

似乎是写代码的人抽风了,自己更正代码,然后祝你好运
ssjey
帖子: 65
注册时间: 2013-04-06 9:58
系统: windows xp
送出感谢: 0
接收感谢: 0
联系:

Re: 【求助】kubuntu安装视频壁纸失败

#3

帖子 ssjey » 2013-04-15 17:28

决定趁着吃饭的时间装上linux mint kde
你不懂我,我不怪你。
做优化的程序员,默默飘过,这是我的博客:wordpress教程http://w3123.com/
另外。。有喜欢drupal8的没有。。1000炮打鱼机http://www.py188.net/wordpress论坛http://bbs.w3123.com/
头像
daf3707
论坛版主
帖子: 12668
注册时间: 2007-06-13 15:57
来自: 在他乡
送出感谢: 49 次
接收感谢: 85 次

Re: 【求助】kubuntu安装视频壁纸失败

#4

帖子 daf3707 » 2013-04-15 17:59

好像停止开发了。过不了
回复

回到 “Kubuntu”