Hi Andrey,
your suggestion solved my problem, thanks!!! :)
I've renamed my plugin to "gstmyplugin.cc" and I've added the following lines to Makefile.am:
<pre>
libgstmyplugin_la_CXXFLAGS = $(GST_CFLAGS) `pkg-config --cflags opencv`
libgstmyplugin_la_LIBADD = $(GST_LIBS) $(GST_BASE_LIBS) $(GSTCTRL_LIBS)
libgstmyplugin_la_LDFLAGS = $(GST_PLUGIN_LDFLAGS) `pkg-config --libs opencv`
libgstmyplugin_la_LIBTOOLFLAGS = --tag=disable-static
# headers we need but don't want installed
noinst_HEADERS =
</pre>
I didn't need for any extern "C" declaration (that's a surprise).
Best regards,
Giorgio Buffa
<br><hr align="left" width="300">
View this message in context: <a href="http://gstreamer-devel.966125.n4.nabble.com/On-writing-GStreamer-plugins-for-OpenCV-video-surveillance-facility-tp2252901p2257455.html">Re: On writing GStreamer plugins for OpenCV video surveillance facility</a><br>
Sent from the <a href="http://gstreamer-devel.966125.n4.nabble.com/">GStreamer-devel mailing list archive</a> at Nabble.com.<br>