kbarni / LCCV

LibCamera wrapper library for OpenCV
61 stars 30 forks source link

Fixed interface in libcamera_app.hpp #23

Closed bjajoh closed 1 year ago

bjajoh commented 1 year ago

The current version of LCCV doesn't compile against the recent libcamera version.

In libcamera the definition of StreamRoles changed to std::vector

As shown here: https://github.com/raspberrypi/libcamera-apps/blob/a8e6df7bf18c0e418d7f220ba6fd84788f3a691a/core/libcamera_app.hpp#L56C2-L56C2

JuergenSmo commented 1 year ago

I want to like this pull request as this is really the only change needed when using libcamera 0.5.0. After the changes libcamera made in March this year it seems that they came back to what they had before. So for me it is working again with this.