hidapi.dylib needs to be renamed

HomeForumsMonoBrick Communication Libraryhidapi.dylib needs to be renamed

This topic contains 1 reply, has 2 voices, and was last updated by Author Image nkrishnakumar 1 year, 11 months ago.

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #4935
    Author Image
    bl-nero
    Participant

    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.)

    #5557
    Author Image
    nkrishnakumar
    Participant

    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