OpenBCI GUI, Windows zip/exe's broken, use Processing source

shivasongstershivasongster Philadelphia
edited August 2016 in OpenBCI_GUI
Blocked my morning to work on getting up and running with my 8 bit kit. Had previously downloaded everything for Processing to make sure that was done. Then today noticed there is a Windows app, so tried running that. I double click and nothing happens. Anyone else having issues with the 64 bit app on Win 8.1?
«1

Comments

  • application.windows64.zip doesn't work on Windows 7 either. No visible window, no error message, no log file in any obvious place.

    Conor said in another thread that might be because the application was exported on a Mac (which we could guess from the __MACOSX files left over in the zipfile). I'll see if I can export it on Windows and if that makes a difference.

  • No luck. On Windows 7 (64-bit) OpenBCI_GUI works for me if I grab it from github and launch it using Processing 2.2.1, but when I export it from there, the resulting .exes don't work. With or without the "embed java" option.
  • OK, thanks for the response. I'm using the Processing sketch for now. Seems to run slow, and my machine is pretty robust. At least I know I am not the only one who noticed the Win issue.
  • Unfortunately, I do encounter the exact same problem. 
  • edited December 2014

    As above :

    application.windows64.zip doesn't work on my Windows 8.1 laptop.

    OpenBCI processing works fine (downloaded from the GitHub repository).

  • Same problem for me:( The only solution is sketch?
  • The 32 bit version does not work on Windows 7 as well, seems like a bad build
  • SifengSifeng China,Beijing
    Same problem for me.
  • edited December 2014
    Hi all,

    unfortunately I have the same troubles. Now I tried to run OpenBCI-GUI via processing but it complains "the function setVisible(boolean)doesn't exist" Anybody knows how to solve this? I couldn't find any detailed information. If anybody has a link it would be great.

    Thanks in advance

    I tried everything in this thread but it didn't help
    http://openbci.com/index.php/forum#/discussion/189/processing-gui-unknown-functions-libraries-path

    both libraries are added and it is not complaining anymore that libraries are missing (as it did before) but anyway there is still this error left.
  • "setVisible(boolean)doesn't exist" is the error I got when using the new version of controlP5 instead of the older version that comes bundled with the OpenBCI_GUI source.
  • So I have to ask... doesn't this stuff get tested before it is released? I know it is open source, and it is a rather niche community... but doesn't this all seem a bit odd? I have some other comments about the software side, but will leave them for another thread. Wouldn't mind partnering with some other newbies (who are otherwise experienced/telented when it comes to tech) who are trying to make sense of all this.
  • wjcroftwjcroft Mount Shasta, CA
    Shiva, hi.  The source download on Github runs fine when installed with the bundled libraries.  As an open source project we would welcome your modifications and fixes.

    As you can imagine tracking the changes in other open source projects (such as controlP5), adds another element of complexity / coordination. Or similarly, the inability of the Processing compiler to build a self contained app. These are libraries and projects beyond our immediate control.

    The pre-built apps were only provided (recently) as a convenience factor, since full source has always been available. From the original Kickstarter campaign, ("An Open Source Brain-Computer Interface For Makers") -- the emphasis has always been on the DIY community and their ability to create / build, given the basic elements.

    Have you been able to test and run ok with your OpenBCI board and GUI there?

    Regards, William
  • Unfortunately it also doesn't work if I use the included libraries... I will try again later to see if I can fix this. Anyway I would be very happy if somebody can help me.

    Best
  • @William

    Let me take a step back and just say I am grateful to even have some connection to this community, and I am sure it will do great things.

    I got the Processing sketch working, and very very preliminary data. The electrodes without a head cap are very clunky, and it's nearly impossible to use AND manipulate the software. This was a lesson learned, and I will pull in a second person next time I sit down with this.

    More thoughts on a separate threat - perhaps geared towards newbies like me. Thinking it should be feature requests and documentation needs.
  • Hi Guys ,
    the setVisible problem is due to use of incorrect controlP5 library, please use the two libraries provided with the repo on git.

    I believe the path you gave is only partially correct, when I downloaded processing it came in as a zip file, when I extract this zip, there is no folder called libraries, which made me explore (it is lib instead at the root in case you were curious).

    I figured the correct path for processing to find these libraries is inside the mode>java as shown below

    C:\PlayTime\OpenBCI\processing-2.0.3\modes\java\libraries\<your libraries here>

    Also a pointer, please do not download the 64 bit processing as the "ser" module is incompatible with that.
    A pointer for good programming: please do not use obscure fonts inside the code unless you plan to package and ship them, Now my GUI is stuck at :
    Stable Library
    =========================================
    Native lib Version = RXTX-2.1-7
    Java lib Version   = RXTX-2.1-7
    Problem createFont(Raleway-SemiBold.otf)
    java.awt.FontFormatException: Unsupported sfnt C:\Users\Dhruv\AppData\Local\Temp\+~JF1606733624524682047.tmp

    I installed the required fonts and the error still won't go away
    I am using Windows8.1 64bit with a 32 bit processing 2.0.3 (in case you are wondering how to get the old version, just hack the download link: here it is for convenience http://download.processing.org/processing-2.0.3-windows32.zip)

    I'll update when I get it working
    Regards
    Dhruv
  • hey,
    On windows7 64bit, this worked for me:

    Downloaded and installed current JRE (jre-8u25-windows-x64.exe)
    Downloaded and unzipped processing-2.2.1-windows64.zip (current version),
    Downloaded openbci git zip as of today,
    Went to the processing menu 'file/preferences' and pointed the 'sketchbook location' to the 'OpenBCI_Processing-master' folder,
    Then ran 'OpenBCI_GUI.pde'
    And all was good.

    Thanks to the OpenBCI team!
  • Thanks sparki, that worked for me.
  • Woah! Thanks a bunch sparki, that worked like a charm :)
  • I have to use windows 8 at the moment so I need this to work just to
    test it out. However it does not and I was under the impression that it
    would at least collect data for you. Ive tried opening with processing source but i get an error message with that too.
    Is this just really an OS issue.
    I which case should I just fix one of my old desktops with a GNU OS?
    Really do not much wanna have to spend so much time problems that I dont
    really understand.

    :(
  • hey...I think it unlikely a win8 issue. Can you post details of what you've tried and how it doesnt work?
  • As above on unzipped GUI download 64bit. nothing happens and continues, why there is no error message is curious. Processing 2.2.1 states cannot find a class or type named "OpenBCI_ADS1299"
  • Regarding Processing, the file which contains the class is:
    'OpenBCI_Processing-master\OpenBCI_GUI\OpenBCI_ADS1299.pde' which is in the same directory as 'OpenBCI_GUI.pde' which you must have to even run it at all. Therefore likely you need to check in the Processing menu item 'file/preferences' that the 'sketchbook location' is pointed to the 'OpenBCI_Processing-master' folder.

    Other than that I can suggest no more.
  • 'OpenBCI_Processing-master' folder. I dont see this file. I have the files download from the webpage. Did you download somewhere different?
  • Glad to see people are up-and-running with Processing. I'm still digging into why the .exe files aren't working for Windows. I've been digging through Processing's forum, but can't find anything relevant. If anyone has insight into this, please share.

    stevebaldwin and others trying to get up-and-running with processing: 

    First, download the "OpenBCI_Processing" repo here: https://github.com/OpenBCI/OpenBCI_Processing

    It will appear as 'OpenBCI_Processing-master' once you've downloaded it. After that:
     1) follow the instructions for downloading/installing processing (https://processing.org/download/?processing)
     2) then copy and paste the 'controlP5' and 'gwoptics' libraries from OpenBCI_Processing-master/libraries into your Documents/Processing/libraries directory (if /libraries doesn't exist create it)
     3) then copy and paste OpenBCI_GUI from OpenBCI_Processing-master into your Documents/Processing directory
     4) Finally open any of the .pde files in /OpenBCI_GUI with Processing and run the app
     5) Voila!

    Conor
  • Hi Conor,
    Yes just needed that file :)
    Thanks really looking forward to taking my first data.
    Will report on the forum asap.

    thanks again.

    steve
  • No problem! Good luck. : )
  • Hi Conor,

    Thanks for your assistance above. I've just received my board and am trying to get up and running, am having the same exe problem as other people on windows 8. I've followed your directions and now receive the following error:
    Libraries must be installed in a folder named 'libraries' inside the 'sketchbook' folder.

    Please help!

    Kind Regards

    Leigh
  • Scratch that, I fixed it by installing everything into the documents\processing directory. Thanks!
  • edited January 2015
    Hi again,

    got hings working on my laptop but now I want to run it on desktop PC and I have some problems again.
    I can run the pde file with processing but it always starts to replay data. I have no chance to read from the dongle. The layout of the program is also different then the one that I had on my laptop. Any Idea?

    When I try to run the pde file that is part of the application/source download I recieve errors about missing fonts.

    Thanks

    Best
    Knut
  • I figured out why things were not working. It seems like there are different versions of the program floating around in the web. If I use the link in the doc-tutorial section everythings works and the gui looks normal (channels left side power spectra right side together with the electrode position overview). Unfortunately I do not remember where I downloaded the files before but they were also older.

    Best,
    Knut


Sign In or Register to comment.