Closed ilciavo closed 1 year ago
Hi,
Thanks a lot for the report! I'll try and fix this in one of the next versions.
Best wishes, Patrik
I had a feeling that I've seen this before, couldn't find it in any past issue but I am quite sure. For some reason, clang doesn't like glm::precision P = glm::defaultp
. So actually you don't need to comment the whole forward declaration to fix this, you just need to remove the default argument = glm::defaultp
. Does that fix it?
Changing line 56 to template <typename T, glm::precision P>
does the magic I understand that line 400 template <typename T, glm::precision P = glm::defaultp>
passes the default argument, and it should remain unmodified. right?
Cheers
Thank you for checking!
I don't know why line 400 would work - perhaps that template is not instantiated, whereas the other one is?
I'm leaving this issue open, I should update the CI at some point, test on all compilers again and make sure it all compiles. Thank you again for reporting it :-).
Super! I will explore a toy example following this. Thanks for sharing
I've just released eos v1.4.0, which removed all of glm, and now uses Eigen everywhere. So these default template argument errors with glm should be gone now as well. If there are other/new issues with macOS, please let me know via new issues! :-)
First, thanks for sharing this cool project. When I try to build, I get the following error:
The error comes from include/eos/render/SoftwareRenderer.hpp, which I've managed to compile after commenting this section:
I'm using clang 13.1.6 and homebrew versions of the following libraries
cereal
,eigen
,glm
, andtoml11
Cheers