An error occurred
glm will report a bug if setting the language as c++11. Fix it by switching to c++14.