microsoft / DirectXMath

DirectXMath is an all inline SIMD C++ linear algebra library for use in games and graphics apps
https://walbourn.github.io/introducing-directxmath/
MIT License
1.51k stars 231 forks source link

Attempt to fix MINGW issue mentioned in https://github.com/microsoft/… #173

Closed JPeterMugaas closed 6 months ago

JPeterMugaas commented 6 months ago

Related to PR #172

walbourn commented 6 months ago

I don't really understand how this and the other PR relate. Are you building for Linux or are you building MinGW using CygWin or what?

JPeterMugaas commented 6 months ago

I am building for mingw-w64 in MSYS2 environment. I was trying to build OpenEXR support in DirectXTex using the ENABLE_OPENEXR_SUPPORT=ON option. I had gotten compile errors that are from DirectXMath which is used by DirectXTex.

CMake does not seem to compile header-only libraries before installing them so you cannot know what could appear when you try to compile something that uses DirectXMath.