[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Mingw-cross-env-list] SDL_mixer in mingw-cross-env crashing
From: |
Volker Grabsch |
Subject: |
Re: [Mingw-cross-env-list] SDL_mixer in mingw-cross-env crashing |
Date: |
Sun, 21 Mar 2010 00:17:12 +0100 |
User-agent: |
Mutt/1.5.13 (2006-08-11) |
David Bruce <address@hidden> schrieb:
> Still having trouble getting SDL_net detected by my configure.ac
>
> > SDL_net doesn't provide a *.pc script, so you'll have to check for
> > it via AC_CHECK_LIB. Then, you'll only have to add "-lws2_32", for
> > which you could check via AC_CHECK_LIB(ws2_32) before SDL_net.
> >
> > Alternatively, you could add "-lws2_32" unconditionally to LIBS
> > since it should exist on any MinGW system as part of the w32api.
> > But AC_CHECK_LIB(ws2_32) is more clean, I think.
>
> So here's what I did. Note that I've also tried to follow your advice
> on using PKG_CHECK_MODULES whenever possible, by first calling
> PKG_CHECK_EXISTS followed by either PKG_CHECK_MODULES or AC_CHECK_LIB:
...
> checking for WSAStartup in -lws2_32... no
> configure: Windows socket library ws2_32 not found - (only needed on win32)
That's an interesting problem. Did you check your config.log file?
What does it say?
Greets,
Volker
--
Volker Grabsch
---<<(())>>---
Administrator
NotJustHosting GbR