Quantcast
Channel: openFrameworks - Latest posts
Viewing all articles
Browse latest Browse all 40524

ofSerial fast simple serial read in OF not working properly (and linux problems too)

$
0
0

Thanks bakercp. Well, I was using the master branches (which I had to tweek for OF9.0). Anyway, I downloaded the develop branches. In order to compile I had to add these lines at the beggining of snappy.cc (C2061: syntax error: identifier 'ssize_t')

#include <BaseTsd.h>
typedef SSIZE_T ssize_t;

The program run but the same problem appeared, just with a more elegant code underneath (execution was not stoped and the error message appeared in the console):

[ error ] SerialDevice::setup: IO Exception:Specified port, COM 19, does not exist. ...win.cc, line 71.

The same port is working without any problem in the Arduino IDE and no problem at all with ofSerial in OF. I tried in another win10 machine and the addon works perfect. Something happened to my computer but I have no idea what is the specific issue or how to track the solution.


Viewing all articles
Browse latest Browse all 40524

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>