IMG_LoadPNG_RW SEGFAULT with SDL 1.3

Hello there

I?ve got a program running with no problem under SDL 1.2, and now i use SDL 1.3.
Everything seems to work great too with 1.3, except IMG_Load:

Program received signal SIGSEGV, Segmentation fault.
In SDL_image!IMG_LoadPNG_RW () (C:\project\bin\Debug\SDL_image.dll)

Of course, I checked the path sent to IMG_load, and it?s okay (again, same function works perfectly with SDL 1.2).
Is this problem known? I can?t find a solution on google…
Thank you again
-------------- next part --------------
A non-text attachment was scrubbed…
Name: not available
Type: image/png
Size: 1041 bytes
Desc: not available
URL: http://lists.libsdl.org/pipermail/sdl-libsdl.org/attachments/20110320/404d323a/attachment.png

Did you rebuild SDL_image itself with SDL 1.3?

Jonny DOn Sat, Mar 19, 2011 at 8:56 PM, Globoeil wrote:

Hello there

I?ve got a program running with no problem under SDL 1.2, and now i use SDL
1.3.
Everything seems to work great too with 1.3, except IMG_Load:

Program received signal SIGSEGV, Segmentation fault.
In SDL_image!IMG_LoadPNG_RW () (C:\project\bin\Debug\SDL_image.dll)

Of course, I checked the path sent to IMG_load, and it?s okay (again, same
function works perfectly with SDL 1.2).
Is this problem known? I can?t find a solution on google…
Thank you again [image: Sourire]


SDL mailing list
SDL at lists.libsdl.org
http://lists.libsdl.org/listinfo.cgi/sdl-libsdl.org

Sounds like a good idea, I did’n?t did that.
When I try to ./configure the last SDL src,
I have the following errors:
Unable to find JPEG library (http://www.ijg.org)
Unable to find PNG library (http://www.libpng.org/pub/png/libpng.html)
Unable to find TIF library (http://www.remotesensing.org/libtiff)

So I downloaded the libs, but I don?t know (and it?s not explained into the README found in SDL_image)
how to add them to the ./configure.
Can you help me please?
Thank youFrom: Jonathan Dearborn
Sent: Sunday, March 20, 2011 2:29 AM
To: SDL Development List
Subject: Re: [SDL] IMG_LoadPNG_RW SEGFAULT with SDL 1.3

Did you rebuild SDL_image itself with SDL 1.3?

Jonny D

On Sat, Mar 19, 2011 at 8:56 PM, Globoeil <@Globoeil1> wrote:

Hello there

I?ve got a program running with no problem under SDL 1.2, and now i use SDL 1.3.
Everything seems to work great too with 1.3, except IMG_Load:

Program received signal SIGSEGV, Segmentation fault.
In SDL_image!IMG_LoadPNG_RW () (C:\project\bin\Debug\SDL_image.dll)

Of course, I checked the path sent to IMG_load, and it?s okay (again, same function works perfectly with SDL 1.2).
Is this problem known? I can?t find a solution on google…
Thank you again


SDL mailing list
SDL at lists.libsdl.org
http://lists.libsdl.org/listinfo.cgi/sdl-libsdl.org



SDL mailing list
SDL at lists.libsdl.org
http://lists.libsdl.org/listinfo.cgi/sdl-libsdl.org
-------------- next part --------------
A non-text attachment was scrubbed…
Name: not available
Type: image/png
Size: 1041 bytes
Desc: not available
URL: http://lists.libsdl.org/pipermail/sdl-libsdl.org/attachments/20110320/3e11023c/attachment.png