Ник:
Пароль:

Контакты

E-mail: info@starterkit.ru
тел.: +7 922 680-21-73
тел.: +7 922 680-21-74
Телеграм: t.me/starterkit_ru

Способы оплаты

User Info


Добро пожаловать,
Guest

Регистрация или входРегистрация или вход
Потеряли пароль?Потеряли пароль?

Ник:
Пароль:

ПользователейПользователей:3
Поисковых ботовПоисковых ботов:3
ГостейГостей:1

ОбновитьПодробнееВсегоВсего:7
Форум » starterkit.ru » Embedded Linux
QT installation for imx233 on Ubuntu : The EGL functionality test failed!
itmicro
Добавлено 07.11.2010 13:50
0
Сообщение: 1
itmicro
0

Пункты: 2274
Регистрация: 20.10.2010
Hi,

I am trying to compile qt-everywhere-opensource-src-4.6.0 source for imx233 target and I am getting error below :

root@ubuntu:~/Desktop/Freescale/qt-everywhere-opensource-src-4.6.0# ./configure
-embedded arm -xplatform qws/linux-mxc-g++ -release -prefix /usr/local/Trolltech/Qt-target-4.6.0 -qt-gfx-linuxfb -qt-kbd-tty -qt-mouse-tslib -opengl es2 -little-endian -host-little-endian
Which edition of Qt do you want to use ?

Type 'c' if you want to use the Commercial Edition.
Type 'o' if you want to use the Open Source Edition.

o


You have not explicitly asked to use pkg-config and are cross-compiling.
pkg-config will not be used to automatically query cflag/lib parameters for
dependencies


This is the Qt for Embedded Linux Open Source Edition.

You are licensed to use this software under the terms of
the Lesser GNU General Public License (LGPL) versions 2.1.
You are also licensed to use this software under the terms of
the GNU General Public License (GPL) versions 3.

Type '3' to view the GNU General Public License version 3.
Type 'L' to view the Lesser GNU General Public License version 2.1.
Type 'yes' to accept this license offer.
Type 'no' to decline this license offer.

Do you accept the terms of either license? yes

Creating qmake. Please wait...
make: `first' için hiçbir şey yapılmadı.
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/user/Masaüstü/Freescale/qt-everywhere-opensource-src-4.6.0/mkspecs/qws/linux-mxc-g++.
root@ubuntu:~/Masaüstü/Freescale/qt-everywhere-opensource-src-4.6.0#

How can I fix this problem ? Thanks

Regards,
Спуститься к концу Подняться к началу
Персональная информация
Hermes
Добавлено 07.11.2010 17:51 Сообщение: 2
Hermes
5

Пункты: 3383
Регистрация: 02.04.2010
To install the OpenGL ES need to specify the location where files are stored implementation of OpenGL ES. When I then collected the Qt for Windows Mobile with software implementation. Everything compiled, but the device refused to work. If you do not need OpenGL - refuse him.
Спуститься к концу Подняться к началу
Персональная информация
itmicro
Добавлено 07.11.2010 23:49 Сообщение: 3
itmicro
0

Пункты: 2274
Регистрация: 20.10.2010
Hello, I did what you recommended and got output below. How can I fix this error ?

-L/home/user/Desktop/Freescale/qt-everywhere-opensource-src-4.6.0/lib -L/tftpboot/ltib/usr/lib -lglib-2.0 -lgthread-2.0 -lgstreamer-0.10 -lxml2 -lz -lgmodule-2.0 -lgobject-2.0 -lts -lasound -lgsl -lc2d -lpanel2 -legl13 -lpthread -lm -ldl
/opt/freescale/usr/local/gcc-4.1.2-glibc-2.5-nptl-3/arm-none-linux-gnueabi/lib/gcc/arm-none-linux-gnueabi/4.1.2/../../../../arm-none-linux-gnueabi/bin/ld: cannot find -lglib-2.0
collect2: ld returned 1 exit status



Цитата
To install the OpenGL ES need to specify the location where files are stored implementation of OpenGL ES. When I then collected the Qt for Windows Mobile with software implementation. Everything compiled, but the device refused to work. If you do not need OpenGL - refuse him.
Спуститься к концу Подняться к началу
Персональная информация
Hermes
Добавлено 08.11.2010 17:11 Сообщение: 4
Hermes
5

Пункты: 3383
Регистрация: 02.04.2010
you specify the path to the library, and you must specify the path to the realization (files with cpp). Try searching in Google on request EGL
Спуститься к концу Подняться к началу
Персональная информация
itmicro
Добавлено 08.11.2010 19:26 Сообщение: 5
itmicro
0

Пункты: 2274
Регистрация: 20.10.2010
Hi,

I am trying to specify the path to library using

export PATH=$PATH:/usr/local/lib

But it did not work ? Would you give me your definition in your system ? Thanks,

If you have got instructions for building QT step by step, would you share it with me ? Thanks,


Цитата
you specify the path to the library, and you must specify the path to the realization (files with cpp). Try searching in Google on request EGL
Спуститься к концу Подняться к началу
Персональная информация
Hermes
Добавлено 08.11.2010 20:17 Сообщение: 6
Hermes
5

Пункты: 3383
Регистрация: 02.04.2010
instruction how build qt to windows mobile try see there - http://buldin.org
instruction on russian language.
i do not have board with imx233
Спуститься к концу Подняться к началу
Персональная информация
Форум » starterkit.ru » Embedded Linux