[annodex-users] Trying to compile a code which plays an .ogg file using liboggplay
Silvia Pfeiffer
silviapfeiffer1 at gmail.com
Sat Jul 26 21:39:19 PDT 2008
It looks like you are missing a config.h file.
If you did that on the cvs checkout, I assume you ran
./autogen.sh
./configure
make; make install
?
Also, I assume you have installed libogg, libspeex, libtheora,
libvorbis, liboggz, libfishsound?
Just make that sure everything that the README file says is being done.
Cheers,
Silvia.
On Sun, Jul 27, 2008 at 5:33 AM, Javier Garcia <tirengarfio at yahoo.es> wrote:
> 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.
>
> _______________________________________________
> annodex-users mailing list
> annodex-users at lists.annodex.net
> http://lists.annodex.net/cgi-bin/mailman/listinfo/annodex-users
>
>
More information about the annodex-users
mailing list