Bug#888661: "configure: error: glm/glm.hpp not found. install glm" although libglm-dev is installed
Rene Engelhard
rene at debian.org
Sun Jan 28 18:46:20 UTC 2018
Hi,
On Sun, Jan 28, 2018 at 05:39:03PM +0100, Guus Sliepen wrote:
> On Sun, Jan 28, 2018 at 03:31:08PM +0100, Rene Engelhard wrote:
>
> > > configure: WARNING: glm/glm.hpp: present but cannot be compiled
> [...]
> > /usr/include/glm/detail/setup.hpp:456:100: note: #pragma message: GLM: GCC older than 4.6 has a bug presenting the use of rgba and stpq components
> > # pragma message("GLM: GCC older than 4.6 has a bug presenting the use of rgba and stpq components")
> [...]
> > Guus, any idea?
>
> This seems to be a duplicate of 888550. So it's a bug in GLM.
Ah, thanks. And thanks for the quick upload.
This fixes the configure check, but needs LO adaptions, though it seems:
In file included from /usr/include/glm/gtx/norm.hpp:18:0,
from /data/rene/git/LibreOffice/master/vcl/inc/opengl/VertexUti
ls.hxx:16,
from /data/rene/git/LibreOffice/master/vcl/inc/opengl/LineRende
rUtils.hxx:14,
from /data/rene/git/LibreOffice/master/vcl/opengl/LineRenderUti
ls.cxx:11:
/usr/include/glm/gtx/quaternion.hpp:23:3: error: #error "GLM: GLM_GTX_quaternion
is an experimental extension and may change in the future. Use #define GLM_ENABLE_EXPERIMENTAL before including it, if you really want to use it."
# error "GLM: GLM_GTX_quaternion is an experimental extension and may change in the future. Use #define GLM_ENABLE_EXPERIMENTAL before including it, if you really want to use it."
^~~~~
But no big deal: :)
+ifeq ($(SYSTEM_GLM),TRUE)
+$(eval $(call gb_Library_add_defs,vcl,\
+ -DGLM_ENABLE_EXPERIMENTAL \
+))
+endif
etc.
Regards,
Rene
More information about the debian-science-maintainers
mailing list