android - 构建错误 : Ice cream sandwich emulator on Ub

我正在尝试在 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/

相关文章:

build - 为什么 Gradle 不在编译/运行时类路径中包含传递依赖项?

iphone - 什么是 "Couldn' t 打开共享功能内存 GSCapabilities (没

javascript - 如何使用 npm 脚本将 typescript 编译成 javascrip

build - 在下游项目之前触发上游项目构建

xcode - 如何在 xcode 持续集成中自动删除旧构建的文件?

java - 在 Play 上使用 Clover 执行代码覆盖!使用 Ant 的框架应用程序

list - 如何以编程方式列出执行 MSBuild 时定义的所有属性?

java - 切换到 Java 7 时构建时间显着增加

ios - 通过脚本在 Xcode 项目上启用 iCloud

visual-studio - 为什么用 Visual Studio 构建驱动程序是 "Bad"?