[gst-devel] libtool, automake and C++ library

Reece Dunn msclrhd at googlemail.com
Sat Sep 12 11:21:58 CEST 2009


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




More information about the gstreamer-devel mailing list