SDL_mixer, SDL_net, SDL_image, DDraw

Hello sdl,

I have compiled SDL and some SDL libraries using cross-compilation
procedure: host platform was FreeBSD 4.9-RELEASE, target – mingw32.
Compiler suite was gcc.

When all of the libraries (SDL itself and SDL libraries – mixer, net,
image) had been compiled as shared objects, some tests have failed
with the following diagnosis:

  "Could't initialize application (0xc0000005)"

After compiling SDL libraries as non-shared leaving SDL itself as a
shared library, all tests have completed successfully.

Using this configuration I have compiled NetPanzer and encounter the
following problem: NetPanzer couldn’t start with DirectDraw
acceleration enabled.

The error was:

  Initializing video mode
  Initialisation failed:
  Couldn't lock display buffer
  Couldn't initialize the game: bootstrap failed.-- 

Best regards,
Alex mailto:@Aeaenae_Neieoui

??? ??? wrote:

Hello sdl,

I have compiled SDL and some SDL libraries using cross-compilation
procedure: host platform was FreeBSD 4.9-RELEASE, target – mingw32.
Compiler suite was gcc.

Did you try the cross compiling instructions available there :
http://www.libsdl.org/extras/win32/cross/README.txt
I can get most programs to cross compile that way.

Stephane

Hello Stephane,

SM> Did you try the cross compiling instructions available there :
SM> http://www.libsdl.org/extras/win32/cross/README.txt
SM> I can get most programs to cross compile that way.

I install cross-tools with this instruction, but situation has not
changed.

When the libraries (mixer, net, image) had been compiled as shared
objects, tests have failed with the following diagnosis:
“Could’t initialize application (0xc0000005)”–
Best regards,
??? mailto:@Aeaenae_Neieoui

When the libraries (mixer, net, image) had been compiled as shared
objects, tests have failed with the following diagnosis:
“Could’t initialize application (0xc0000005)”

I got this error while trying to install SDL_image from source on
cgywin. I can’t help you, I’m afraid, I just gave up and installed
binaries instead after several days. The error message is just a cryptic
seg fault - that’s all I ever found out.

Chris Seaton

I believe there is some older correspondence about this. IIRC it is because
of the way that ?libtool? attempts to make the dll. Compiling and using
static libraries work, otherwise you’ll have to manually tweak the makefile
to compile the dll.> ----- Original Message -----

From: sdl-admin@libsdl.org [mailto:sdl-admin at libsdl.org] On Behalf Of Chris
Seaton
Sent: Wednesday, January 21, 2004 4:42 AM
To: sdl at libsdl.org
Subject: Re: [SDL] SDL_mixer, SDL_net, SDL_image, DDraw

When the libraries (mixer, net, image) had been compiled as shared
objects, tests have failed with the following diagnosis:
“Could’t initialize application (0xc0000005)”

I got this error while trying to install SDL_image from source on
cgywin. I can’t help you, I’m afraid, I just gave up and installed
binaries instead after several days. The error message is just a cryptic
seg fault - that’s all I ever found out.

Chris Seaton


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