I'm trying to use Processing's IO library in Eclipse, but instead of a .jar
to add as a dependency there's only this libprocessing-io.so
file. How can I add this to Eclipse?
Asked
Active
Viewed 72 times
0

Kevin Workman
- 41,537
- 9
- 68
- 107

user1854611
- 121
- 8
-
What operating system are you planning on using the I/O library for ? – George Profenza Jul 31 '18 at 11:28
1 Answers
1
From the reference:
This library is only available for embedded Linux boards with the necessary kernel drivers, such as the Raspberry Pi.
Which means you can't use the library on every single system.
Assuming you're on the correct system, you can view / download the source code of the library from GitHub here.
This library was designed to be used in the Processing editor, so I don't see a nicely packaged .jar
file anyway. You're probably going to have to compile and bundle the source up yourself, or maybe you could use the Processing editor to download the library, then import the library into Eclipse.
The .so
file is a native file that you need to add to Eclipse. See this question, especially the second answer.

Kevin Workman
- 41,537
- 9
- 68
- 107
-
This is what I did. There's a build.xml that actually generates the needed jar. But of course I still have to keep the .so in the same folder. – user1854611 Aug 02 '18 at 14:51
-
1@user1854611 I don't know the specifics of how the library loads the native dependencies, but in general you'll have to add native dependencies to Eclipse using the approach in that last link in my answer. – Kevin Workman Aug 02 '18 at 16:24