Cannot find a class or type named "ControlFrame"

hi, I’m try an example find on : “http://www.sojamo.de/libraries/controlP5/examples/extra/ControlP5frame/ControlP5frame.pde
and obtain an error code: cannot find a class or type named “ControlFrame”.
Does someone have an idea to resolve this?


best regards
Luc

This example is over 7 years old I suspect that ControlFrame has been replaced with something else in a later version.

Always use the latest version of a library and look at the examples that come with it.

Thanks for your reply Quark, but I tried an old program witch use ControlFrame and it works and it works with same processing version an same libraries???

This sketch runs in Processing 2.2.1 (I tried it) but does work in Processing 3.5.4

Thanks Quark, I actually use 2.1.2 version because I’m afraid all my old programs could find bugs with new versions, but I know it’s not a good practice and I’ll take time to update the processing version and review my programs.
But anyway “I tried an old program witch use ControlFrame and it works with same processing version an same libraries???” I continue to searche the reason and tell you if I find.
have a good weekend
Luc

Under the hood there were massive important differences between Processing 2 and Processing 3 and many libraries had to be modified to work with Processing 3. I had to completely rewrite the guts of my own library G4P to make it V3 compatible.

It does mean that some sketches created in Processing 2 with P2 compatible libraries will not run in P3 even with updated libraries without changing the sketch code. In some cases the effort in modifying the sketch might be quite significant or complex.