How to generate object file from deepstream_config_file_parser.c

I have added new parameters to the sources/apps/apps-common/src/deepstream_config_file_parser.c -> parse_dsexample(). And I tried to generate object file by running the following command

$ gcc  -Wall deepstream_config_file_parser.c -o deepstream_config_file_parser

And I got this error

deepstream_config_file_parser.c:23:10: fatal error: deepstream_common.h: No such file or directory
#include “deepstream_common.h”

you should build deeptream-app and dsexample plugin, not build this single source.

I use dsexample plugin on objectDetector_Yolo. So first I have built the dsexample plugin by running the following command

sudo CUDA_VER=10.0 make install

Then I have built the objectDetector_Yolo app by running the following commands

export CUDA_VER=10.0
make -C nvdsinfer_custom_impl_Yolo

But the issue remains same. If my steps are wrong, please tell me the correct steps to build the app and plugin.

sources/apps/apps-common/src/deepstream_config_file_parser.c -> parse_dsexample()
it’s for deepstream-app

you can refer to source code, sources/apps/sample_apps/*, any sample for how to use a plugin.