Quantcast
Channel: Qt DevNet forums: Installation and Deployment
Viewing all articles
Browse latest Browse all 2113

qt embedded compile with opengl error...

$
0
0
Hi everyone Now I’m meet some error in compiling qt embedded with opengl for arm in ubuntu 12.04 . acturally, I am compileing qt opensource both version is 4.8.4 and 4.6.2. I received opengl lib and header file from cpu vendor for arm. but, in configure, I meet error message like below… =============== configure message 4.8.4 ========================= The OpenGL ES 2.0 functionality test failed! You might need to modify the include and library search paths by editing QMAKE_INCDIR_OPENGL, QMAKE_LIBDIR_OPENGL and QMAKE_LIBS_OPENGL in /home/hnrhee/work/qt-everywhere-opensource-src-4.8.4/mkspecs/qws/linux-arm-g++. =============================================================== =============== configure message 4.6.2 ========================= . . . WARNING: /home/hnrhee/work/qt-everywhere-opensource-src-4.6.2/mkspecs/qws/linux-arm-g++/qmake.conf:6: Unable to find file for inclusion ../../common/gcc-base-unix.conf WARNING: /home/hnrhee/work/qt-everywhere-opensource-src-4.6.2/mkspecs/qws/linux-arm-g++/qmake.conf:7: Unable to find file for inclusion ../../common/g++-unix.conf The EGL functionality test failed! EGL is required for OpenGL ES to manage contexts & surfaces. You might need to modify the include and library search paths by editing QMAKE_INCDIR_EGL, QMAKE_LIBDIR_EGL and QMAKE_LIBS_EGL in /home/hnrhee/work/qt-everywhere-opensource-src-4.6.2/mkspecs/qws/linux-arm-g++. ============================================================================== my configure is ./configure -opensource -confirm-license -release -embedded arm —prefix=/project/qte-opengl -static -little-endian -no-accessibility -shared -no-cups -no-stl -qt-libpng -qt-libjpeg -no-qvfb -no-dbus -qt-freetype -no-nis -no-qt3support -no-largefile -no-libmng -qt-mouse-tslib -I/home/tslib-master/arm_tslib/include -L/home/tslib-master/arm_tslib/lib -opengl es2 -I/home/mali_drv -L/home/mali_drv -no-separate-debug-info -nomake examples -nomake docs -nomake tools -depths 16,18,24 -optimized-qmake -pch -qt-libjpeg -qt-zlib -no-libtiff -ptmalloc -no-webkit -no-script -no-scripttools -xplatform qws/linux-arm-g++ ===================================================================================== I checked there is the library and header file in /home/mali_drv folder… mkspecs/qws/linux-arm-g++/qmake.conf is # qmake configuration for building with arm-linux-g++ # include(../../common/linux.conf) include(../../common/gcc-base-unix.conf) include(../../common/g++-unix.conf) include(../../common/qws.conf) modifications to g++.conf QMAKE_CC = arm-none-linux-gnueabi-gcc QMAKE_CXX = arm-none-linux-gnueabi-g++ QMAKE_LINK = arm-none-linux-gnueabi-g++ QMAKE_LINK_SHLIB = arm-none-linux-gnueabi-g++ modifications to linux.conf QMAKE_AR = arm-none-linux-gnueabi-ar cqs QMAKE_OBJCOPY = arm-none-linux-gnueabi-objcopy QMAKE_STRIP = arm-none-linux-gnueabi-strip QMAKE_LFLAGS += -Wl,-rpath-link=/home/tslib-master/arm_tslib/lib #QMAKE_INCDIR_OPENGL, QMAKE_LIBDIR_OPENGL and QMAKE_LIBS_OPENGL load(qt_config) ============================================================= Actually I was googling over 3 days but I can not find solution about this… please advise to me. Best Regards

Viewing all articles
Browse latest Browse all 2113

Trending Articles