Closed leopripos closed 2 years ago
try to run command as follows
ldd /xxx/libOpenCvSharpExtern.so
check the library marked "not found"
then install it
Sorry @AvenSun Where can I find libOpenCvSharpExtern.so
?
Is it the file generated by OpenCvSharp4.runtime.linux-arm
?
@leopripos yes. If you build or publish your project for linux-arm it will be at the output directory.
Hi and first let me thanks @shimat and all the contributors to this great library. I am having the same question about the linux-arm64 runtime identifier. It appears as if the linux-arm package is not compatible with ARM64. The LoadLibrary call on the linux-arm version fails (I verified that the O/S can find it). I know we could probably try to build it ourselves but it's a bit of a chore if you are not deeply familiar with CMake and such. So if there are any plans to create a linux-arm64 package that would be great to know. Thanks
@leopripos the attached file I built works well on Jetson, but it's not the latest version. libOpenCvSharpExtern for Jetson you can have a try.
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
@leopripos the attached file I built works well on Jetson, but it's not the latest version. libOpenCvSharpExtern for Jetson you can have a try. How did you compile Jetson version? I follow guide, but my lib becomes 4mb only, but yours one is much bigger.
@leopripos the attached file I built works well on Jetson, but it's not the latest version. libOpenCvSharpExtern for Jetson you can have a try.
Do you have the latest version? My project needs a copy that supports GTK2.0. My program still reports an error. Thank you! My error is as follows: OpenCvSharp.OpenCVException: The function is not implemented. Rebuild the library with Windows, GTK+ 2.x or Cocoa support. If you are on Ubuntu or Debian, install libgtk2.0-dev and pkg-config, then re-run cmake or configure script at OpenCvSharp.Internal.ExceptionHandler.ThrowPossibleException() at OpenCvSharp.Internal.NativeMethods.HandleException(ExceptionStatus status) at OpenCvSharp.Window..ctor(String name, Mat image, WindowFlags flags) at OpenCvSharp_ReadRTSPStream.Program.Main(String[] args) in D:\VisualStudio\TargetCenter\rtsp\Program.cs:line 233
Summary of your issue
I'm trying to use opencvsharp in Jetson. The app is .NET 5 console app. I added
OpenCvSharp4
andOpenCvSharp4.runtime.linux-arm
. I got errorlibOpenCvSharpExtern: cannot open shared object file: No such file or directory
.OpenCvSharp4.runtime.linux-arm
, can it work forlinux-arm64
? Or I need to build from source code by myself? If yes, do we have any instruction for this (jetson)?opencvsharp
?Environment
Example code:
Output: