processing / processing/processing4
Exporting a sketch using the Hardware I/O Library to Raspberry Pi results in broken shell script.
还没有人认领这个 Issue。
- 主要语言
- Java
- 星标
- 494
- 派生
- 183
- 平均合并
- 4 小时 39 分钟
- 30 天内合并 PR
- 3
描述
Created by: moritzmartingit
Description
When the exported script is executed it crashes and prints out the following error message:
"java.lang.UnsatisfiedLinkError: no processing-io in java.library.path:"
Expected Behavior
To get a working script after exporting a sketch using the Hardware I/O Library to Raspberry Pi.
The proposed change would be to include the corresponding "libprocessing-io.so" file automatically during the export.
Current Behavior
I can get the sketch running by manually copying the file "libprocessing-io.so" into the "lib" folder of the exported sketch.
Steps to Reproduce
The most simple sketch to reproduce the bug:
import processing.io.*;
GPIO.pinMode(4, GPIO.INPUT_PULLUP);
- Export the above sketch to Linux Raspberry Pi 64 or 32 bit.
- Execute the script in terminal.
Your Environment
- Processing version: 4.3
- Operating System and OS version (for running the exported script): Raspberry Pi 4, Raspberry Pi OS (64-bit) Published: 2023-10-10
- Other information: Problem occurs when sketch is exported on the Raspberry Pi 4 itself or as well on a MacBook Pro M2.
Possible Causes / Solutions
贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
调研方向
首先使用最小 sketch 复现 Raspberry Pi 导出,并检查生成的 shell script 及其 lib 目录。检查 Hardware I/O Library 和 libprocessing-io.so 在 32 位和 64 位导出中的处理方式;完成的标准是导出的脚本无需手动复制 native library 即可运行。
由索引模型根据 Issue 内容生成。
评估
- 技术栈
- java, raspberry-pi, shell
- 领域
- build-system, embedded-iot
- Issue 类型
- 缺陷
- 难度
- 4/5
- 预计耗时
- 3-5 天
- 活跃度
- 停滞
- 描述清晰度
- 基本清楚
- 新手友好度
- 35/100