3D objects are not showing after update to glm

I’ve never using the 3d classes in my projects before my focus is on 2d thing, when I first try using OF I compiled all examples (with glm and there are a lot of warning, but everything works fine all the examples rendered correctly and exactly the same as the picture included inside examples’ folder.

All the warning gone after updating glm to version, but the 3d objects or functions do not render properly as you see in picture bellow.

i am in the same situation, after updating to glm it started spitting out lots of warning like this:

/home/nicola/openFrameworks/libs/glm/include/glm/./ext/../detail/setup.hpp:312:31: warning: ‘if constexpr’ only available with -std=c++17 or -std=gnu++17
 #  define GLM_IF_CONSTEXPR if constexpr

and after compiling the 3d shapes are not shown anymore.

I was able to avoid the warning by changing config.linux.common.mk to use -std=c++17 and i recompiled, but the result is still the same.

I’m on Debian 10 (Buster)