hxSerial icon indicating copy to clipboard operation
hxSerial copied to clipboard

Haxe4 ready?

Open ianharrigan opened this issue 6 years ago • 5 comments

Looking at another issue on hxArduino (https://github.com/ianharrigan/hxArduino/issues/4) made me wonder if this works with haxe4? I dont have a device ready myself, so cant test right now, but just wondering if its either known or not known to work?

Cheers, Ian

EDIT:

This is the error i get:

Called from hxSerial/Serial.hx line 93
Uncaught exception - load.c(237) : Failed to load library : C:\SDK\haxe\lib\hxSerial/0,1,2/ndll/Windows/hxSerial.ndll

Ive downloaded the project source and recompiled the hxSerial.ndll manually and dropped it over the top of the .ndll in the haxelib location but same error. Any thoughts on what this might be?

ianharrigan avatar Jan 28 '20 08:01 ianharrigan

I haven't touched any hardware projects, nor even ndll stuff, for a long while. I'm afraid I cannot offer any helpful advice at the moment.

andyli avatar Jan 28 '20 14:01 andyli

Rightyo - thanks Andy - ill leave this open and do some investigation my end.

Cheers, Ian

ianharrigan avatar Jan 28 '20 15:01 ianharrigan

Hey.. I rewrote some parts of this lib to use hxcpp and no dll dependancy - just the basic serial implementation. https://github.com/datee/xSerial

datee avatar May 19 '20 16:05 datee

Thank you @datee . This is working well in my testing. Might you consider submitting it to Haxe Lib? I would have found it much quicker if so, I only chanced on it here.

B-Interactive avatar Oct 25 '20 08:10 B-Interactive

there is a PR to get this working for neko: https://github.com/andyli/hxSerial/pull/11 (thoughts welcome ofc)

There is also talk about transferring hxSerial ownership - im happy to do so, unless anyone else objects?

Cheers, Ian

ianharrigan avatar Dec 31 '20 07:12 ianharrigan