How can I operate cpp?

I want to use SPI cam 5MP ov5642.

ubuntu 22.04

The source is the latest data obtained from github.arducam.

The board was operated by connecting Mega, 50~53, SDA, and SCL.

Now I want to look at the image.

But I can’t execute the executable file.

After searching the information, it seems that ArduCam.cpp needs to be built.

I have experience building ros2, but I have no experience using make alone, so I would like to try it.

What method do you recommend?

thank you for reading really