Can be broken for C Runtime, depending on versions of Windows, see fmod
broken here:
This is complicated as the UCRT is shipped by windows, but the c++ team first has to fix it then convince the windows team to ship a hotfix.
- When using dynamic linking for C runtime libraries (
/MD
build option) - The resulting application needs to access the Visual C++ Runtime files
- If Windows can't find one of the redistributable library DLLs required by your application, it may display a message similar to: "This application has failed to start because library.dll was not found. Reinstalling the application may fix this problem."
- One option is to install these files on the user's system
- The application can be redistributed with such an installer
The following section is the "REDIST list" that is referenced in the "Distributable Code" section of the Microsoft Software License Terms for Visual Studio Enterprise 2019, Visual Studio Professional 2019, Visual Studio Community 2019 ("the software"). If you have a validly licensed copy of such software, you may copy and distribute with your program the unmodified form of the files listed below, subject to the License Terms for the software.
(...)
Subject to the License Terms for the software, you may copy and distribute with your program any of the files within the following folder and its subfolders except as noted below. You may not modify these files.
- [VisualStudioFolder]\VC\redist
- You may not distribute the contents of the following folders:
- [VisualStudioFolder]VC\Redist\MSVC[version]\debug_nonredist
- [VisualStudioFolder]VC\Redist\MSVC[version]\debug_nonredist
- [VisualStudioFolder]\VC\Redist\MSVC[version]\onecore\debug_nonredist
- v1.11, 05/2020, https://github.com/HandmadeMath/Handmade-Math
- I like the C API, and single-file distribution, but had the following problems
- no support for matrix inverse
- troubles building in C++ code, with gcc:
error: ISO C++ prohibits anonymous structs [-Werror=pedantic]