You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
So I have tried compiling Glmark2 for the first time on Debian Jessie which was freshly installed a week ago. All the libraries required by ./configure are installed and can be found by ./configure. However when waf performs the linking step after compilation it cannot find libGL ("cannot find -lGL). I can't work out from waf's help how to tell waf where to look for libraries during linking, and the only place I can think to ask for help is here.
The configure step completes fine:
user@host:/Code/glmark2$ ./waf configure --prefix=/local --with-flavors=x11-gl
Setting top to : /rr-home/ambo/Code/glmark2
Setting out to : /rr-home/ambo/Code/glmark2/build
Checking for 'gcc' (c compiler) : /usr/bin/gcc
Checking for 'g++' (c++ compiler) : /usr/bin/g++
Checking for header stdlib.h : yes
Checking for header string.h : yes
Checking for header unistd.h : yes
Checking for header stdint.h : yes
Checking for header stdio.h : yes
Checking for header jpeglib.h : yes
Checking for library m : yes
Checking for library jpeg : yes
Checking for function memset : yes
Checking for function sqrt : yes
Checking for program pkg-config : /usr/bin/pkg-config
Checking for 'libpng12' >= 1.2 : yes
Checking for 'x11' : yes
Checking for 'gl' : yes
Checking for 'egl' : yes
Checking for 'glesv2' : yes
Checking for 'libdrm' : yes
Checking for 'gbm' : yes
Checking for 'mirclient' >= 0.13 : not found
Checking for 'wayland-client' : yes
Checking for 'wayland-egl' : yes
Prefix : /rr-home/ambo/local
Data path : /rr-home/ambo/local/share/glmark2
Including extras : No
Building flavors : ['x11-gl']
'configure' finished successfully (2.035s)
When I build, tasks 1 to 65 complete successfully (although the font colour for 65 is orange/brown not green if that signifies anything). Task 66 fails:
This was not an issue with how waf was setup for Glmark2. Instead it was an issue with how Debian installed libGL. For future visitors, the fix is to carefully check that the targets of symlinks for libGL actually exist. My issue was that a symlink pointed to libGL.so.1.2.0 which did not exist; the fix is to create a symlink from libGL.so.1.2.0 to a libGL.so* that does exist.
So I have tried compiling Glmark2 for the first time on Debian Jessie which was freshly installed a week ago. All the libraries required by ./configure are installed and can be found by ./configure. However when waf performs the linking step after compilation it cannot find libGL ("cannot find -lGL). I can't work out from waf's help how to tell waf where to look for libraries during linking, and the only place I can think to ask for help is here.
The configure step completes fine:
When I build, tasks 1 to 65 complete successfully (although the font colour for 65 is orange/brown not green if that signifies anything). Task 66 fails:
Further proof that libGL is installed:
The text was updated successfully, but these errors were encountered: