Fails to build without CPLUS_INCLUDE_PATH

Bug #1165075 reported by Darxus
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
glmark2
New
Undecided
Unassigned

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/program.cc -> build/src/libmatrix/program.cc.3.o
In file included from ../src/libmatrix/gl-if.h:17:0,
                 from ../src/libmatrix/program.cc:17:
/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/shader-source.cc -> build/src/libmatrix/shader-source.cc.3.o
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 http://wayland.freedesktop.org/building.html

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

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

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.