Closed hparra closed 14 years ago
Builds on Mac OS X 32-bit 1.8 (Leopard).
Builds and tested on Windows 32-bit 1.8 (XP) Builds, but crashed on Windows 32-bit 1.9 (XP) Builds on Linux 32-bit 1.8 (Ubuntu) Builds on Linux 32-bit 1.9 (Ubuntu)
Builds and tested on Mac OS X 10.6 64-bit.
"Builds, but crashed on Windows 32-bit 1.9 (XP)": Please elaborate on #9
Got it to build under Windows 32-bit 1.8.6 (XP) with MinGW / MSYS
My tests look good at least at 115200.
Small issue: On the console you're firing off a couple of debug messages on connecting to a port that may give others issues. I commented out the printf's in win_serialport_impl.c in function: VALUE RB_SERIAL_EXPORT sp_create_impl(class, _port) rebuilt and everything looks fine. Will test on 1.9 if I can find the time in the next week or so.
For average joes without a compiler, a gem w/the binaries packaged up for distribution would be really nice.
Nice job! This is a helpful tool.
Regards.
Yes. I know about those printf statements. They've been in the code for as long as I remember. Removal shouldn't be a problem. Perhaps a DEBUG def would make some sense.
Thank you everyone!
This average joe is struggling with his MinGW / MSYS compiler on Win 32 XP. A gem with the binaries packaged up for distribution would be very much appreciated.
Testing http://github.com/hparra/ruby-serialport/commits/v1.0.0rc1