Re: How to add an example to libtheora?

Ralph Giles <[email protected]>
Newsgroups gmane.comp.multimedia.ogg.theora.general
Message-ID <[email protected]>
On 8 December 2010 08:32, Manuel Dahmen <[email protected]> wrote:

> I d like to add an example to libtheora.
>
> I added to following lines to Makefile.am:
>
> EXTRA_PROGRAMS = player_example encoder_example png2theora slideshow

You need to add slideshow to the noinst_PROGRAMS line instead, in
examples/Makefile.am. You may also need to run autoreconf or
./autogen.sh.

> slideshow_SOURCES = slideshow.c
> slideshow_CFLAGS = $(OGG_CFLAGS) $(PNG_CFLAGS)
> slideshow_LDADD = $(GETOPT_OBJS) $(LDADDENC) $(PNG_LIBS) -lm

This part looks fine.

 -r
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.