SDL 1-.2 problems

Hello,

I’m having a bit of a problem with SDL-1.2. The first bit of wierdness
is whenever I hit a joystick button the program exits (even if it is not
looking for a joystick button) There is no segfault though,the program
exits normally.
Secondly when I click on the window managers close button the program no
longers exits. Why is the joystick button behaving like a close button
and the close button not behaving like anything?

Hello,

I’m having a bit of a problem with SDL-1.2. The first bit of wierdness
is whenever I hit a joystick button the program exits (even if it is not
looking for a joystick button) There is no segfault though,the program
exits normally.
Secondly when I click on the window managers close button the program no
longers exits. Why is the joystick button behaving like a close button
and the close button not behaving like anything?

SDL 1.1.2 is not binary compatible with any previous version.
You must recompile your code to work with it.
This is true of all the 1.1 unstable versions, like the Linux kernel.

See ya,
-Sam Lantinga, Lead Programmer, Loki Entertainment Software

Sam Lantinga wrote:

Hello,

I’m having a bit of a problem with SDL-1.2. The first bit of wierdness
is whenever I hit a joystick button the program exits (even if it is not
looking for a joystick button) There is no segfault though,the program
exits normally.
Secondly when I click on the window managers close button the program no
longers exits. Why is the joystick button behaving like a close button
and the close button not behaving like anything?

SDL 1.1.2 is not binary compatible with any previous version.
You must recompile your code to work with it.
This is true of all the 1.1 unstable versions, like the Linux kernel.

Well, I recompiled it and it still seems to be acting a bit flaky, I
guess I’ll take a look and make sure I have everything about the
Joystick setup right, I still don’t know why the WM function quit
working though, did something change?

Well, I recompiled it and it still seems to be acting a bit flaky, I
guess I’ll take a look and make sure I have everything about the
Joystick setup right, I still don’t know why the WM function quit
working though, did something change?

Not that I know of. Check to make sure you don’t have any other versions
of SDL on the system that are getting compiled into your application.

See ya,
-Sam Lantinga, Lead Programmer, Loki Entertainment Software