[theora] How to add an example to libtheora?
giles at thaumas.net
Wed Dec 8 10:44:32 PST 2010
On 8 December 2010 08:32, Manuel Dahmen <manueldahmen at live.be> 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
> slideshow_SOURCES = slideshow.c
> slideshow_CFLAGS = $(OGG_CFLAGS) $(PNG_CFLAGS)
> slideshow_LDADD = $(GETOPT_OBJS) $(LDADDENC) $(PNG_LIBS) -lm
This part looks fine.
More information about the theora