import controlP5.*;
ControlP5 gui;
void setup()
{
gui = new ControlP5(this);
}
The previous code, when run in Processing.js gave the error: "Uncaught Processing.js: Unable to execute pjs sketch: ReferenceError: ControlP5 is not defined" even though ControlP5 is installed on my computer. Can anyone please help me to make this problem go away so that I can use ControlP5 in Processing.js?