のねのBlog

パソコンの問題や、ソフトウェアの開発で起きた問題など書いていきます。よろしくお願いします^^。

makeでエラー:ファイルGL/glx.hがない

development/tools/emulator/opengl/host/libs/Translator/GLcommon/GLDispatch.cpp:22:20: 致命的エラー: GL/glx.h: そのようなファイルやディレクトリはありません
コンパイルを停止しました。

debian パッケージ検索だとmesa-common-dev

$ dpkg -l |grep mesa
ii libgl1-mesa-dri 7.11-0ubuntu3 free implementation of the OpenGL API -- DRI modules
ii libgl1-mesa-dri:i386 7.11-0ubuntu3 free implementation of the OpenGL API -- DRI modules
ii libgl1-mesa-glx 7.11-0ubuntu3 free implementation of the OpenGL API -- GLX runtime
ii libgl1-mesa-glx:i386 7.11-0ubuntu3 free implementation of the OpenGL API -- GLX runtime
ii libglapi-mesa 7.11-0ubuntu3 free implementation of the GL API -- shared library
ii libglapi-mesa:i386 7.11-0ubuntu3 free implementation of the GL API -- shared library
ii libglu1-mesa 7.11-0ubuntu3 Mesa OpenGL utility library (GLU)

mesa-common-devは、なんか違うな。

ubuntuのパッケージ検索

libgl1-mesa-devがインストールされてなかった。