Code build error

1.Which seller did you purchase the product(s) from?

2.The Model number of the product(s) you have purchased?
Arducam 2MP OV2311 Global Shutter NoIR Mono Camera
3.Which Platform are you using the product(s) on?
RPi 4B
4.Which instruction are you following?
5.Has your product ever worked properly?
6.What problems are you experiencing?
I’m a beginner in coding and first time using the product and I was trying to edit the demo codes and it compiles but does not build, what do i need to do?
7.What attempts at troubleshooting have you already made?

8.How would you like us to help you?

I used the capture_raw.c file and tried editing it to get a raw10 image by removing the arducam_unpack_raw10_to_raw8. I tried compiling it and it was successful but when I try to build the code it fails.