No matter what I do, Processing just won’t find this library. No matter where I put it or how many renames I do, Processing can’t find it and I can’t find an alternative anywhere. I basically need it for the “Descriptive” class
I will try to see if I can compile it but make a note I have not done this before. But yeah, it is not obsolete as the source code is there. One needs to build the jar files. In Processing, they provide an Eclipse template. I don’t use Eclipse atm so I see if I can get it going.
Tagging @quark or @Kevin Is it possible to build a library using std java commands aka using java CLI?
@kfrajer Generally you need to put core.jar on your classpath, I use maven to build libraries, and you can obtain a usable core.jar from maven central thanks to Jeremy Laviole see his pom.xml here https://github.com/Rea-lity-Tech/Skatolo, where he builds a modified controlP5.
@apratt Here is the library with the proper jar. Just add the proper folders following the structure dictated by the Processing Wiki and it should work. I tested this lib (and its jar) with P3.3.7 on Win 10 OS.
@monkstone I will have to give it a try another day as I have to go to bed. Thxs for sharing the link.
In your previous post you have processing/libraries/papaya. So inside that folder you should find reference, examples, src and library. You need to place the jar inside the library folder. Or you can remove the whole papaya folder and use the one I loaded in github. Just ensure you follow the structure processing/Libraries/papaya.
On a side note. I tested the library using linearCorrelation.pde and it works. However, other provide exaples fail. The solution for most of them is easy. I tried UniqueExample.pde to show you what you need to do. You need to make sure all the PFonts are created inside setup(). The second change is to move the size() function from setup() to 'settings()`. After you implement these changes, everything should run smooth. So for instance (pseudo-code):
Thanks for the help. The code runs fine on my Mac. I get exactly what I want and the new window pops up clean, but I get an error when I run it on my Windows 7 PC. Not sure why that is. Its the same code, everything is in the same location. I posted a picture below to show the error I get. Anyone know why that is and a solution?