gtreamer custom plugin using c++

classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

gtreamer custom plugin using c++

palash
I was trying to create a custom plugin which can implement C++ APIs (for example OpenCV C++ APIs). First I tried to rename the source gstexample.c file to gstexample.cpp and make requried changes in Makefile.am to reflect the name change and addd AC_PROG_CXX in configure.ac file. When I try to compile it reports following error and stops.
make[2]: *** No rule to make target 'gstexample.c', needed by 'libgstexample_la-gstexample.lo'.  Stop.


Any suggestion how can I change it so that I can implement openCV C++ APIs?
Reply | Threaded
Open this post in threaded view
|

Re: gtreamer custom plugin using c++

Nicolas Dufresne-5


Le 9 janv. 2017 11:14 AM, "palash" <[hidden email]> a écrit :
I was trying to create a custom plugin which can implement C++ APIs (for
example OpenCV C++ APIs). First I tried to rename the source gstexample.c
file to gstexample.cpp and make requried changes in Makefile.am to reflect
the name change and addd AC_PROG_CXX in configure.ac file. When I try to
compile it reports following error and stops.
make[2]: *** No rule to make target 'gstexample.c', needed by
'libgstexample_la-gstexample.lo'.  Stop.


Any suggestion how can I change it so that I can implement openCV C++ APIs?


Looks like autotool didn't fully pick the change. Try running autoreconf at the top level of your repo.


--
View this message in context: http://gstreamer-devel.966125.n4.nabble.com/gtreamer-custom-plugin-using-c-tp4681376.html
Sent from the GStreamer-devel mailing list archive at Nabble.com.
_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel


_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
Reply | Threaded
Open this post in threaded view
|

Re: gtreamer custom plugin using c++

palash
Thanks, I will check this. BTW, I have this working without changing the gst plugin file .c to .cc/.cpp.