teltek / gst-plugin-ndi

GStreamer NDI Plugin for Linux
GNU Lesser General Public License v2.1
154 stars 27 forks source link

build in docker arm64 m1 mac #83

Closed danjenkins closed 2 years ago

danjenkins commented 2 years ago

Getting an error during compile...

#15 86.28    Compiling gstreamer-video v0.17.2
#15 89.92 error[E0308]: mismatched types
#15 89.92    --> src/ndi.rs:807:21
#15 89.92     |
#15 89.92 807 |             p_data: frame.plane_data(0).unwrap().as_ptr() as *const i8,
#15 89.92     |                     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `u8`, found `i8`
#15 89.92     |
#15 89.92     = note: expected raw pointer `*const u8`
#15 89.92                found raw pointer `*const i8`
#15 89.92
#15 90.10 error: aborting due to previous error
#15 90.10
#15 90.10 For more information about this error, try `rustc --explain E0308`.
#15 90.12 error: could not compile `gst-plugin-ndi`
#15 90.12
#15 90.12 To learn more, run the command again with --verbose.
------
danjenkins commented 2 years ago

thanks @sdroege !