ayufan / camera-streamer

High-performance low-latency camera streamer for Raspberry PI's
291 stars 46 forks source link

Compile error against libcamera library #118

Closed richard9999999999 closed 7 months ago

richard9999999999 commented 7 months ago

device/libcamera/buffer_list.cc: In function ‘int libcamera_buffer_list_open(buffer_list_t*)’: device/libcamera/buffer_list.cc:103:21: error: ‘using element_type = class libcamera::CameraConfiguration’ {aka ‘class libcamera::CameraConfiguration’} has no member named ‘transform’ 103 | configurations->transform |= libcamera::Transform::VFlip; | ^~~~~ device/libcamera/buffer_list.cc:106:21: error: ‘using element_type = class libcamera::CameraConfiguration’ {aka ‘class libcamera::CameraConfiguration’} has no member named ‘transform’ 106 | configurations->transform |= libcamera::Transform::HFlip; | ^~~~~ device/libcamera/buffer_list.cc:108:26: error: ‘using element_type = class libcamera::CameraConfiguration’ {aka ‘class libcamera::CameraConfiguration’} has no member named ‘transform’ 108 | if (!!(configurations->transform & libcamera::Transform::Transpose)) { | ^~~~~ make: *** [Makefile:99: device/libcamera/buffer_list.o] Error 1

ayufan commented 7 months ago

Yes. I'm aware of this, will fix it later today.

On Sun, Nov 26, 2023 at 10:35 AM richard9999999999 @.***> wrote:

device/libcamera/buffer_list.cc: In function ‘int libcamera_buffer_list_open(buffer_list_t*)’: device/libcamera/buffer_list.cc:103:21: error: ‘using element_type = class libcamera::CameraConfiguration’ {aka ‘class libcamera::CameraConfiguration’} has no member named ‘transform’ 103 | configurations->transform |= libcamera::Transform::VFlip; | ^~~~~ device/libcamera/buffer_list.cc:106:21: error: ‘using element_type = class libcamera::CameraConfiguration’ {aka ‘class libcamera::CameraConfiguration’} has no member named ‘transform’ 106 | configurations->transform |= libcamera::Transform::HFlip; | ^~~~~ device/libcamera/buffer_list.cc:108:26: error: ‘using element_type = class libcamera::CameraConfiguration’ {aka ‘class libcamera::CameraConfiguration’} has no member named ‘transform’ 108 | if (!!(configurations->transform & libcamera::Transform::Transpose)) { | ^~~~~ make: *** [Makefile:99: device/libcamera/buffer_list.o] Error 1

— Reply to this email directly, view it on GitHub https://github.com/ayufan/camera-streamer/issues/118, or unsubscribe https://github.com/notifications/unsubscribe-auth/AASOSQKN6A2GWWTT6TBRLLTYGMEOTAVCNFSM6AAAAAA72XGD7CVHI2DSMVQWIX3LMV43ASLTON2WKOZSGAYTAOJWHE4TAMI . You are receiving this because you are subscribed to this thread.Message ID: @.***>

Eduardo-Morales-Alberti commented 7 months ago

Same here, thank you ayufan!!

ayufan commented 7 months ago

Resolved: https://github.com/ayufan/camera-streamer/commit/bc231917d811e4a6661fc0b01b3e3750c6babd59.

richard9999999999 commented 7 months ago

Works, thank you!