New SDL_mixer

Hi,

I just test the new SDL_mixer and new SDL2.
I get some errors at compile for android.

1: (Symbol ‘MIX_INIT_OGG’ could not be resolved)
GLint flags = MIX_INIT_OGG;
GLint initted = Mix_Init(flags);

2:
Multiple markers at this line
A A A - Invalid arguments ’ Candidates are: SDL_RWops *
SDL_RWFromFP(__sFILE , enum {SDL_stdinc.h:
A A A A 3240}) '
A A A - Symbol ‘SDL_TRUE’ could not be resolved
SDL_RWops
sdcard_rw;
FILE* thefile;
sdcard_rw = SDL_RWFromFP(thefile, SDL_TRUE);

3:
Multiple markers at this line
A A A - too few arguments to function 'Mix_Music*
Mix_LoadMUS_RW(SDL_RWops*,
A A A A int)'
A A A - Invalid arguments ’ Candidates are: _Mix_Music *
A A A A Mix_LoadMUS_RW(SDL_RWops *, int) '
Mix_Music music;
SDL_RWops
sdcard_rw;
music = Mix_LoadMUS_RW(sdcard_rw);

Anybody knows how to fix these errors?

Thanks
Giorgos

What files are these errors in?

Thanks!On Wed, Jun 19, 2013 at 10:28 AM, Giorgos Sarris wrote:

Hi,

I just test the new SDL_mixer and new SDL2.
I get some errors at compile for android.

1: (Symbol ‘MIX_INIT_OGG’ could not be resolved)
GLint flags = MIX_INIT_OGG;
GLint initted = Mix_Init(flags);

2:
Multiple markers at this line
- Invalid arguments ’ Candidates are: SDL_RWops * SDL_RWFromFP(__sFILE
, enum {SDL_stdinc.h:
3240}) '
- Symbol ‘SDL_TRUE’ could not be resolved

SDL_RWops
sdcard_rw;
FILE* thefile;
sdcard_rw = SDL_RWFromFP(thefile, SDL_TRUE);

3: **
Multiple markers at this line
** - too few arguments to function 'Mix_Music

Mix_LoadMUS_RW(SDL_RWops*, **
** int)’**
** - Invalid arguments ’ Candidates are: _Mix_Music * **
** Mix_LoadMUS_RW(SDL_RWops , int) '
Mix_Music music;
SDL_RWops
sdcard_rw;
music = Mix_LoadMUS_RW(sdcard_rw);

Anybody knows how to fix these errors?

Thanks
Giorgos


SDL mailing list
SDL at lists.libsdl.org
http://lists.libsdl.org/listinfo.cgi/sdl-libsdl.org