| Summary: | MSVC build is broken in SDL_sensor.c | ||
|---|---|---|---|
| Product: | SDL | Reporter: | Vitaly Novichkov <admin> |
| Component: | build | Assignee: | Sam Lantinga <slouken> |
| Status: | RESOLVED FIXED | QA Contact: | Sam Lantinga <slouken> |
| Severity: | major | ||
| Priority: | P2 | CC: | sezeroz |
| Version: | HG 2.1 | ||
| Hardware: | All | ||
| OS: | Windows (All) | ||
|
Description
Vitaly Novichkov
2018-09-02 14:31:33 UTC
Can build with the included MSVC project file. no errors (VS2017 15.8.2, x86 and x64 release configurations.) Is something wrong with the cmake-generated SDL_config.h? Tried with cmake, and I had in the config: /* #undef SDL_SENSOR_DISABLED */ [...] /* #undef SDL_SENSOR_DUMMY */ As a result, SDL_sensor_drivers[] is zero sized. My stuff is fully built via CMake. I don't use MSVC projects as CMake is able to regenerate them for any config. Should be fixed by http://hg.libsdl.org/SDL/rev/26a817fe1b07 I did not define SDL_SENSOR_DUMMY in there, because: - no other SDL_xxx_DUMMY is defined in that section, and - autofoo (configure.in) doesn't define it, either. Thanks! Now that thing was finally built! https://ci.appveyor.com/project/Wohlstand/audiocodecs/build/1.0.149 |