分页: 1 / 1

编译源码报错,怎么看出缺什么包?求指点

发表于 : 2012-03-13 11:01
candyguy242
编译Android源码时,遇到许多错误,网上搜了一下,是因为缺少相应的包,但如何从错误信息中看出缺少什么包呢?求指点 :em01

如:

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

Re: 编译源码报错,怎么看出缺什么包?求指点

发表于 : 2012-03-13 11:03
jtshs256
mesa 相關……

Re: 编译源码报错,怎么看出缺什么包?求指点

发表于 : 2012-03-13 12:40
YeLee

Re: 编译源码报错,怎么看出缺什么包?求指点

发表于 : 2012-03-13 13:10
candyguy242
谢谢各位,我编译的是android源码,网上搜到别人的解决办法,但就是想弄明白怎么从错误信息中看出缺少哪些包。
因为有的文章里说缺编译时缺什么包,就安什么包,但我看不出来

Re: 编译源码报错,怎么看出缺什么包?求指点

发表于 : 2012-03-13 18:32
candyguy242
YeLee 写了:http://packages.ubuntu.com/
没README?
意思是说只能靠经验或者通过这样的方式查找吗?