Source: freeture
Version: 1.3.0-1
Followup-For: Bug #922579
Dear Maintainer,
I have tried to build it with switching to opencv4, but it fails.
The searon failed is not only opencv4's api incompatibility, but also
aravis need to upgrade from 0.6 to 0.8, this also leads to the api
incompatibility.
```
In file included from /usr/include/aravis-0.8/arv.h:31,
from CameraGigeAravis.h:51,
from CameraGigeAravis.cpp:38:
/usr/include/aravis-0.8/arvcamera.h:45:25: note: declared here
45 | ARV_API ArvCamera * arv_camera_new (const char
*name, GError **error);
| ^~
CameraGigeAravis.cpp: In member function ‘virtual bool
CameraGigeAravis::setSize(int, int, int, int, bool)’:
CameraGigeAravis.cpp:169:34: error: too few arguments to function ‘void
arv_camera_set_region(ArvCamera*, gint, gint, gint, gint, GError**)’
169 | arv_camera_set_region(camera, startx, starty, width,
height);
| ~^~~
/usr/include/aravis-0.8/arvcamera.h:63:25: note: declared here
63 | ARV_API voidarv_camera_set_region
(ArvCamera *camera, gint x, gint y, gint width, gint height, GError **error);
| ^
CameraGigeAravis.cpp:170:35: error: too few arguments to function ‘void
arv_camera_get_region(ArvCamera*, gint*, gint*, gint*, gint*, GError**)’
170 | arv_camera_get_region (camera, &mStartX, &mStartY, &mWidth,
&mHeight);
|
~~^~~
/usr/include/aravis-0.8/arvcamera.h:64:25: note: declared here
64 | ARV_API voidarv_camera_get_region
(ArvCamera *camera, gint *x, gint *y, gint *width, gint *height, GError
**error);
| ^
CameraGigeAravis.cpp:183:39: error: too few arguments to function ‘void
arv_camera_get_sensor_size(ArvCamera*, gint*, gint*, GError**)’
183 | arv_camera_get_sensor_size(camera, &sensor_width,
&sensor_height);
|
~~^~~
/usr/include/aravis-0.8/arvcamera.h:62:25: note: declared here
62 | ARV_API voidarv_camera_get_sensor_size
(ArvCamera *camera, gint *width, gint *height, GError **error);
| ^~
CameraGigeAravis.cpp:186:34: error: too few arguments to function ‘void
arv_camera_set_region(ArvCamera*, gint, gint, gint, gint, GError**)’
186 | arv_camera_set_region(camera, 0,
0,sensor_width,sensor_height);
|
~^
/usr/include/aravis-0.8/arvcamera.h:63:25: note: declared here
63 | ARV_API voidarv_camera_set_region
(ArvCamera *camera, gint x, gint y, gint width, gint height, GError **error);
| ^
CameraGigeAravis.cpp:187:35: error: too few arguments to function ‘void
arv_camera_get_region(ArvCamera*, gint*, gint*, gint*, gint*, GError**)’
187 | arv_camera_get_region (camera, NULL, NULL, &mWidth,
&mHeight);
|
~~^~~
/usr/include/aravis-0.8/arvcamera.h:64:25: note: declared here
64 | ARV_API voidarv_camera_get_region
(ArvCamera *camera, gint *x, gint *y, gint *width, gint *height, GError
**error);
| ^
CameraGigeAravis.cpp: In member function ‘virtual bool
CameraGigeAravis::grabInitialization()’:
CameraGigeAravis.cpp:220:42: error: too few arguments to function ‘guint
arv_camera_get_payload(ArvCamera*, GError**)’
220 | payload = arv_camera_get_payload (camera);
| ~~~^~~~
/usr/include/aravis-0.8/arvcamera.h:152:25: note: declared here
152 | ARV_API guint arv_camera_get_payload
(ArvCamera *camera, GError **error);
| ^~
CameraGigeAravis.cpp:223:48: error: too few arguments to function
‘ArvPixelFormat arv_camera_get_pixel_format(ArvCamera*, GError**)’
223 | pixFormat = arv_camera_get_pixel_format(camera);
| ~~~^~~~
/usr/include/aravis-0.8/arvcamera.h:84:25: note: declared here
84 | ARV_API ArvPixelFormat arv_camera_get_pixel_format
(ArvCamera *camera, GError **error);
| ^~~
CameraGigeAravis.cpp:225:45: error: too few arguments to function ‘void
arv_camera_get_exposure_time_bounds(ArvCamera*, double*, double*, GError**)’
225 | arv_camera_get_exposure_time_bounds (camera, &exposureMin,
&exposureMax