Good Morning,<br><br>Just asked on the irc channel and MikeS-tp tried to help (thanks!) .. this is the problem:<br><br>I am trying to build a C++ plugin, flags and libs are given correctly nevertheless It doesen&#39;t build because it is C++ code, I have arrived to this conclusion making a little test:<br>
<br>- Try to build gst-template/gst-plugin: ./autogen.sh &amp;&amp; make : it works<br>
- Change gstplugin.c to gstplugin.cpp edit Makefile.am with the new file extension<br>- autogen.sh &amp;&amp; make result:<br><br>/bin/bash ../libtool --tag=CXX --tag=disable-static  --mode=compile g++ -DHAVE_CONFIG_H -I. -I..     -g -O2 -MT libgstplugin_la-gstplugin.lo -MD -MP -MF .deps/libgstplugin_la-gstplugin.Tpo -c -o libgstplugin_la-gstplugin.lo `test -f &#39;gstplugin.cpp&#39; || echo &#39;./&#39;`gstplugin.cpp<br>

libtool: compile:  g++ -DHAVE_CONFIG_H -I. -I.. -g -O2 -MT libgstplugin_la-gstplugin.lo -MD -MP -MF .deps/libgstplugin_la-gstplugin.Tpo -c gstplugin.cpp  -fPIC -DPIC -o .libs/libgstplugin_la-gstplugin.o<br>gstplugin.cpp:63:21: error: gst/gst.h: No such file or directory<br>

In file included from gstplugin.cpp:65:<br>gstplugin.h:65: error: expected constructor, destructor, or type conversion before &#39;typedef&#39;<br>gstplugin.h:70: error: &#39;GstElement&#39; does not name a type<br>gstplugin.h:72: error: ISO C++ forbids declaration of &#39;GstPad&#39; with no type<br>

gstplugin.h:72: error: expected &#39;;&#39; before &#39;*&#39; token<br>gstplugin.h:74: error: &#39;gboolean&#39; does not name a type<br> .  .  .<br><br>I have tryed to add params to libtool like --tag=CXX..<br><br>Anybody knows what and where params should I add?<br>
<br>Thanks a lot<br>