Problem executing C# (Mono) on MAC - any help?

Supporting 10.7 and up
t00cg
Fresh meat
Posts: 3
Joined: Mon Oct 10, 2016 5:56 am
Contact:

Problem executing C# (Mono) on MAC - any help?

Postby t00cg » Wed May 30, 2018 12:52 pm

hi there,

i try to run phidget with mono c# on mac (same things runs seamless on windows).

i get the following error (compiling no problems):

Code: Select all

ixistenz-3:PhidgetVINTest t00cg$ mcs TestExample.cs -r:Phidget22.NET.dll
ixistenz-3:PhidgetVINTest t00cg$ mono TestExample.exe
MainStarted

Unhandled Exception:
System.DllNotFoundException: phidget22
  at (wrapper managed-to-native) Phidget22.Phidget22Imports.PhidgetRCServo_create(intptr&)
  at Phidget22.RCServo..ctor () [0x00006] in <9883058a4b9e403fb0e5b60d727b9ce8>:0
  at TestExample..ctor () [0x0000d] in <4933d4ae9f524d6fa942d31707374b69>:0
  at TestExample.Main (System.String[] args) [0x0000a] in <4933d4ae9f524d6fa942d31707374b69>:0
[ERROR] FATAL UNHANDLED EXCEPTION: System.DllNotFoundException: phidget22
  at (wrapper managed-to-native) Phidget22.Phidget22Imports.PhidgetRCServo_create(intptr&)
  at Phidget22.RCServo..ctor () [0x00006] in <9883058a4b9e403fb0e5b60d727b9ce8>:0
  at TestExample..ctor () [0x0000d] in <4933d4ae9f524d6fa942d31707374b69>:0
  at TestExample.Main (System.String[] args) [0x0000a] in <4933d4ae9f524d6fa942d31707374b69>:0
ixistenz-3:PhidgetVINTest t00cg$


an someone tell me how to make this working?

thanks for any help

t00cg
Attachments
errorInExecution.png
PhidgetVINTTest.zip
(75.84 KiB) Downloaded 63 times

User avatar
Patrick
Lead Developer
Posts: 3099
Joined: Mon Jun 20, 2005 8:46 am
Location: Canada
Contact:

Re: Problem executing C# (Mono) on MAC - any help?

Postby Patrick » Thu May 31, 2018 10:05 am


t00cg
Fresh meat
Posts: 3
Joined: Mon Oct 10, 2016 5:56 am
Contact:

Re: Problem executing C# (Mono) on MAC - any help?

Postby t00cg » Thu May 31, 2018 3:00 pm

i tried a lot of things but this script on the phidgets.com site (your link - https://www.phidgets.com/docs/Language_-_C_Sharp#macOS, example for mac os x) is not working at all. there is even another error (missing some manager).

at the moment, i doubt it is working at all with .net today.

and i hope someone can show me, that it works.


Return to “macOS”

Who is online

Users browsing this forum: No registered users and 1 guest