Qt embedded compile with opengl error...
-
Hi and welcome to devnet,
Did you ensure that the libs and header were put in a folder that can be found by the configuration script ?
-
wrote on 12 Aug 2013, 21:44 last edited by
Yes, I checked libs and header path in configiration
-
Can you re-run configure with -v ? That should show you where the failure happens
-
wrote on 13 Aug 2013, 09:18 last edited by
thans you for your apply...
when i was doing with -v option,
error message is below...=======================================================
arm-none-linux-gnueabi-g++ -c -pipe -O2 -Wall -W -I../../../mkspecs/qws/linux-arm-g++ -I. -I../../../../tslib-master/arm_tslib/include -I/usr/include/GLES2 -o opengles2.o opengles2.cpp
cc1plus: warning: include location "/usr/include/GLES2" is unsafe for cross-compilation
opengles2.cpp:45: fatal error: GLES2/gl2.h: No such file or directorybut there is /usr/include/GLES2 folder and gl2.h file...
======================================================
ls -al /usr/include/GLES2/
total 100
drwxr-xr-x 2 root root 4096 jun 31 11:06 ./
drwxr-xr-x 95 root root 12288 jun 8 17:28 ../
-rw-r--r-- 1 root root 31914 jun 19 05:54 gl2.h
-rw-r--r-- 1 root root 48666 jun 19 05:54 gl2ext.h
-rw-r--r-- 1 root root 909 jun 19 05:54 gl2platform.h -
Did you install the ARM headers/libs in your system folders ?
-
wrote on 3 Sept 2013, 12:35 last edited by
Hello SGaist,
I am also getting the below error, while configuring Qt with opengl -es2 option. Can you please elaborate, how to install ARM headers/libs in system folders ?
Error:
opengles2.cpp:45: fatal error: GLES2/gl2.h: No such file or directoryThanks,
Sachin -
Installing ARM headers/libs in system folders is wrong.
You have a tool chain with it's own set of headers and libraries. Copy then needed files there. (You can get them i.e from the debian packages)
-
wrote on 5 Sept 2013, 12:02 last edited by
Hi,
I am having problem in providing finding the lib -lGLESv2 in the downloaded packages. But there is a lib -lGLESv2x present in the package. But, the configuration is searching for -lGLESv2.
How do I solve this issue ?
Note: I am using Red-hat Linux.
Thanks,
Sachin -
From the debian packages: "libgles2-mesa-dev" and its friends
-
wrote on 22 Jun 2014, 04:17 last edited by
Hi,
I met the same issue as you,have you solved this issue? I cannot solve this issue despite reading many forum posts,I feel loses very much.What should be done to solve this issue?
Thanks,
John2014