Search Criteria
Package Details: mingw-w64-glm 0.9.x-4
Package Actions
Git Clone URL: | https://aur.archlinux.org/mingw-w64-glm.git (read-only, click to copy) |
---|---|
Package Base: | mingw-w64-glm |
Description: | C++ mathematics library for 3D software based on the OpenGL Shading Language (GLSL) specification. (mingw-w64 symlinks) |
Upstream URL: | http://glm.g-truc.net |
Licenses: | GPL |
Submitter: | bwrsandman |
Maintainer: | bwrsandman |
Last Packager: | bwrsandman |
Votes: | 1 |
Popularity: | 0.000000 |
First Submitted: | 2017-03-08 14:40 (UTC) |
Last Updated: | 2021-03-01 15:12 (UTC) |
Latest Comments
bwrsandman commented on 2021-03-01 15:13 (UTC) (edited on 2021-03-01 15:20 (UTC) by bwrsandman)
Thanks for bringing this to my attention.
If you look at the source of glm, it's a header only library and is not different for mingw.
Installing the sources from archive instead of linking them would result in the same sources being compiled. The nice thing about this package is that it doesn't need to be constantly maintained and updated. It just depends on community/glm.
The issue was with the cmake files being aware of their directory. This has been fixed.
xantares commented on 2021-03-01 13:16 (UTC) (edited on 2021-03-01 14:58 (UTC) by xantares)
hello,
unfortunately we cannot just symlink the includes to the native version
else some build systems like cmake may add the final path /usr/include in the compiler path (or maybe its because of the glmConfig.cmake ?)
mixing native and mingw headers ends quickly and badly:
/usr/include/stdlib.h:62:5: error: conflicting declaration ‘typedef struct div_t div_t’
I'm afraid we'll have to get rid of the glm dependency and build the package from the source archive