Basic XLib functionality test failed!
-
Dear all,
i tried to compile the QT with following command by following "http://forums.digi.com/support/forum/viewthread_thread,6858#20693"@./configure -confirm-license -embedded arm -xplatform qws/linux-arm-g++ -prefix /usr/local/QtEmbedded-4.4.3 -hostprefix /usr/local/DigiEL-5.6/x-tools/arm-cortex_a8-linux-gnueabi -qt-sql-sqlite -depths 15,16 -qt-kbd-usb -qt-mouse-tslib@
and i got this error
@Basic XLib functionality test failed!
You might need to modify the include and library search paths by editing
QMAKE_INCDIR_X11 and QMAKE_LIBDIR_X11 in /home/qmax/Desktop/QT_Latest/qt-x11-opensource-src-4.5.3/mkspecs/qws/linux-arm-g++.@I tried the following
Try 1:@sudo apt-get build-dep qt4-qmake (installed)@
Ref:http://www.qtforum.org/article/27401/debian-xlib-test-failed-after-configure.html
Try 2:
@sudo apt-get build-dep libxext-dev@
Try 3:
@sudo apt-get install libx11-dev libxau-dev libxaw7-dev libxcb1-dev libxcomposite-dev libxcursor-dev libxdamage-dev libxdmcp-dev
sudo apt-get install libxext-dev libxfixes-dev libxfont-dev libxft-dev libxi-dev libxinerama-dev libxkbfile-dev libxmu-dev libxmuu-dev
sudo apt-get install libxpm-dev libxrandr-dev libxrender-dev libxres-dev libxss-dev libxt-dev libxtst-dev libxv-dev libxvmc-dev
sudo apt-get install libglib2.0-dev
sudo apt-get install libssl-dev
sudo apt-get install libgtk2.0-dev
sudo apt-get install libcups2-dev
sudo apt-get install libgl1-mesa-dev libglu1-mesa-dev
sudo apt-get install libgstreamer0.10-dev@Ref:http://qt-project.org/wiki/Compile_Qt_4.7_on_Ubuntu_10.10
Try 4:
@sudo apt-get install ^libxcb.* libx11-xcb-dev libglu1-mesa-dev libxrender-dev -y@
Ref:http://qt-project.org/forums/viewthread/15858
But nothing works...still same error.....
-
You are cross-compiling, so you need the libraries/headers installed in the sysroot, not in your own system.
-
its working... just extracted the opensource with command instead of direct extraction...
-
I have the same problem. Can you please tell me why I get this error and what are the clear steps to over come the problem?
Thank you,
Kumara -
For me it solved by extracting the opensource archive in konsole using command instead of direct extraction
-
Thank you for the reply.
I did solve the problem by installing the following libraries
@
sudo apt-get install libx11-dev libfreetype6-dev libavahi-gobject-dev libSM-dev libXrender-dev libfontconfig-dev libXext-dev
@