controlp5 icon indicating copy to clipboard operation
controlp5 copied to clipboard

Wont compile through java

Open hchasens opened this issue 5 years ago • 4 comments

Expected:

 All classes compile

Receaved:

 javac -cp src/core.jar .\src\controlP5\*.java 

 src\controlP5\ControlWindow.java:846: error: cannot find symbol
                         _myApplet.setBounds( 0 , 0 , _myApplet.width , _myApplet.height );
                                  ^
   symbol:   method setBounds(int,int,int,int)
   location: variable _myApplet of type PApplet

Solution:

Comment out _myApplet.setBounds(0, 0, _myApplet.width, _myApplet.height); on line 846 of ControlWindow.java

Explanation:

If one does a search for the function setBounds in PApplet.java they will find the function does not exist.

hchasens avatar Feb 10 '20 03:02 hchasens

@sojamo Same problem. Can you help with some instructions to compile a new jar to be used by Processing?

retiutut avatar Sep 08 '20 04:09 retiutut

See also:

https://stackoverflow.com/a/61959735/7207622

jeremydouglass avatar Sep 10 '20 04:09 jeremydouglass

Awesome, this worked! Able to modify and build!

retiutut avatar Sep 10 '20 21:09 retiutut

Sorry for the late response but I think #162 still solves this.

hchasens avatar Dec 12 '21 18:12 hchasens