Win XP Pro includes the compiler cl v11. Since this code requires version 12, I tried to get the right compiler installed
and working, but no luck.
I did have the latest free version, VC 2008 Express, which uses cl v15.
I found that by changing config.h from
#if _MSC_VER != 1200
to
#if _MSC_VER < 1200
and then using Start -> Programs -> Microsoft Visual C++ 2008 Express Edition -> Visual Studio Tools ->
Visual Studio 2008 Command Prompt
and then finally
gem install ruby-serialport
it worked!
Suggest you change the config.h and then add a little readme or something to make this easier to install.
Thanks,
-Dan
|