Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update processing examples to work with Processing 2 #24

Open
HakanL opened this issue Dec 8, 2014 · 1 comment
Open

Update processing examples to work with Processing 2 #24

HakanL opened this issue Dec 8, 2014 · 1 comment

Comments

@HakanL
Copy link

HakanL commented Dec 8, 2014

I'm using Processing 2.2.1 and I can't get the processing samples to run, the import statement doesn't seem to be correct (if I use Tools\Import menu then it adds import src.img2opc.* instead. But even with that, it gets to the new Img2Opc line and throws an exception with ClassNotFoundException.

@Firewolf34
Copy link

Firewolf34 commented Jun 14, 2021

Facing the same issue, almost a decade later, with Processing 3.5

I have attempted to recompile the library, but the issue persists. There must be some format changes to the way Processing handles libraries. I imagine the way to go about fixing this would be to look at the Processing Example Library repository, and recompile this project to follow that format.

In any case, if anyone from the future wants a simple fix. Just grab the img2opc.java file in the src folder of the Processing library, and then copy it into a new Processing tab. and remove the package line at the top. Then you can use it. The class which comprises the entire library is just a single file.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants