我正在尝试在 Ubuntu Linux 上构建 Ice Cream Sandwich 模拟器。
出现以下错误:
host C++: libGLcommon <= development/tools/emulator/opengl/host/libs/
Translator/GLcommon/GLDispatch.cpp
development/tools/emulator/opengl/host/libs/Translator/GLcommon/
GLDispatch.cpp:22:20: error: GL/glx.h: No such file or directory
development/tools/emulator/opengl/host/libs/Translator/GLcommon/
GLDispatch.cpp: In function ‘void (* getGLFuncAddress(const char*))
()’:
development/tools/emulator/opengl/host/libs/Translator/GLcommon/
GLDispatch.cpp:35: error: ‘glXGetProcAddress’ was not declared in this
scope
make: *** [out/host/linux-x86/obj/STATIC_LIBRARIES/
libGLcommon_intermediates/GLDispatch.o] Error 1
make: *** Waiting for unfinished jobs....
有人可以帮我吗?
最佳答案
您似乎缺少 glx.h
文件。这是由几个软件包提供的,您需要安装其中一个。我很确定您想要的是 mesa-common-dev
。
关于android - 构建错误 : Ice cream sandwich emulator on Ubuntu,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/8138315/