Enabling auto exposure on matrix vision camera using aravis

Hi there,

I have a matrix vision camera. Using following link I could set up the aravis gstreamer element for matrix.

The element works but I don’t know how to enable the auto-exposure when I use aravis?
Does Aravis makes some default configurations for the camera ? How to enable auto-exposure ?



I am trying to enable auto exposure using aravis element for a matrix vision camera I have.
I found set_exposur_time_auto method on aravis website.

Following their examples, I wrote a c code. When I try to compile it using the following command I get a library error:

gcc aravis_auto_exposure.c -o aravisautoexposure

This is the error: arv.h No such file or directory

How do I compile and run the c code?

Any advice is appreciated.