| Summary: | Change of behaviour: existing apps now want a joystick | ||
|---|---|---|---|
| Product: | SDL | Reporter: | Laurent Blume <laurent> |
| Component: | joystick | Assignee: | Ryan C. Gordon <icculus> |
| Status: | RESOLVED DUPLICATE | QA Contact: | Sam Lantinga <slouken> |
| Severity: | major | ||
| Priority: | P2 | ||
| Version: | 1.2.11 | ||
| Hardware: | Other | ||
| OS: | Solaris | ||
|
Description
Laurent Blume
2006-10-27 07:29:47 UTC
Ooops, sorry, clicked on commit too quickly. It's Solaris 10 x86, SDL built with Sun Studio 11. This suggests that SDL was built without the joystick subsystem at all, and the application is calling SDL_Init(SDL_INIT_JOYSTICK), which will immediately fail (SDL/src/SDL.c, around line 125). You can build SDL with the joystick subsystem, in which case it will pass initialization, even if there are no joysticks found, or not pass SDL_INIT_JOYSTICK to SDL_Init()...this includes avoiding SDL_INIT_EVERYTHING. Leaving this bug open for further comment, in case this was a prebuilt SDL package that we provided, or a breakage in a project file we supplied. --ryan. Does "Sun Studio" use the configure scripts? If so, this is probably the same issue as Bug #356. --ryan. |