As far as I can tell, the floor_log2
is declared in integer.hpp
(without inline
keyword), and defined in integer.inl
(included from integer.hpp
).
It is a bug in the glm
source.
You should add inline
to the declaration in integer.hpp
(which will fix your problem) and notify developers of glm
that they have a bug.