GLEW is the OpenGL Extension Wrangler Library.
Development versions of BLFS may not build or run some packages properly if LFS or dependencies have been updated since the most recent stable versions of the books.
下载地址(HTTP):https://downloads.sourceforge.net/glew/glew-2.3.1.tgz
MD5 校验和:923ac4437518cc7cd323adde8a4091ae
大小:848 KB
预计所需磁盘空间:18 MB
预计构建时间:小于 0.1 SBU
Install GLEW by running the following commands:
sed -i 's%lib64%lib%g' config/Makefile.linux &&
sed -e '/glew.lib.static:/d' \
-e '/0644 .*STATIC/d' \
-e 's/glew.lib.static//' \
-e 's|/local||' \
-i 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.
sed -i -e 's|/local||'
...: This ensures the package is installed in
/usr.
make install.all: This installs the programs as well as the library.