Openbci_gui: Run it, But it show: please fix the size() line to continue.

Created on 14 Jun 2017  路  13Comments  路  Source: OpenBCI/OpenBCI_GUI

screen shot 2017-06-13 at 5 30 52 pm
screen shot 2017-06-13 at 5 31 05 pm

Run it, But it show: please fix the size() line to continue.

Most helpful comment

you just need to replace size () with surface.setSize () and for more information
https://github.com/processing/processing/wiki/Changes-in-3.0

All 13 comments

@neotim

Thanks for using and supporting the OpenBCI GUI!

_This issue seems like a missing dependency_

Did you configure the libraries correctly? (Show a screen shot of your preferences page in processing, I want to see your Sketchbook folder:. Then take a screen shot of that finder window where the Sketchbook folder is pointing to)

What version of Mac OS are you running?
What version of the GUI are you trying to run? (when did you download it?)

Thanks!

Thank you for your reply, these are screen shots:
screen shot 2017-06-14 at 10 27 32 am
screen shot 2017-06-14 at 10 28 25 am
screen shot 2017-06-14 at 10 28 49 am

// GUI for controlling the ADS1299-based OpenBCI
// Created: Chip Audette, Oct 2013 - May 2014
// Modified: Conor Russomanno & Joel Murphy, August 2014 - Dec 2014

Can you please show me a screen shot of /Users/devupload/Documents/Processing

Mine looks like this:
screen shot 2017-06-14 at 2 58 51 pm

ok, this is the screen shot of /Users/devupload/Documents/Processing:
screen shot 2017-06-14 at 3 20 58 pm

Can you please download processing 3.3 NOT 3.3.4 and let me know if that helps.

Your setup is correct...

now is processing 3.3, same error:

screen shot 2017-06-14 at 3 35 49 pm

So it looks like you have the new version of the GUI inside the old version the GUI. You should clone the gui into a new directory. The size error is coming from the old gui code...

yes, this old gui is from https://github.com/viguix/OpenBCI_GUI_Helicopter_Throttle
need to control copter.

I think that was done using processing 2.x not 3.

Closing this issue

now is processing 2.2.1:
screen shot 2017-06-14 at 5 34 06 pm

Glad to see you opened on @biomurph repo. He's good and will help. Good luck!

Same error with Processing 3.5.2

you just need to replace size () with surface.setSize () and for more information
https://github.com/processing/processing/wiki/Changes-in-3.0

Was this page helpful?
0 / 5 - 0 ratings

Related issues

cfausn picture cfausn  路  3Comments

rakansha picture rakansha  路  5Comments

lopezvaa picture lopezvaa  路  9Comments

jps2000 picture jps2000  路  3Comments

jps2000 picture jps2000  路  6Comments