I have been trying to integrate the phidgets library with my unity project all day and I keep getting:
DllNotFoundException: phidget21.dll
Phidgets.InterfaceKit…ctor ()
PhidgetController.Start () (at Assets/FPB/Scripts/PhidgetController.cs:29)
I have added Phidget21.NET.dll to my Plugins folder and I get code completion in mono just fine. no compile errors.
When the app runs I get the exception.
Reading through the forums I have tried adding the phidget21.dll to the following directories:
/Applications/Unity/Unity.app/Contents/Frameworks/Managed
path/to/project/
path/to/project/Assets
path/to/project/Assets/Plugins
I have also tried using [DllImport (“/Applications/Unity/Unity.app/Contents/Frameworks/Managed/phidget21.dll”)], but i don’t think i fully understand how this works as I am trying to import the whole ell not just a single method like the examples i have seen using DllImport.
I have read through the various phidgets documentation for integrating with mono, but following that didn’t seem to help. I have seen quite a few people say they have gotten this working, but not any examples on how to get it working.
Thanks in advance for any help. very stuck right now.