|
| 1 | +# GLFW binaries for 64-bit Windows |
| 2 | + |
| 3 | +This archive contains documentation, headers, pre-compiled static libraries, |
| 4 | +import libraries and DLLs for GLFW 3.4. |
| 5 | + |
| 6 | +Binaries for the following compilers are included |
| 7 | + |
| 8 | + - Visual C++ 2022 (built with 17.9.0) |
| 9 | + - Visual C++ 2019 (built with 16.11.34) |
| 10 | + - Visual C++ 2017 (built with 15.9.60) |
| 11 | + - Visual C++ 2015 (built with 14.0.25431.01) |
| 12 | + - Visual C++ 2013 (built with 12.0.40629.00) |
| 13 | + - MinGW-w64 (built with 13.2.0-win32-dwarf-msvcrt) |
| 14 | + |
| 15 | + |
| 16 | +## Binaries for Visual C++ |
| 17 | + |
| 18 | +All binaries for Visual C++ 2017 and earlier are compatible with Windows XP, but |
| 19 | +this is not supported by Visual C++ 2019. This support has been deprecated by |
| 20 | +Microsoft and GLFW will also drop support for Windows XP in a future release. |
| 21 | + |
| 22 | +### GLFW as a DLL |
| 23 | + |
| 24 | +To use GLFW as a DLL, link against the `glfw3dll.lib` file for your |
| 25 | +environment. This will add a load time dependency on `glfw3.dll`. The |
| 26 | +remaining files in the same directory are not needed. |
| 27 | + |
| 28 | +This DLL is built in release mode for the Multithreaded DLL runtime library. |
| 29 | + |
| 30 | +There is also a GLFW DLL and import library pair in the `lib-static-ucrt` |
| 31 | +directory. These are built with Visual C++ 2019 and the static Multithreaded |
| 32 | +runtime library. |
| 33 | + |
| 34 | +### GLFW as a static library |
| 35 | + |
| 36 | +To use GLFW as a static library, link against `glfw3.lib` if your application |
| 37 | +is using the Multithreaded DLL runtime library, or `glfw3_mt.lib` if it is |
| 38 | +using the static Multithreaded runtime library. The remaining files in the same |
| 39 | +directory are not needed. |
| 40 | + |
| 41 | +The static libraries are built in release mode and do not contain debug |
| 42 | +information but can still be linked with the debug versions of the runtime |
| 43 | +library. |
| 44 | + |
| 45 | + |
| 46 | +## Binaries for MinGW-w64 |
| 47 | + |
| 48 | +### GLFW as a DLL |
| 49 | + |
| 50 | +To use GLFW as a DLL, link against the `libglfw3dll.a` file for your |
| 51 | +environment. This will add a load time dependency on `glfw3.dll`. The |
| 52 | +remaining files in the same directory are not needed. |
| 53 | + |
| 54 | +The DLLs are built in release mode. |
| 55 | + |
| 56 | +The DLLs depend on the `msvcrt.dll` C runtime library. There is also a GLFW |
| 57 | +DLL and import library in the `lib-static-ucrt` directory that is built with |
| 58 | +Visual C++ 2019 and statically linked against the UCRT. |
| 59 | + |
| 60 | +All DLLs in this archive provide the same ABI and can be used as drop-in |
| 61 | +replacements for one another, as long as the C runtime library they depend on is |
| 62 | +available. |
| 63 | + |
| 64 | +### GLFW as a static library |
| 65 | + |
| 66 | +To use GLFW as a static library, link against the `libglfw3.a` file for your |
| 67 | +environment. The other files in the same directory are not needed. |
| 68 | + |
| 69 | +The library is built in release mode and do not contain debug information. |
| 70 | + |
0 commit comments