0
팔 대상에서 실행되도록 응용 프로그램을 컴파일하려고합니다 (내 호스트는 x86 우분투 11.10 임). 크로스 컴파일 오류
내가 "make"를 실행
, 난이 오류를 얻을 : 나는 팔을 내 librairies의 QT4 및 OpenGL을 크로스 컴파일 할 필요가 있음을 알고[email protected]:~/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
을,하지만 난 방법을 모르겠어요.
(makefile) 나는이 컴파일러를 사용합니다.
CC = arm-none-linux-gnueabi-gcc
CXX = arm-none-linux-gnueabi-g++
AR = ar
그것은 나를 수 있습니다 ..하지만 외부가 포함 제공하지 않고'PKG-config'를 사용하려는 경우 라이브러리. 어떻게해야합니까? –