[gst-devel] Writing Gstreamer plugin using C++ library

wl2776 wl2776 at gmail.com
Wed Aug 18 14:56:03 CEST 2010



José Luis Segura Lucas wrote:
> 
> I'm planning to write a Gstreamer plugin that uses a C++ written library.
> I'm wondering if it's possible to mix C and C++ in gstreamer plugin
> development.
> 

That's possible, however, can cause problems while building GStreamer on the
other platform, if your library doesn't build on that platform.

I've met these problems and currently have very little idea about how to
resolve them.
The mpeg2enc plugin uses mjpegtools, which is written in C++ with inline
asm.
Visual C++ doesn't compile it.
g++ builds it, and even mingw's g++ builds it, but Visual C++ cannot link to
the generated library, as it doesn't understand g++ name mangling scheme.

-- 
View this message in context: http://gstreamer-devel.966125.n4.nabble.com/Writing-Gstreamer-plugin-using-C-library-tp2327980p2329782.html
Sent from the GStreamer-devel mailing list archive at Nabble.com.




More information about the gstreamer-devel mailing list