lit-robotics / libcamera-rs

Experimental Rust bindings for libcamera
Apache License 2.0
51 stars 16 forks source link

Bindings generation error: size_t seems to be missing on some computers #29

Closed dpieczynski closed 1 year ago

dpieczynski commented 1 year ago

It appears that on some computers using Ubuntu 22.04 the following error occurs:

c_api/framebuffer.h:50:1: error: unknown type name 'size_t'
c_api/framebuffer.h:51:113: error: unknown type name 'size_t'
c_api/framebuffer.h:60:1: error: unknown type name 'size_t'
c_api/framebuffer.h:62:1: error: unknown type name 'size_t'
c_api/framebuffer.h:65:1: error: unknown type name 'size_t'
c_api/framebuffer.h:66:104: error: unknown type name 'size_t'

when building libcamera-sys.