processing / processing/processing4
Exporting a sketch using the Hardware I/O Library to Raspberry Pi results in broken shell script.
Nadie ha tomado este issue todavía.
- Lenguaje dominante
- Java
- Estrellas
- 494
- Forks
- 183
- Merge medio
- 4 h 39 min
- PR fusionados (30 d)
- 3
Descripción
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
Guía de contribución
Primeros pasos
- Lee el issue completo y luego la guía de contribución del proyecto.
- Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
- Haz un fork del repositorio y trabaja en una rama.
- Abre un pull request que haga referencia al número del issue.
Línea de trabajo
Empieza reproduciendo la exportación de Raspberry Pi con el sketch mínimo e inspecciona el shell script generado y su directorio lib. Comprueba cómo se gestionan Hardware I/O Library y libprocessing-io.so en las exportaciones de 32 bits y 64 bits; el trabajo estará terminado cuando el script exportado se ejecute sin copiar manualmente la biblioteca nativa.
Escrito por el modelo de indexación a partir del texto del issue.
Evaluación
- Stack tecnológico
- java, raspberry-pi, shell
- Área
- build-system, embedded-iot
- Tipo de issue
- Error
- Dificultad
- 4/5
- Tiempo estimado
- 3-5 días
- Estado de actividad
- Estancado
- Claridad
- Bastante claro
- Aptitud para principiantes
- 35/100