سلام
داشتم برنامه Kplayer ر از روی سورس کامپایل می کردم. کتابخونههایی که فکر می کردم لازمن ر نصب کردم. اما هنوز یه سری خطا دارم. نمی دونم چه بستههای دیگهای ر نصب کنم.
اینم خروجی کامپایل: (ازجایی گذاشتم که خطا شروع شده)
Linking CXX shared module ../lib/libkplayerpart.so
cd /home/lomion/Downloads/kplayer-0.7/kplayer && /usr/bin/cmake -E cmake_link_script CMakeFiles/kplayerpart.dir/link.txt --verbose=1
/usr/bin/c++ -fPIC -Wnon-virtual-dtor -Wno-long-long -ansi -Wundef -Wcast-align -Wchar-subscripts -Wall -W -Wpointer-arith -Wformat-security -fno-exceptions -fno-check-new -fno-common -Woverloaded-virtual -fno-threadsafe-statics -fvisibility=hidden -fvisibility-inlines-hidden -O2 -DNDEBUG -DQT_NO_DEBUG -Wl,--enable-new-dtags -Wl,--fatal-warnings -Wl,--no-undefined -lc -shared -Wl,-soname,libkplayerpart.so -o ../lib/libkplayerpart.so CMakeFiles/kplayerpart.dir/kplayerpart_automoc.o CMakeFiles/kplayerpart.dir/x11.o CMakeFiles/kplayerpart.dir/kplayerwidget.o CMakeFiles/kplayerpart.dir/kplayerslideraction.o CMakeFiles/kplayerpart.dir/kplayerprocess.o CMakeFiles/kplayerpart.dir/kplayersettings.o CMakeFiles/kplayerpart.dir/kplayerproperties.o CMakeFiles/kplayerpart.dir/kplayeractionlist.o CMakeFiles/kplayerpart.dir/kplayerengine.o CMakeFiles/kplayerpart.dir/kplayerpropertiesdialog.o CMakeFiles/kplayerpart.dir/kplayerpart.o /usr/lib/libkdecore.so.5.2.0 /usr/lib/libkparts.so.4.2.0 /usr/lib/libkdeui.so.5.2.0 -lQt3Support /usr/lib/libkde3support.so.4.2.0 /usr/lib/libkparts.so.4.2.0 -lQt3Support /usr/lib/libkio.so.5.2.0 /usr/lib/libkdeui.so.5.2.0 /usr/lib/libkdecore.so.5.2.0 -lQtDBus -lQtCore -lQtSvg -lQtNetwork -lQtXml -lQtGui -Wl,-rpath,::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
CMakeFiles/kplayerpart.dir/x11.o: In function `KPlayerX11GetKeyboardMouseState(unsigned int)':
x11.cpp:(.text+0x43): undefined reference to `XQueryPointer'
CMakeFiles/kplayerpart.dir/x11.o: In function `KPlayerX11UnmapWindow(unsigned int)':
x11.cpp:(.text+0xce): undefined reference to `XUnmapWindow'
CMakeFiles/kplayerpart.dir/x11.o: In function `KPlayerX11MapWindow(unsigned int)':
x11.cpp:(.text+0xee): undefined reference to `XMapWindow'
CMakeFiles/kplayerpart.dir/x11.o: In function `KPlayerX11SetInputFocus(unsigned int)':
x11.cpp:(.text+0x12a): undefined reference to `XSetInputFocus'
CMakeFiles/kplayerpart.dir/x11.o: In function `KPlayerProcessX11Event(_XEvent*)':
x11.cpp:(.text+0x2d9): undefined reference to `XGetAtomName'
x11.cpp:(.text+0x300): undefined reference to `XFree'
CMakeFiles/kplayerpart.dir/x11.o: In function `KPlayerX11UnmapWindow(unsigned int)':
x11.cpp:(.text+0xdc): undefined reference to `XFlush'
CMakeFiles/kplayerpart.dir/x11.o: In function `KPlayerX11MapWindow(unsigned int)':
x11.cpp:(.text+0xfc): undefined reference to `XFlush'
CMakeFiles/kplayerpart.dir/x11.o: In function `KPlayerX11SetInputFocus(unsigned int)':
x11.cpp:(.text+0x145): undefined reference to `XFlush'
collect2: ld returned 1 exit status
make[2]: *** [lib/libkplayerpart.so] Error 1
make[2]: Leaving directory `/home/lomion/Downloads/kplayer-0.7'
make[1]: *** [kplayer/CMakeFiles/kplayerpart.dir/all] Error 2
make[1]: Leaving directory `/home/lomion/Downloads/kplayer-0.7'
make: *** [all] Error 2
پ. ن. دارم روی کی دی ای ۴.۲ کامپایل می کنم. روی سیستم ۶۴ بیتی