Actually kmplayer was built successfully before.However I installed GStreamer(a frameword for multy media )in my computer several days ago,and it might break or cover some libraries which needed by compiling kmplayer target.To build it again,i had to install some packets.First at all i reinstalled Maemo SDK,kmplayer免費下載,as i really did not know where to start.After that i went into Sb_box and began to built kmplayer.But some errors turned out which seemed like "gtkhtml/gtkhtml.c:not find this file".There was no doubt that it was lacked of some libs.
I remembered it needed a packet named cairo-1.4.10 that Shawn had downloaded.Luckly it was still in my computer.So i built it:
./configure
make
make install
It went well when building and installing.Next i rebuilt Kmplayer.This time the error was different:"/usr//lib/libcairo.so:can not read the symbols:wrong file format".What is the matter?Jesus!Was not the shared object libcairo.so not the one needed?FT~~
Suddently i found my compiling evironment was SB_X86.OK,kmplayer下載,this must be the point of problem.I exited the sratchbox,and stopped it:
exit
/scratchbox/sbin/sb_ctl stop
then started it and logged into the environment for arm:
/startchbox/sbin/sb_ctl start
sb-conf SB_ARMEL select
Then i rebuilt libcairo.so(Multi-platform 2D graphics library) and rebuilt kmplayer.But errors turned out again:"gtkhtml/gtkhtml.c:not find this file".Why?I found out the INSTALL file of Cairo and read it.
In the file I got the solution.It is said that the path could be changed when ran the configure command.Following the configure command,specify the path direction to be installed.That is all right,I uninstalled the Cairo at once and intalled it once more:
make uninstall
./configure --prifix=/usr
make
make install
'--prifix=**' was one of arguments of configure command,which indicated path.Then I built Kmplayer target,this time,errors disappeared.
OK,now the evironment is completely all right.I can continue my work to DIY kmplayer,an open source project,media player running in Linux OS.
很抱歉,因為您在網易相冊發布了違規信息,賬號被屏蔽。被屏蔽期間他人無法訪問您的相冊。
去幫助中心,了解如何重新恢復服務。
相关文章: