Hey I want to build my own custom postprocessing .so

I saw that raspberry pi examples uses .so files to postprocess the hailo outputs. from this dir on pi (/usr/lib/aarch64-linux-gnu/hailo/tappas/post_processes). I have my own custom trained
yolov8_pose model. But i can not use the default yolov8_pose post processing because of the different keypoints length. So I want build my own by changing the values.
This is what i need to update and rebuild

This Line I need to change - [ 17(human keypoints) → my customkeypoints]

But how can install required dependencies? What steps do I need to follow?
I have a little knowledge of C++. So I think I can do that If someone can provide a guide.