LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   OpenGL cross compilation for ARM (https://www.linuxquestions.org/questions/linux-software-2/opengl-cross-compilation-for-arm-4175432691/)

les sciences 10-17-2012 09:03 AM

OpenGL cross compilation for ARM
 
Hi,

I try to cross compile an application to be run on arm target (my host is x86 ubuntu 11.10).

when i run "make", i obtain this error:

mar@ubuntu:~/Desktop/App$ make
...
cc1plus: warning: include location "/usr/include/GL/" is unsafe for cross-compilation
cc1plus: warning: include location "/usr/include/c++/4.6/" is unsafe for cross-compilation
cc1plus: warning: include location "/usr/include/qt4/" is unsafe for cross-compilation
..
/usr/include/qt4/QtOpenGL/qgl.h:77:15: fatal error: GL: No such file or directory
compilation terminated.
make: *** [main.o] Error 1


I know that i need to cross compile my librairies qt4 and OpenGL for arm , but i do not know how.

Can you please help me??

for makefile i use those compilers.

CC = arm-none-linux-gnueabi-gcc
CXX = arm-none-linux-gnueabi-g++
AR = ar

Thank you in advance.

les sciences 10-23-2012 09:47 AM

Can any one help me??


All times are GMT -5. The time now is 01:14 AM.