Skip to main content

Thread: cross compilation for arm target


hi,

try cross compile application run on arm target (my host x86 ubuntu 11.10).

when run "make", obtain error:

mar@ubuntu:~/desktop/app$ make
...
cc1plus: warning: include location "/usr/include/gl/" unsafe cross-compilation
cc1plus: warning: include location "/usr/include/c++/4.6/" unsafe cross-compilation
cc1plus: warning: include location "/usr/include/qt4/" unsafe 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


know need cross compile librairies qt4 , opengl arm , not know how.

can please me??

makefile use compilers.

cc = arm-none-linux-gnueabi-gcc
cxx = arm-none-linux-gnueabi-g++
ar = ar

thank in advance.



Forum The Ubuntu Forum Community Ubuntu Specialised Support Development & Programming Packaging and Compiling Programs cross compilation for arm target


Ubuntu

Comments

Popular posts from this blog

Could not place because the source rectangle is empty

Thread: Using smartcard reader with vpnc

Adobe Font Folio 7.0 or just 7?