hikvision-mvs-sys 0.2.0

Low-level bindings to the hikvision Machine Vision Software SDK
docs.rs failed to build hikvision-mvs-sys-0.2.0
Please check the build logs for more information.
See Builds for ideas on how to fix a failed build, or Metadata for how to configure docs.rs builds.
If you believe this is docs.rs' fault, open an issue.

hikvision-mvs-sys

Low-level Rust bindings for the Hikvision MVS SDK.

Supported platforms

  • Linux x86_64: MVS installed at /opt/MVS
  • macOS arm64/x86_64: MvCameraControl.framework installed at /Library/Frameworks/MvCameraControl.framework

The build script generates bindings from the SDK version installed on the machine and links the appropriate shared library or macOS framework.

If the SDK is installed somewhere else, set HIKVISION_MVS_SDK_ROOT. On macOS it may point either to MvCameraControl.framework or to the directory that contains it. On Linux it must point to the MVS directory containing include and lib/64.

HIKVISION_MVS_SDK_ROOT=/path/to/MVS cargo build

On macOS, downstream applications may need to add the framework directory to their runtime search paths because Hikvision distributes the framework with an @rpath install name:

RUSTFLAGS='-C link-arg=-Wl,-rpath,/Library/Frameworks' cargo run