gstreamer-rtsp-server build Error on armv7l (RasperryPI): expected u8, found i8
Created by: meldron
Hi there,
trying to build gstreamer-rtsp-server
on armv7l (Raspberry PI) fails with the following errors:
error[E0308]: mismatched types
--> gstreamer/src/tags.rs:197:39
|
197 | ffi::gst_tag_get_type(tag_name.as_ptr() as *const i8)
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected u8, found i8
|
= note: expected type `*const u8`
found type `*const i8`
error: aborting due to previous error
For more information about this error, try `rustc --explain E0308`.
error: Could not compile `gstreamer`.
warning: build failed, waiting for other jobs to finish...
error: aborting due to 4 previous errors
Some errors occurred: E0277, E0308.
For more information about an error, try `rustc --explain E0277`.
error: Could not compile `gio`.
I previously reported the error at gpio, where @sdroege suggested that:
Somewhere there must be a u8 or i8 instead of c_char
error[E0308]: mismatched types
--> gstreamer/src/tags.rs:197:39
|
197 | ffi::gst_tag_get_type(tag_name.as_ptr() as *const i8)
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected u8, found i8
|
= note: expected type `*const u8`
found type `*const i8`