Complete.Org: Mailing Lists: Archives: freeciv-dev: October 2003:
[Freeciv-Dev] (PR#6201) 1.14: SDL mixer compilation problem
Home

[Freeciv-Dev] (PR#6201) 1.14: SDL mixer compilation problem

[Top] [All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
To: undisclosed-recipients: ;
Subject: [Freeciv-Dev] (PR#6201) 1.14: SDL mixer compilation problem
From: "Guest" <rt-guest@xxxxxxxxxxxxxx>
Date: Mon, 20 Oct 2003 07:39:37 -0700
Reply-to: rt@xxxxxxxxxxxxxx

[kauf - Fri Oct 17 21:55:21 2003]:

>> >> No, I hadn't, so I tried it just now. Actually, I changed both
>> >> #include <SDL.h>
>> >> #include <SDL_mixer.h>
>> >> in client/audio_sdl.c to
>> >> #include <SDL/SDL.h>
>> >> #include <SDL/SDL_mixer.h>
>> >> and it worked! So, it may not really be a problem after all, but I
>> >> still find it confusing that ./configure reports everything as OK
>> >> when it isn't.
>> 
>> I tried (still CVS Oct 12) changing to 
>> #include "SDL.h"
>> #include "SDL_mixer.h"
>> and it still didn't work. (make exits with the error:
>> audio_sdl.c:22:23: SDL_mixer.h: No such file or directory)
>
> the brackets <> are important. Try it with those instead of quotes.
> 
> -mike

I tried with the quotes since Bauman suggested it (and also gave a like
to explain it). The brackets are how the CVS comes, and they don't work
unless I change it by adding the SDL subdirectory, see above. In other
words, I know how to "get it to work", but it means something is not
entirely correct somewhere. And if it is not solveable in general, then
maybe there should be a note somewhere to help people that experience
this problem.


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