[gst-devel] libtool, automake and C++ library
Miquel Àngel Farré
miquel.farre at gmail.com
Sat Sep 12 11:30:03 CEST 2009
Reece,
Yes I did it, with the same problem, these are my flags:
libgstplugin_la_CFLAGS = $(GST_CXXFLAGS)
libgstplugin_la_LIBADD = $(GST_LIBS) $(GST_BASE_LIBS) $(GSTCTRL_LIBS)
libgstplugin_la_LDFLAGS = $(GST_PLUGIN_LDFLAGS)
libgstplugin_la_LIBTOOLFLAGS = --tag=disable-static
Nevertheless looking at the generated makefile there is nothing for
GST_CXXFLAGS, should I add something to configure.ac?
Thanks
2009/9/12 Reece Dunn <msclrhd at googlemail.com>
> 2009/9/12 Miquel Àngel Farré <miquel.farre at gmail.com>:
> > Good Morning,
> >
> > Just asked on the irc channel and MikeS-tp tried to help (thanks!) ..
> this
> > is the problem:
> >
> > I am trying to build a C++ plugin, flags and libs are given correctly
> > nevertheless It doesen't build because it is C++ code, I have arrived to
> > this conclusion making a little test:
> >
> > - Try to build gst-template/gst-plugin: ./autogen.sh && make : it works
> > - Change gstplugin.c to gstplugin.cpp edit Makefile.am with the new file
> > extension
> > - autogen.sh && make result:
> >
> > gstplugin.cpp:63:21: error: gst/gst.h: No such file or directory
>
> Have you set CXXFLAGS to contain the include path instead of CFLAGS?
>
> - Reece
>
>
> ------------------------------------------------------------------------------
> Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day
> trial. Simplify your report design, integration and deployment - and focus
> on
> what you do best, core application coding. Discover what's new with
> Crystal Reports now. http://p.sf.net/sfu/bobj-july
> _______________________________________________
> gstreamer-devel mailing list
> gstreamer-devel at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/gstreamer-devel
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/gstreamer-devel/attachments/20090912/2531c64e/attachment.htm>
More information about the gstreamer-devel
mailing list