hidapi.dylib needs to be renamed

HomeForumsMonoBrick Communication Libraryhidapi.dylib needs to be renamed

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
  • #4935
    Author Image

    Hello everyone,

    Just to save you some pain: In case if you intend your application to be compatible with Mac OS, you need to rename hidapi.dylib to libhidapi.dylib. Otherwise, your code won’t be able to find it.

    (The alternative would be to use the dllmap in the app config file, but there’s a problem: if you use a binary DLL assembly, you would have to give it its own config file, which would have to be named MonoBrick.dll.config. Renaming the library file seems simpler.)

    Author Image

    If you are getting “Failed to open connection” error on mac os, using TestApplication for instance, this would be the cause.

Viewing 2 posts - 1 through 2 (of 2 total)

You must be logged in to reply to this topic.

Posted in

Make a donation