Using the nvdsanalytics plugin - c++ only?

Hello @jasonpgf2a,
That means I have to create a separate plugin just to add display meta so that I can overlay those data on frame.
I am trying to add some part of deepstream-test3 into nvdsanalytics pipeline so that I can display some data on screen. But while running Makefile command I am facing this error -

deepsteam_nvdsanalytics_test.cpp:123:46: error: invalid conversion from 'gpointer {aka void*}' to 'char*' [-fpermissive]
         txt_params->display_text = g_malloc0 (MAX_DISPLAY_LEN);
                                    ~~~~~~~~~~^~~~~~~~~~~~~~~~~
deepsteam_nvdsanalytics_test.cpp:132:45: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]
         txt_params->font_params.font_name = "Serif";

please let me know if you can help me. I have also created separate topic for this Please have a look - How to add metadata using probe and how to create encodebin for saving multiple video files
Thanks in advance