mingw-cross-env-list
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Mingw-cross-env-list] SDL_sound


From: Mark Brand
Subject: Re: [Mingw-cross-env-list] SDL_sound
Date: Fri, 01 Oct 2010 15:24:50 +0200
User-agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2.9) Gecko/20100914 SUSE/3.1.4 Thunderbird/3.1.4


Hi 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" :-/


Well, if you can just add the list of libraries to link to the "gcc" line, that will be fine. At least it will provide a useful example.

Mark



reply via email to

[Prev in Thread] Current Thread [Next in Thread]