ViliamVadocz / nvidia-video-codec-sdk

Rust bindings for NVIDIA Video Codec SDK
MIT License
19 stars 7 forks source link

Dynamically load libraries using `dlopen` (or other) #16

Open ViliamVadocz opened 1 year ago

ViliamVadocz commented 1 year ago

Instead of linking to the libraries during building, dynamically load them at runtime.

This would allow building on machines which do not have the NVIDIA Video Codec SDK installed. A similar change would have to made to cudarc as well since it is a dependency links to the CUDA library at build time.