Hi,
I compiled the mono for beagleboard with scratchbox. simple “hello world” application works fine, but simple serial port application give an error. Error message below
Unhandled Exception: System.DllNotFoundException: libMonoPosixHelper.so
at (wrapper managed-to-native) System.IO.Ports.SerialPortStream:open_serial (string)
at System.IO.Ports.SerialPortStream…ctor (System.String portName, Int32 baudRate, Int32 dataBits, Parity parity, StopBits stopBits, Boolean dtrEnable, Boolean rtsEnable, Handshake handshake, Int32 readTimeout, Int32 writeTimeout, Int32 readBufferSize, Int32 writeBufferSize) [0x00000]
at (wrapper remoting-invoke-with-check) System.IO.Ports.SerialPortStream:.ctor(string,int,int,System.IO.Ports.Parity,System.IO.Ports.StopBits,bool,bool,System.IO.Ports.Handshake,int,int,int,int)
at System.IO.Ports.SerialPort.Open () [0x00000]
at (wrapper remoting-invoke-with-check) System.IO.Ports.SerialPort:Open ()
at serial.MainClass.Main (System.String[] args) [0x00000]
libMonoPosixHelper.so is “/lib” and “/usr/lib” and “/usr/local/lib”, but it can not find libMonoPosixHelper.so.
can anybody help me…
mehmet gocer,