arducam for STM32

hello :confused:
im working on STM32L4 IOT with arduino IDE and its was so good and perfermant.
now i must use OV5640 with my STM32L4 IOT so i installed arducam library. but whan i compile i have a problem:
error: 'regtype' does not name a type

regtype *P_CS;
exit status 1
Erreur de compilation pour la carte Discovery.
anyone help me pls.