GLEW is the OpenGL Extension Wrangler Library.
LFS や依存パッケージが本ブックに示す最新安定バージョンでなかった場合には、BLFS 開発版においては、パッケージのビルドや処理実行が適切に行われないことがあります。
Download (HTTP): https://downloads.sourceforge.net/glew/glew-2.2.0.tgz
Download MD5 sum: 3579164bccaef09e36c0af7f4fd5c7c7
Download size: 820 KB
Estimated disk space required: 16 MB
Estimated build time: less than 0.1 SBU
Install GLEW by running the following commands:
sed -i 's%lib64%lib%g' config/Makefile.linux && sed -i -e '/glew.lib.static:/d' \ -e '/0644 .*STATIC/d' \ -e 's/glew.lib.static//' Makefile && make
This package does not come with a test suite.
Now, as the root
user:
make install.all
sed -i 's%lib64%lib%g'
...: This ensures that the library is installed in
/usr/lib
.
sed -i -e '/glew.lib.static:/d' ...: This suppresses the static library.
make install.all: This installs the programs as well as the library.