Indian Smartphones – More towards Android

Just another WordPress.com site

Solution to ‘fatal error: GL/glx.h: No such file or directory’

Are you getting the following error while compiling your Android master branch in your machine?

———————————————————————————————————————-

Created JAR file out/host/common/obj/JAVA_LIBRARIES/temp_layoutlib_intermediates/javalib.jar

-rw-r–r– 1 android android 6867323 2011-05-18 16:16 out/target/common/obj/JAVA_LIBRARIES/framework_intermediates/classes.jar

host Java: layoutlib (out/host/common/obj/JAVA_LIBRARIES/layoutlib_intermediates/classes)

Note: frameworks/base/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/android/BridgeContentResolver.java uses or overrides a deprecated API.

Note: Recompile with -Xlint:deprecation for details.

Install: out/host/linux-x86/framework/layoutlib.jar

Install: out/host/linux-x86/framework/temp_layoutlib.jar

host C++: libEGL_translator <= development/tools/emulator/opengl/host/libs/Translator/EGL/EglX11Api.cpp

In file included from development/tools/emulator/opengl/host/libs/Translator/EGL/../include/EGL/egl.h:36,

from development/tools/emulator/opengl/host/libs/Translator/EGL/EglOsApi.h:19,

from development/tools/emulator/opengl/host/libs/Translator/EGL/EglX11Api.cpp:16:

development/tools/emulator/opengl/host/libs/Translator/EGL/../include/EGL/eglplatform.h:98: fatal error: GL/glx.h: No such file or directory

compilation terminated.

make: *** [out/host/linux-x86/obj/SHARED_LIBRARIES/libEGL_translator_intermediates/EglX11Api.o] Error 1

———————————————————————————————————————-

Here is the solution for your problem.

All you need to do is, just install the following package.

libgl1-mesa-dev

Here is the command to install in Ubuntu.

$ sudo apt-get install libgl1-mesa-dev

Basic Idea about Smartphones

Are you new user or developer to smartphones? Don’t know much about smartphones? Want to know about smartphone OS’s and it’s benefits?

There are plenty of smartphones available in the market, Are you getting to confusion on which one to buy and which one will support for long time?

For all the above questions you can find the answer in the following post. Here am just guiding you to some place where you can get more and more info  🙂

Answer for all of the above questions are here!!!

Thanks a lot to addictivetips.com

Create your own website, free on WordPress.com.Create your own website.
Start free