Ticket #1362 (closed bug: fixed)
parrot does not build if library glfw is installed
Reported by: | wagnerf | Owned by: | japhb |
---|---|---|---|
Priority: | normal | Milestone: | |
Component: | configure | Version: | trunk |
Severity: | medium | Keywords: | |
Cc: | infinoid, japhb | Language: | |
Patch status: | Platform: |
Description
i'm building parrot (for rakudo) on my machine.
i'm running :
git clone git://github.com/rakudo/rakudo.git
perl Configure.pl --gen-parrot
it then fails with :
gen::opengl - Generating OpenGL bindings... step gen::opengl died during execution: 'GLFW_KEY_LAST' is defined as 'GLFW_KEY_KP_ENTER', but no 'GLFW_KEY_KP_ENTER' has been defined at config/gen/opengl.pm line 596.
at Configure.pl line 75
I grepped in /usr/include for GLFW_KEY_LAST which is defined in /usr/include/GL/glfw.h
removing this library enables me to build everything correctly
so I think there are 2 problems here : a) this header file should not be parsed ? b) this header file is correct but somehow is not parsed correctly