| Summary: | [Build Failure] using master + cmake | ||
|---|---|---|---|
| Product: | SDL | Reporter: | stephane |
| Component: | *don't know* | Assignee: | Ryan C. Gordon <icculus> |
| Status: | WAITING --- | QA Contact: | Sam Lantinga <slouken> |
| Severity: | critical | ||
| Priority: | P2 | ||
| Version: | HG 2.1 | ||
| Hardware: | x86_64 | ||
| OS: | Windows 10 | ||
|
Description
stephane
2020-04-10 18:31:24 UTC
It seems odd that sndio would be enabled on Windows builds? What build system are you using? Can you try the latest code and see if the sensor build issue has been fixed? Hi ! Well, the sndio stuff happens only on linux On windows, using w10 MSVC 2017 On linux, using Ubuntu 18.04 + vcpkg Windows build still failing : \SDL-mirror\src\sensor\windows\SDL_windowssensor.c(44): error C2374: 'SENSOR_DATA_TYPE_ANGULAR_VELOCITY_X_DEGREES_PER_SECOND': redefinition; multiple initialization \SDL-mirror\build\SDL2-static.vcxproj] C:\Program Files (x86)\Windows Kits\10\Include\10.0.17763.0\um\Sensors.h(405): note: see declaration of 'SENSOR_DATA_TYPE_ANGULAR_VELOCITY_X_DEGREES_PER_SECOND' SDL-mirror\src\sensor\windows\SDL_windowssensor.c(45): error C2374: 'SENSOR_DATA_TYPE_ANGULAR_VELOCITY_Y_DEGREES_PER_SECOND': redefinition; multiple initialization \SDL-mirror\build\SDL2-static.vcxproj] C:\Program Files (x86)\Windows Kits\10\Include\10.0.17763.0\um\Sensors.h(406): note: see declaration of 'SENSOR_DATA_TYPE_ANGULAR_VELOCITY_Y_DEGREES_PER_SECOND' \SDL-mirror\src\sensor\windows\SDL_windowssensor.c(46): error C2374: 'SENSOR_DATA_TYPE_ANGULAR_VELOCITY_Z_DEGREES_PER_SECOND': redefinition; multiple initialization \SDL-mirror\build\SDL2-static.vcxproj] Seems some symbol are already defined. Sorry, forgot to mention the build is done with latest master |