<div dir="auto"><div><br><div class="gmail_extra"><br><div class="gmail_quote">Le 9 janv. 2017 11:14 AM, "palash" <<a href="mailto:palash@anyconnect.com">palash@anyconnect.com</a>> a écrit :<br type="attribution"><blockquote class="quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">I was trying to create a custom plugin which can implement C++ APIs (for<br>
example OpenCV C++ APIs). First I tried to rename the source gstexample.c<br>
file to gstexample.cpp and make requried changes in Makefile.am to reflect<br>
the name change and addd AC_PROG_CXX in <a href="http://configure.ac" rel="noreferrer" target="_blank">configure.ac</a> file. When I try to<br>
compile it reports following error and stops.<br>
make[2]: *** No rule to make target 'gstexample.c', needed by<br>
'libgstexample_la-gstexample.<wbr>lo'. Stop.<br>
<br>
<br>
Any suggestion how can I change it so that I can implement openCV C++ APIs?<br>
<br><br>Looks like autotool didn't fully pick the change. Try running autoreconf at the top level of your repo.<br>
<br>
<br>
--<br>
View this message in context: <a href="http://gstreamer-devel.966125.n4.nabble.com/gtreamer-custom-plugin-using-c-tp4681376.html" rel="noreferrer" target="_blank">http://gstreamer-devel.966125.<wbr>n4.nabble.com/gtreamer-custom-<wbr>plugin-using-c-tp4681376.html</a><br>
Sent from the GStreamer-devel mailing list archive at Nabble.com.<br>
______________________________<wbr>_________________<br>
gstreamer-devel mailing list<br>
<a href="mailto:gstreamer-devel@lists.freedesktop.org">gstreamer-devel@lists.<wbr>freedesktop.org</a><br>
<a href="https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel" rel="noreferrer" target="_blank">https://lists.freedesktop.org/<wbr>mailman/listinfo/gstreamer-<wbr>devel</a><br>
</blockquote></div><br></div></div></div>