Hi guys,
just today at the office, I did make a demo with the SDL throught
Dev-C++ 4.9.9.2.
When I was back at home, I retried to build the project but the project
crashes at the following line:
tmp = IMG_Load(line);
Where tmp is a SDL_Surface* logically…
anyidea?
Anyway by visual studio 2005 the app works fine.
Hello !
just today at the office, I did make a demo with the SDL throught Dev-C++
4.9.9.2.
When I was back at home, I retried to build the project but the project
crashes at the following line:
tmp = IMG_Load(line);
Where tmp is a SDL_Surface* logically…
anyidea?
Anyway by visual studio 2005 the app works fine.
Really strange. But you may hit a bug in SDL or
a bug in your programm that shows only on the MinGW Compiler
with Dev CPP uses.
CU
That’s an SDL_image command. Are you linking with SDL_image?
Salvatore Di Fazio wrote:> Hi guys,
just today at the office, I did make a demo with the SDL throught
Dev-C++ 4.9.9.2.
When I was back at home, I retried to build the project but the project
crashes at the following line:
tmp = IMG_Load(line);
Where tmp is a SDL_Surface* logically…
anyidea?
Anyway by visual studio 2005 the app works fine.
SDL mailing list
SDL at libsdl.org
http://www.libsdl.org/mailman/listinfo/sdl
I realize this was stupid to say :)… of course you are if it
crashes… perhaps the SDL_image package isn’t quite right with Dev-Cpp
TomT64 wrote:> That’s an SDL_image command. Are you linking with SDL_image?
Salvatore Di Fazio wrote:
Hi guys,
just today at the office, I did make a demo with the SDL throught
Dev-C++ 4.9.9.2.
When I was back at home, I retried to build the project but the project
crashes at the following line:
tmp = IMG_Load(line);
Where tmp is a SDL_Surface* logically…
anyidea?
Anyway by visual studio 2005 the app works fine.
SDL mailing list
SDL at libsdl.org
http://www.libsdl.org/mailman/listinfo/sdl
SDL mailing list
SDL at libsdl.org
http://www.libsdl.org/mailman/listinfo/sdl
Do you have the SDL_image.dll with your program when you run it? Hope that
helps!
Mike>From: Salvatore Di Fazio <salvatore.difazio at gmail.com>
Reply-To: “A list for developers using the SDL library.
(includesSDL-announce)”
To: sdl at libsdl.org
Subject: [SDL] Dev-Cpp
Date: Thu, 04 May 2006 21:18:22 +0200
Hi guys,
just today at the office, I did make a demo with the SDL throught
Dev-C++ 4.9.9.2.
When I was back at home, I retried to build the project but the project
crashes at the following line:
tmp = IMG_Load(line);
Where tmp is a SDL_Surface* logically…
anyidea?
Anyway by visual studio 2005 the app works fine.
SDL mailing list
SDL at libsdl.org
http://www.libsdl.org/mailman/listinfo/sdl
2006/5/4, Salvatore Di Fazio <salvatore.difazio at gmail.com>:
When I was back at home, I retried to build the project but the project
crashes at the following line:
tmp = IMG_Load(line);
Make sure you are using the correct import libraries and DLLs. Pay
special attention to your zlib DLL (used by libpng, that is used by
SDL_image); there are a bunch of binary-incompatible zlib DLLs around,
and many stupid installers put their own zlib DLL on your system
folder, that may break other programs.
Try change the image type (jpg, or even bmp) and see if the crash persists.
And installing Dr MinGW (from the mingw-utils tarball, on MinGW’s
site) may help a lot, if you don’t already have a JIT debugger.—
Daniel K. O.