nokhwa
nokhwa copied to clipboard
Error windows build: "enum `FrameFormat` is private"
If build nokhwa-bindings-windows:
C:\Devs\RustDev\WebCams\nokhwa\nokhwa-bindings-windows>cargo build --release
Compiling nokhwa-bindings-windows v0.4.0 (C:\Devs\RustDev\WebCams\nokhwa\nokhwa-bindings-windows)
error[E0603]: enum FrameFormat
is private
--> nokhwa-bindings-windows\src\lib.rs:35:29
|
35 | ControlValueSetter, FrameFormat, KnownCameraControl, KnownCameraControlFlag, Resolution,
| ^^^^^^^^^^^ private enum
|
note: the enum FrameFormat
is defined here
--> C:\Devs\RustDev\WebCams\nokhwa\nokhwa-core\src\types.rs:3:20