|
From: | Nikos Chantziaras |
Subject: | Re: [Mingw-cross-env-list] SDL_sound |
Date: | Fri, 01 Oct 2010 15:18:15 +0300 |
User-agent: | Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2.9) Gecko/20100927 Thunderbird/3.1.4 |
On 10/01/2010 03:01 PM, Mark Brand wrote:
On 10/01/2010 01:08 PM, Nikos Chantziaras wrote:On 10/01/2010 01:30 PM, M. Gerhardy wrote:Here it is - though i don't have a program that uses it. a test program is missing, the update macro is missing and your feedback is missing ;)Just wrote a test program; attaching. Build with: gcc sdl_sound_test.c $(pkg-config --cflags sdl) $(pkg-config --libs sdl) -lSDL_sound Hope I'll have feedback too soon :) Need to set up mingw-cross-env again :PHi Nikos, Thanks for that, but it does not link. Can you try to get this working? Does sdl_sound need a .pc file?
I don't know. It does not have one on Linux. I suppose linking fails because the pkg-config for SDL is missing needed libs to link against. This happens all the time when linking statically; I can't remember the last time I didn't need to manually create a link command due to lots of missing "-logg -lvorbis -lvorbisfile -lthis -lthat -laddinfinitum" :-/
[Prev in Thread] | Current Thread | [Next in Thread] |