处理RxTx lib引起的编译错误
我使用处理从 Arduino Serial 读取数据。为此,我使用处理类 Serial,但是当我编译时,我收到此错误:
WARNING: RXTX Version mismatch
Jar version = RXTX-2.2pre1
native lib Version = RXTX-2.2pre2
Invalid memory access of location 0xb1bbcb70 eip=0x137ea90c
它打开一个窗口,并显示此消息 sketch_dec11a 在使用插件 librxtxSerial.jnilib 时意外退出 我的代码是这样的:
import processing.serial.*;
Serial mySerial = new Serial(this,Serial.list()[1]);
有人可以帮助我吗?
I use processing to read from Arduino Serial. To do this i use the processing class Serial, but when i compile, i get this error:
WARNING: RXTX Version mismatch
Jar version = RXTX-2.2pre1
native lib Version = RXTX-2.2pre2
Invalid memory access of location 0xb1bbcb70 eip=0x137ea90c
And it opens a window with this message sketch_dec11a has unexpectedly quit when using the plugin librxtxSerial.jnilib
My code is this :
import processing.serial.*;
Serial mySerial = new Serial(this,Serial.list()[1]);
Someone can help me?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
你尝试过这个吗? http://wiki.processing.org/w/Serial_Issues
检查您的处理库文件夹中有哪些版本。
Did you tried out this? http://wiki.processing.org/w/Serial_Issues
Check what versions are in your Processing library folder.