Arducam 5MP Plus OV5642 Mini SPI Camera Module on RASPBERRY PI 4B

Hello, I am currently trying to run the Arducam 5MP Plus OV5642 Mini SPI Camera Module on RASPBERRY PI 4B. I have followed all directions offered in the documentation and on the forums but am having no success. I was able to get the camera working on an Arduino Uno so I could confirm the module works. The issue I have when trying to compile the files on the Raspberry Pi is the gcc compiler. Please refer to attached photo of output errors when attempting to compile.

 

Thanks

Hi,

Using SPI camera on raspberry, please refer to this link:https://github.com/ArduCAM/RaspberryPi/tree/master/SPI_Camera

I believe the issue is the file type. c programming language does not support classes. You need to use c++ file and a c++ compiler to use classes.