<div dir="ltr"><div><div><div><div><div><div><div>Hi,<br><br></div>I use gstreamer in my cpp project. I have sub-class a GstBin in a static c lib, and now i need to register it.<br></div>I want to use the macros GST_PLUGIN_STATIC_DECLARE, GST_PLUGIN_STATIC_REGISTER but i need to define GST_PLUGIN_BUILD_STATIC for the expansion of the macro GST_PLUGIN_DEFINE.<br><br></div>I use cmake.<br><br></div>I try in cmakelist.txt  set( GST_PLUGIN_BUILD_STATIC) no result.<br></div>i try in bin subclass #define GST_PLUGIN_BUILD_STATIC 1 no result.<br><br></div>an idea ?<br><br></div>Thanks<br></div>