Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Latest GLM updates will not work on C++11
#1
Ah its sad day, but one that has to come sometimes. There is an issue with the latest updates of the GLM libs which we need to take account of, it may cause some problems on some SBC's depending on the version of GNU Compiler they have access to.
I've tested most though and they are fine so far.

GLM no longer works on C++11 so you need to compile using C++14. None of the code actually changes in any way, its just that the 2 versions of C++ have slightly different understandings of the keyword constexpr const which is used in GLM
The current build of GLM is built to C++14 standard and therefore if you try to build with C++11 you get a whole screen-full of warnings and errors.

The fix is just to ensure you build with C++14

Alas poor C++11, just as I was planning to learn how to use you, you were replaced Wink
Brian Beuken
Lecturer in Game Programming at Breda University of Applied Sciences.
Author of The Fundamentals of C/C++ Game Programming: Using Target-based Development on SBC's 



Reply


Messages In This Thread
Latest GLM updates will not work on C++11 - by Brian Beuken - 12-27-2018, 02:13 PM

Forum Jump:


Users browsing this thread: 1 Guest(s)