构建错误:Ubuntu上的冰淇淋三明治模拟器

Rke*_*est 12 android build emulation android-4.0-ice-cream-sandwich

我正在尝试在Ubuntu Linux上构建冰淇淋三明治模拟器.

获得以下错误:

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....
Run Code Online (Sandbox Code Playgroud)

有人可以帮我这个吗?

Kur*_*aum 7

看起来你错过了这个glx.h文件.这是由几个软件包提供的,其中一个软件包需要安装.我很确定你想要的是mesa-common-dev.