Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Linux OS dll load exception on .Net5.0 linux-x64 build #131

Open
michael-gabbay opened this issue Jan 26, 2022 · 1 comment
Open

Linux OS dll load exception on .Net5.0 linux-x64 build #131

michael-gabbay opened this issue Jan 26, 2022 · 1 comment

Comments

@michael-gabbay
Copy link

Hello.
I have a product uses your library, it was in use for Win only and now we updated our systems to .Net5.0 and
we should give support on linux platforms.

I tried to run published build my product which uses Hidlibrary to communicate with my Hid Device.
I got the following stack trace:

i'm using version 3.3.40.

I'm getting the following exception:
'Unable to load shared library 'hid.dll' or one of its dependencies. In order to help diagnose loading problems, consider setting the LD_DEBUG environment variable: libhid.dll: cannot open shared object file: No such file or directory'

was originally thrown at this call stack:
HidLibrary.HidDevices.HidClassGuid.get()
HidLibrary.HidDevices.EnumerateDevices()
HidLibrary.HidDevices.Enumerate(int, int[])
MuDi.Providers.Utils.HidLibraryUtils.LocateFtdiDevice(string)

any help will be appreciated

Thanks!
Michael.

@weicongyin
Copy link

weicongyin commented Mar 2, 2023

it's only support for windows 。native api from HID.dll is under Windows

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants