Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Closed
NeoTim opened this issue Jun 14, 2017 · 13 comments
Closed

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

NeoTim opened this issue Jun 14, 2017 · 13 comments

Comments

@NeoTim
Copy link

NeoTim commented Jun 14, 2017

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.

@andrewjaykeller
Copy link

@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!

@NeoTim
Copy link
Author

NeoTim commented Jun 14, 2017

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

@andrewjaykeller
Copy link

andrewjaykeller commented Jun 14, 2017

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

@NeoTim
Copy link
Author

NeoTim commented Jun 14, 2017

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

@andrewjaykeller
Copy link

andrewjaykeller commented Jun 14, 2017

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

Your setup is correct...

@NeoTim
Copy link
Author

NeoTim commented Jun 14, 2017

now is processing 3.3, same error:

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

@andrewjaykeller
Copy link

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...

@NeoTim
Copy link
Author

NeoTim commented Jun 14, 2017

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

@andrewjaykeller
Copy link

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

Closing this issue

@NeoTim
Copy link
Author

NeoTim commented Jun 15, 2017

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

@andrewjaykeller
Copy link

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

@ronnyandre
Copy link

Same error with Processing 3.5.2

@Redha-Ferradji
Copy link

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants