[annodex-users] Trying to compile a code which plays an .ogg file using liboggplay

Javier Garcia tirengarfio at yahoo.es
Sat Jul 26 12:33:31 PDT 2008


Hi,

im trying to compile the file "glut-player.c" from the examples of liboggplay.

If someone have another example code that read and .ogg play with liboogplay could also serve me.

Here is the output:

Can someone help me?

tirengarfio at dellgarpe:/tmp/liboggplay/src/examples$ g++ glut-player.c -o main
glut-player.c:1:20: error: config.h: No such file or directory
glut-player.c: In function 'void handle_video_data(OggPlay*, int, OggPlayVideoData*, int)':
glut-player.c:115: error: invalid conversion from 'void*' to 'unsigned char*'
glut-player.c:123: error: invalid conversion from 'void*' to 'unsigned char*'
glut-player.c: In function 'void handle_audio_data(OggPlay*, int, void**, int)':
glut-player.c:196: error: invalid conversion from 'void*' to 'short int*'
glut-player.c: In function 'void display_frame()':
glut-player.c:303: error: jump to case label
glut-player.c:290: error:   crosses initialization of 'int total_size'
glut-player.c:308: error: jump to case label
glut-player.c:290: error:   crosses initialization of 'int total_size'
glut-player.c:318: error: jump to case label
glut-player.c:290: error:   crosses initialization of 'int total_size'
glut-player.c: In function 'void* drive_decoding(void*)':
glut-player.c:416: error: invalid conversion from 'int' to 'MessageEnum'
tirengarfio at dellgarpe:/tmp/liboggplay/src/examples$ D


Regards

Javi



      ______________________________________________ 
Enviado desde Correo Yahoo! La bandeja de entrada más inteligente.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.annodex.net/pipermail/annodex-users/attachments/20080726/fe930633/attachment.htm 


More information about the annodex-users mailing list