Environment:
system:
ubuntu22 , arm64
libs:
OpenCvSharp4 ver 4.8.0.20230708
OpenCvSharp4.Extensions ver 4.8.0.20230708
OpenCvSharp4.runtime.linux-arm ver 4.8.0.20230708
OpenCvSharp4.runtime.linux-arm64.cuda ver 4.8.0.20230708
Example code:
using OpenCvSharp;
...
var capture = new VideoCapture(0);
Output:
The type initializer for 'OpenCvSharp.Internal.NativeMethods' threw an exception. Unable to load shared library 'OpenCvSharpExtern' or one of its dependencies. In order to help diagnose loading problems, consider setting the LD_DEBUG environment variable: libOpenCvSharpExtern: cannot open shared object file: No such file or directory
What did you intend to be?