我正在尝试在UbuntuLinux上构建冰淇淋三明治模拟器。
获取以下错误:
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
。