Fails to build without CPLUS_INCLUDE_PATH

Bug #1165075 reported by Darxus on 2013-04-05
This bug affects 1 person
Affects Status Importance Assigned to Milestone

Bug Description

When trying to build against mesa installed in $installdir, building glmark2 fails if CPLUS_INCLUDE_PATH is not set to $installdir/include , with:

[117/124] cxx: src/libmatrix/ -> build/src/libmatrix/
In file included from ../src/libmatrix/gl-if.h:17:0,
                 from ../src/libmatrix/
/home/darxus/source/glmark2/src/gl-headers.h:28:19: fatal error: GL/gl.h: No such file or directory
compilation terminated.
[118/124] cxx: src/libmatrix/ -> build/src/libmatrix/
Waf: Leaving directory `/home/darxus/source/glmark2/build'
Build failed

I believe this is a bug.

I'm building with: ./waf configure --with-flavors=wayland-glesv2,wayland-gl --prefix=$installdir

I have a number of other variables set which are adequate for most things to find what they need in $installdir, as documented in the "Setting up the environment" section of

(Other than that, I verified this works on wayland now, thanks.)

To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers