[Gambas-devel] MP3 with SDL
ron
ronstk at ...124...
Thu Sep 2 08:55:29 CEST 2004
On Wednesday 01 September 2004 15:10, Ahmed Kamal wrote:
> Install automake rpm to get aclocal
>
I have the same version as SuSU installed
automake-1.7.2-32
autoconf-2.27-30
files are (not symlink/dir but real files) in /usr/bin
autoconf
aclocal
aclocal-1.7
autoheader
autom4te
automake
automake-1.7
autoreconf
autoscan
autoupdate
For the 2 with version I'm not sure I made them or
the ones without the version append to it.
I had a problem before withe them and it was a solution.
For one of the 2 packages there was or maybe still now a
problem to due the configure ask a higher version to work
to create do his work and that one is higher then I have.
i.e. SuSE 1.7.2, asked for 1.7.5 or higher to make 1.7.9
with the configure.
Same as not being able to install linux without having it already.
I found in the SuSE maillist some more problems about it.
But there was in the source dir of SDL a script 'autogen.sh'
Exactly why I did run it is unknown but after that it compiled
without errors and1 or 2 warnings well known for the suse compiler.
make test and try those programs was working perfect.
For gambas
reconf
configure --disable-curl (sorry daniel)
make
make install
Still no mp3 play-ing
Somewhere the info.music structure in sound.c does not work
for mp3 files.
BEGIN_METHOD(CMUSIC_load, GB_STRING file)
free_music();
/* Note that the music cannot be stored inside the project ! */
info.music = Mix_LoadMUS(GB.FileName(STRING(file), LENGTH(file)));
if (!info.music)
GB.Error(Mix_GetError());
music_ref_pos = 0;
music_ref_time = 0;
END_METHOD
By leak of what is need for it and how it works I'm lost.
Only thing is that it must be a problem with SDL :-( and not gambas :-)
Did try to find a SDL demo for playing mp3 but not found yet.
I start to cry. no curl and SDL partial in gambas.
More information about the Devel
mailing list