Precompiled libraries for windows? Please :)?

Hello there
I encounter a lot of difficulties to build SDL_image, SDL_ttf with SDL 1.3 (for windows, minGW).
So I asked Sam Lantinga if he had precompiled libraries, and he suggested me to ask you,
do you have precompiled version of:

Hi,On 2011-04-08 7:37 PM, Globoeil wrote:

Hello there
I encounter a lot of difficulties to build SDL_image, SDL_ttf with SDL
1.3 (for windows, minGW).
So I asked Sam Lantinga if he had precompiled libraries, and he
suggested me to ask you,
do you have precompiled version of:

  • SDL 1.3, SDL_image, SDL_ttf, SDL_net, and SDL_mixer please? (for use
    all together, with DLL files if possible)
    I use neither. Instead of SDL_image I use stb_image and instead of
    SDL_ttf I have my own one based on freetype. What issues do you
    encounter with building these libraries?

Regards,
Armin

I?ve just build SDL 1.3 using MinGW,
But now I have to recompil SDL_image…
But I can?t found any resource to explain me how to!!
When I try to use ./configure on the SDL_image (source) folder, I have these
3 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)

Okay, so I?m supposed to compil them too…
And, of course, compil zlib (required for libpng).
So I did, but I?m (once again) stopped because of a stupid error compiling
jpeg.

-----Message d’origine-----From: Armin Ronacher
Sent: Friday, April 08, 2011 8:10 PM
To: sdl at lists.libsdl.org
Subject: Re: [SDL] Precompiled libraries for windows? Please :slight_smile: ?

Hi,

On 2011-04-08 7:37 PM, Globoeil wrote:

Hello there
I encounter a lot of difficulties to build SDL_image, SDL_ttf with SDL
1.3 (for windows, minGW).
So I asked Sam Lantinga if he had precompiled libraries, and he
suggested me to ask you,
do you have precompiled version of:

  • SDL 1.3, SDL_image, SDL_ttf, SDL_net, and SDL_mixer please? (for use
    all together, with DLL files if possible)
    I use neither. Instead of SDL_image I use stb_image and instead of
    SDL_ttf I have my own one based on freetype. What issues do you
    encounter with building these libraries?

Regards,
Armin


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

if the problem is with libjpg, you may be able to get a binary version
of that. When I was compiling SDL_Image I ran into similar issues, but
was using Visual C++…

Check out http://en.wikipedia.org/wiki/Libjpeg

bottom of the page has a link to binary versions that you may be able
to just place somewhere that SDL_Image can find (e.g., the appropriate
lib/ directory).

Hope that helps,

JohnOn Fri, Apr 8, 2011 at 1:30 PM, Globoeil wrote:

I?ve just build SDL 1.3 using MinGW,
But now I have to recompil SDL_image…
But I can?t found any resource to explain me how to!!
When I try to use ./configure on the SDL_image (source) folder, I have these
3 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)

Okay, so I?m supposed to compil them too…
And, of course, compil zlib (required for libpng).
So I did, but I?m (once again) stopped because of a stupid error compiling
jpeg.

-----Message d’origine----- From: Armin Ronacher
Sent: Friday, April 08, 2011 8:10 PM
To: sdl at lists.libsdl.org
Subject: Re: [SDL] Precompiled libraries for windows? Please :slight_smile: ?

Hi,

On 2011-04-08 7:37 PM, Globoeil wrote:

Hello there
I encounter a lot of difficulties to build SDL_image, SDL_ttf with SDL
1.3 (for windows, minGW).
So I asked Sam Lantinga if he had precompiled libraries, and he
suggested me to ask you,
do you have precompiled version of:

  • SDL 1.3, SDL_image, SDL_ttf, SDL_net, and SDL_mixer please? (for use
    all together, with DLL files if possible)

I use neither. ?Instead of SDL_image I use stb_image and instead of
SDL_ttf I have my own one based on freetype. ?What issues do you
encounter with building these libraries?

Regards,
Armin


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

Thank you, will try it :wink: !

However, if someone already have the precompiled version, it would be
greatly appreciated :slight_smile:

-----Message d’origine-----From: John Magnotti
Sent: Friday, April 08, 2011 8:43 PM
To: SDL Development List
Subject: Re: [SDL] Precompiled libraries for windows? Please :slight_smile: ?

if the problem is with libjpg, you may be able to get a binary version
of that. When I was compiling SDL_Image I ran into similar issues, but
was using Visual C++…

Check out http://en.wikipedia.org/wiki/Libjpeg

bottom of the page has a link to binary versions that you may be able
to just place somewhere that SDL_Image can find (e.g., the appropriate
lib/ directory).

Hope that helps,

John

On Fri, Apr 8, 2011 at 1:30 PM, Globoeil <@Globoeil1> wrote:

I?ve just build SDL 1.3 using MinGW,
But now I have to recompil SDL_image…
But I can?t found any resource to explain me how to!!
When I try to use ./configure on the SDL_image (source) folder, I have
these
3 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)

Okay, so I?m supposed to compil them too…
And, of course, compil zlib (required for libpng).
So I did, but I?m (once again) stopped because of a stupid error compiling
jpeg.

-----Message d’origine----- From: Armin Ronacher
Sent: Friday, April 08, 2011 8:10 PM
To: sdl at lists.libsdl.org
Subject: Re: [SDL] Precompiled libraries for windows? Please :slight_smile: ?

Hi,

On 2011-04-08 7:37 PM, Globoeil wrote:

Hello there
I encounter a lot of difficulties to build SDL_image, SDL_ttf with SDL
1.3 (for windows, minGW).
So I asked Sam Lantinga if he had precompiled libraries, and he
suggested me to ask you,
do you have precompiled version of:

  • SDL 1.3, SDL_image, SDL_ttf, SDL_net, and SDL_mixer please? (for use
    all together, with DLL files if possible)

I use neither. Instead of SDL_image I use stb_image and instead of
SDL_ttf I have my own one based on freetype. What issues do you
encounter with building these libraries?

Regards,
Armin


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


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

Hi,On 4/8/11 8:30 PM, Globoeil wrote:

I?ve just build SDL 1.3 using MinGW,
But now I have to recompil SDL_image…
But I can?t found any resource to explain me how to!!
When I try to use ./configure on the SDL_image (source) folder, I have these
3 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)
You need to compile those as well. In case you are as lazy as I am, you
might want to consider stb_image instead which might serve your need
just fine. Here is how you can use it with SDL:

http://immersedcode.org/2011/4/7/stb-image/

Just drop stb_image.c next to your file which implements the load_image
function and you’re good to go. load_image then returns an SDL_Surface
for your loaded image.

Regards,
Armin

Hi,On 4/8/11 8:52 PM, Globoeil wrote:

Thank you, will try it :wink: !

However, if someone already have the precompiled version, it would be
greatly appreciated :slight_smile:
I don’t even know if mingw libraries are binary compatible with Visual
Studio ones, so I don’t think precompiled libraries are too useful to be
honest.

Regards,
Armin

DLLs are, but *.a and *.o files versus VC *.obj *.lib are not. With a DLL,
there is a tool to extract all the symbols from it and make a *.a import
library (I think the tool is/was called “reimp”)On Fri, Apr 8, 2011 at 2:51 PM, Armin Ronacher <armin.ronacher at active-4.com>wrote:

Hi,

On 4/8/11 8:52 PM, Globoeil wrote:

Thank you, will try it :wink: !

However, if someone already have the precompiled version, it would be
greatly appreciated :slight_smile:
I don’t even know if mingw libraries are binary compatible with Visual
Studio ones, so I don’t think precompiled libraries are too useful to be
honest.

Regards,
Armin


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