| Summary: | Linker errors on Windows when building with cmake and LIBC=ON | ||
|---|---|---|---|
| Product: | SDL | Reporter: | Aaron Barany <akb825> |
| Component: | *don't know* | Assignee: | Ryan C. Gordon <icculus> |
| Status: | RESOLVED FIXED | QA Contact: | Sam Lantinga <slouken> |
| Severity: | normal | ||
| Priority: | P2 | CC: | sezeroz |
| Version: | 2.0.12 | ||
| Hardware: | x86_64 | ||
| OS: | Windows 10 | ||
| Attachments: | sdl-win-fix.patch | ||
This is fixed in SDL2-2.0.14 |
Created attachment 4345 [details] sdl-win-fix.patch When building for Windows with CMake, and setting the option LIBC=ON, there are linker errors for the functions wcslcpy and wcslcat, since Windows doesn't have them. I have attached a patch to avoid setting the #defines in the config to state that they exist.