编译源码报错,怎么看出缺什么包?求指点
发表于 : 2012-03-13 11:01
编译Android源码时,遇到许多错误,网上搜了一下,是因为缺少相应的包,但如何从错误信息中看出缺少什么包呢?求指点
如:
ranslator/GLES_CM/GLEScmValidate.cpp
host C++: libGLcommon <= development/tools/emulator/opengl/host/libs/Translator/GLcommon/GLDispatch.cpp
development/tools/emulator/opengl/host/libs/Translator/GLcommon/GLDispatch.cpp:22: fatal error: GL/glx.h: 没有那个文件或目录
compilation terminated.
make: *** [out/host/linux-x86/obj/STATIC_LIBRARIES/libGLcommon_intermediates/GLDispatch.o] 错误 1

如:
ranslator/GLES_CM/GLEScmValidate.cpp
host C++: libGLcommon <= development/tools/emulator/opengl/host/libs/Translator/GLcommon/GLDispatch.cpp
development/tools/emulator/opengl/host/libs/Translator/GLcommon/GLDispatch.cpp:22: fatal error: GL/glx.h: 没有那个文件或目录
compilation terminated.
make: *** [out/host/linux-x86/obj/STATIC_LIBRARIES/libGLcommon_intermediates/GLDispatch.o] 错误 1