SDL_image & cygwin

Has anyone had even mild success with this combination?

I can’t seem to get SDL_image to compile on cygwin, and I can’t find
much information on the subject, aside from how difficult it is.

I know all the right libs are available on cygwin, but I’m still having
trouble getting SDL to compile. Once I do that, then I’d be very
interested in any success you have getting SDL_image to compile.On Wed, 2003-02-05 at 07:00, Calvin Spealman wrote:

Has anyone had even mild success with this combination?

I can’t seem to get SDL_image to compile on cygwin, and I can’t find
much information on the subject, aside from how difficult it is.


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

Chris Thielen <@Christopher_Thielen>

Chris Thielen wrote:

I know all the right libs are available on cygwin, but I’m still having
trouble getting SDL to compile. Once I do that, then I’d be very
interested in any success you have getting SDL_image to compile.

Has anyone had even mild success with this combination?

I can’t seem to get SDL_image to compile on cygwin, and I can’t find
much information on the subject, aside from how difficult it is.

I’ve done some research into the subject and the best information I
could find so far is that is is problems with combinations of cygwin
installed libraries (libjpeg, libpng, etc) and the SDL_image library
having trouble with expecting or not expecting -mno-cygwin being used.
Apparently, it takes a bit of hacking to get it working. I’d like to see
some simple scripts that will isntall both SDL and SDL_image for use
with cygwin. Or, I could just use mingw and msys.> On Wed, 2003-02-05 at 07:00, Calvin Spealman wrote:

The solution I find for using SDL libraries on
Cygwin/MinGW is to buid a .lib from the .dll.
For example building libSDL_image.a from SDL_image.dll:

impdef SDL_image.dll > SDL_image.def
dlltool --dllname SDL_image.dll --def SDL_image.def –
output-lib libSDL_image.a

I find this method on this site:
http://webclub.kcom.ne.jp/ma/colinp/win32/tools/dlltool.ht
ml

I hope it would help you ;-)–
Matthieu DUFOURNEAUD
16, avenue du G?n?ral de Gaulle
94300 Vincennes
T?l. (domicile): 01 43 74 21 61
T?l. (portable): 06 80 63 81 95
Email: @Matthieu_DUFOURNEAUD

L’e-mail gratuit pas comme les autres.
NOMADE.FR, pourquoi chercher ailleurs ?