wget https://github.com/kdlucas/byte-unixbench/archive/v5.1.3.tar.gz
tar xvf v5.1.3.tar.gz
cd byte-unixbench-5.1.3/UnixBench
sudo apt-get install libx11-dev libgl1-mesa-dev libxext-dev perl perl-modules
# ※1
perl -pi -e "s/# GRAPHIC_TESTS = defined/GRAPHIC_TESTS = defined/g" Makefile
perl -pi -e "s/GL_LIBS = -lGL -lXext -lX11/GL_LIBS = -lGL -lXext -lX11 -lm/g" Makefile
make
./Run
# ※1
un comment "# GRAPHIC_TESTS = defined"
# Set "GL_LIBS" to the libraries needed to link a GL program.
GL_LIBS = -lGL -lXext -lX11 -lm
Last active
July 16, 2017 08:25
-
-
Save daijinload/9db2d9a53d538cdc77d5ae9deabd52fa to your computer and use it in GitHub Desktop.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment