LinuxQuestions.org
Go Job Hunting at the LQ Job Marketplace
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices

Reply
 
Search this Thread
Old 10-17-2012, 09:03 AM   #1
les sciences
LQ Newbie
 
Registered: Oct 2012
Posts: 2

Rep: Reputation: Disabled
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.
 
Old 10-23-2012, 09:47 AM   #2
les sciences
LQ Newbie
 
Registered: Oct 2012
Posts: 2

Original Poster
Rep: Reputation: Disabled
Can any one help me??
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
steps to cross compile opengl libraries for arm divya s Linux - Software 8 10-19-2011 11:37 PM
Arm cross compilation shariefbe Linux - Software 1 12-18-2009 09:45 AM
mDNS-Responder ARM cross compilation kirandurvasula Linux - Embedded & Single-board computer 3 12-15-2009 05:52 AM
ARM-Linux Cross compilation Toolkits 2.95 hazzyb Programming 3 02-06-2009 10:21 AM
Gcc 4.3.0 cross compilation for arm is failing bhagat_singh Linux - Software 2 07-10-2008 02:38 PM


All times are GMT -5. The time now is 07:20 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration