Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Build Error : Ice cream sandwich emulator on Ubuntu

I am trying to build ice cream sandwich emulator on Ubuntu Linux.

Getting following error :

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....

Can somebody help me with this?

like image 301
RkeTest Avatar asked Nov 15 '11 14:11

RkeTest


1 Answers

Looks like you're missing the glx.h file. This is provided by several packages, one of which you'll need to install. I'm pretty sure the one you want is mesa-common-dev.

like image 119
Kurtis Nusbaum Avatar answered Oct 24 '22 06:10

Kurtis Nusbaum