没有找到可供处理的库.在raspberrypi上运行Processing代码时出现错误



我正在尝试使用Processing 4.0运行Sketch程序。代码来自FreeNoveraspberrypikit。

我得到这个错误

No library found for processing.io
No library found for processing.io
No library found for processing.io
Libraries must be installed in a folder named 'libraries' inside the sketchbook folder (see the Preferences window).
The package “processing.io” does not exist. You might be missing a library.

代码是包含processing.io的代码片段

/*****************************************************
* Filename    : Sketch_09_1_1_Motor
* Description : Control speed and direction of the motor
* auther      : www.freenove.com
* modification: 2016/08/22
*****************************************************/
import processing.io.*;
int motorPin1 = 17;    //connect to the L293D
int motorPin2 = 27;
int enablePin = 22;
final int borderSize = 45;    //border size 

奇怪,正常情况下ARM应该随处理器一起发货。io库。

如果Freenove手册提供的安装方法(curl https://processing.org/download/install-arm.sh | sudo sh)不工作,我建议尝试官方下载页面并选择适合的Raspberry PI CPU架构(32位或64位)。

在过去,我成功地使用了Processing 3 Raspberry PI Image(它预装了Processing):如果你有备用的microSD卡(或者不介意闪烁你现有的一个),这可能是一个备份计划。即使它是Processing 3,希望你需要的相同的processing.io功能将可用。

最新更新