Announcing SDL 1.2.9

Announcing SDL 1.2.9!
You can grab it from: http://www.libsdl.org/download.php

Here are the biggest changes since the last release:

  • 1.2.9: Numerous improvements to the Atari port (thanks Patrice!)
  • 1.2.9: SIGTERM and SIGINT handlers are reset when SDL shuts down
  • 1.2.9: Added support for Visual C++ 2005 (Express Beta 2) to VisualC.zip
  • 1.2.9: Fixed crash trying to allocate hardware surfaces on MacOS X (thanks Ryan!)
  • 1.2.9: SDL.dll works on Windows 95 again
  • 1.2.9: Dropping a document onto an SDL app passes it as a command line parameter in MacOS X (thanks Ryan!)
  • 1.2.9: Fixed short read problem with SDL_RWFromMem() (thanks Antonio!)
  • 1.2.9: Added support for SDL_VIDEO_X11_NODIRECTCOLOR on OpenGL visuals
  • 1.2.9: Altivec optimized blitters (thanks Bob!)
  • 1.2.9: YUV mmx code should compile with gcc 2.x and 3.x (thanks Stephane!)
  • 1.2.9: Fixed hang on shutdown using framebuffer console on ia64 (thanks Jesse!)
  • 1.2.9: Improved RISC OS support (thanks Peter and Alan!)
  • 1.2.9: Added support for direct color 8-bpp surfaces
  • 1.2.9: Fixed gcc parse errors in SDL_audio.h on Windows
  • 1.2.9: Fixed potential crash in multi-threaded timers
  • 1.2.9: Added support for Tru64 UNIX 4.X (thanks Hayashi!)
  • 1.2.9: SDL_OPENGLBLIT has been renamed SDL_OPENGLBLIT_OBSOLETE

Thanks to everyone who helped make this release possible!

Enjoy!
-Sam Lantinga, Software Engineer, Blizzard Entertainment_______________________________________________
SDL-announce mailing list
SDL-announce at libsdl.org
http://www.libsdl.org/mailman/listinfo/sdl-announce

I can’t compile this with MinGW under MSYS with the usual “./configure
&& make”. I get this error:

gcc -DPACKAGE_NAME="" -DPACKAGE_TARNAME="" -DPACKAGE_VERSION=""
-DPACKAGE_STRING="" -DPACKAGE_BUGREPORT="" -DPACKAGE=“SDL”
-DVERSION=“1.2.9” -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1
-DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1
-DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1
-DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_ALLOCA=1 -I. -I. -g -O2 -Wall
-DENABLE_DUMMYVIDEO -DDISKAUD_SUPPORT -I…/…/…/src/video/wincommon
-DENABLE_WINDIB -DENABLE_DIRECTX -I…/…/…/include
-I…/…/…/include/SDL -I…/…/…/src -I…/…/…/src/main/win32
-I…/…/…/src/audio -I…/…/…/src/video
-I…/…/…/src/video/XFree86/extensions -I…/…/…/src/events
-I…/…/…/src/joystick -I…/…/…/src/cdrom -I…/…/…/src/thread
-I…/…/…/src/timer -I…/…/…/src/endian -I…/…/…/src/file
-I…/…/…/src/thread -MT SDL_dx5audio.lo -MD -MP -MF
.deps/SDL_dx5audio.Tpo -c SDL_dx5audio.c -DDLL_EXPORT -DPIC -o
.libs/SDL_dx5audio.o
In file included from SDL_dx5audio.c:37:
SDL_dx5audio.h:31:21: directx.h: No such file or directory

followed by a bunch of other errors.

It worked for SDL 1.2.8. Have I done something stupid?

Thanks,
Graue

Catatonic Porpoise wrote:

I can’t compile this with MinGW under MSYS with the usual “./configure
&& make”. I get this error:

gcc -DPACKAGE_NAME="" -DPACKAGE_TARNAME="" -DPACKAGE_VERSION=""
-DPACKAGE_STRING="" -DPACKAGE_BUGREPORT="" -DPACKAGE=“SDL”
-DVERSION=“1.2.9” -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1
-DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1
-DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1
-DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_ALLOCA=1 -I. -I. -g -O2
-Wall -DENABLE_DUMMYVIDEO -DDISKAUD_SUPPORT
-I…/…/…/src/video/wincommon -DENABLE_WINDIB -DENABLE_DIRECTX
-I…/…/…/include -I…/…/…/include/SDL -I…/…/…/src
-I…/…/…/src/main/win32 -I…/…/…/src/audio -I…/…/…/src/video
-I…/…/…/src/video/XFree86/extensions -I…/…/…/src/events
-I…/…/…/src/joystick -I…/…/…/src/cdrom -I…/…/…/src/thread
-I…/…/…/src/timer -I…/…/…/src/endian -I…/…/…/src/file
-I…/…/…/src/thread -MT SDL_dx5audio.lo -MD -MP -MF
.deps/SDL_dx5audio.Tpo -c SDL_dx5audio.c -DDLL_EXPORT -DPIC -o
.libs/SDL_dx5audio.o
In file included from SDL_dx5audio.c:37:
SDL_dx5audio.h:31:21: directx.h: No such file or directory

This may sound stupid, but do you have the DirectX SDK installed and the
path’s setup correctly?

Richard

Also check the DirectX section of the README referenced in the FAQ:
http://www.libsdl.org/extras/win32/mingw32/README.txt

-Sam Lantinga, Software Engineer, Blizzard Entertainment

Richard “The PC Doc” Hancock wrote:

This may sound stupid, but do you have the DirectX SDK installed and
the path’s setup correctly?

No, I’ve never had the DirectX SDK installed. The thing is, SDL 1.2.8
compiled fine anyway under the same versions of MinGW and MSYS and has
been working for me.

Sam Lantinga wrote:

Also check the DirectX section of the README referenced in the FAQ:
http://www.libsdl.org/extras/win32/mingw32/README.txt

Thanks, getting the DirectX development stuff seems to have made it
happy. But why did it compile without DirectX before when it doesn’t now?

Graue

I get this error all the time when I download a fresh cvs install. You
can copy the directx.h from the video/windx5/ folder and put it into the
audio/windx5/ folder. It should compile then.

  • brian

Catatonic Porpoise wrote:> I can’t compile this with MinGW under MSYS with the usual "./configure

&& make". I get this error:

gcc -DPACKAGE_NAME="" -DPACKAGE_TARNAME="" -DPACKAGE_VERSION=""
-DPACKAGE_STRING="" -DPACKAGE_BUGREPORT="" -DPACKAGE=“SDL”
-DVERSION=“1.2.9” -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1
-DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1
-DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1
-DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_ALLOCA=1 -I. -I. -g -O2
-Wall -DENABLE_DUMMYVIDEO -DDISKAUD_SUPPORT
-I…/…/…/src/video/wincommon -DENABLE_WINDIB -DENABLE_DIRECTX
-I…/…/…/include -I…/…/…/include/SDL -I…/…/…/src
-I…/…/…/src/main/win32 -I…/…/…/src/audio -I…/…/…/src/video
-I…/…/…/src/video/XFree86/extensions -I…/…/…/src/events
-I…/…/…/src/joystick -I…/…/…/src/cdrom -I…/…/…/src/thread
-I…/…/…/src/timer -I…/…/…/src/endian -I…/…/…/src/file
-I…/…/…/src/thread -MT SDL_dx5audio.lo -MD -MP -MF
.deps/SDL_dx5audio.Tpo -c SDL_dx5audio.c -DDLL_EXPORT -DPIC -o
.libs/SDL_dx5audio.o
In file included from SDL_dx5audio.c:37:
SDL_dx5audio.h:31:21: directx.h: No such file or directory

followed by a bunch of other errors.

It worked for SDL 1.2.8. Have I done something stupid?

Thanks,
Graue


SDL mailing list
SDL at libsdl.org
http://www.libsdl.org/mailman/listinfo/sdl

Also check the DirectX section of the README referenced in the FAQ:
http://www.libsdl.org/extras/win32/mingw32/README.txt

Thanks, getting the DirectX development stuff seems to have made it
happy. But why did it compile without DirectX before when it doesn’t now?

Best guess? You may not have been trying to compile the DX stuff
before. The only time it looks for it is if you define the DX stuff
enabled. That is just a theory though.

Richard