No library found for processing.io error when 运行 Processing code in raspberrypi

No library found for processing.io error error when running Processing code in raspberrypi

我正在尝试 运行 使用 Processing 4.0Sketch 程序。代码来自 FreeNove raspberrypi 工具包。

我遇到这个错误

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 is

/*****************************************************
 * 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 

奇怪,正常情况下,Processing ARM 应该随附 processing.io library

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

过去我曾成功使用 Processing 3 Raspberry PI Image(预装了 Processing):如果您有备用的 microSD 卡(或者不介意刷新您现有的 microSD 卡),这可能是一个备份计划). 尽管它是 Processing 3,但愿您需要的相同 processing.io 功能可用。