sccn / BCILAB

MATLAB Toolbox for Brain-Computer Interface Research
Other
198 stars 120 forks source link

[OSX] Cannot compile dependencies; Cannot receive lsl stream. #37

Open mgroth0 opened 7 years ago

mgroth0 commented 7 years ago

OSX: 10.12.4 Matlab: R2015b (8.6.0.267246) 64-bit (maci64) Output of xcode-select -p: /Applications/Xcode.app/Contents/Developer xcode version: 8.2.1 Also just installed Matlab Runtime Environment, in case that's relevant.

Hi, I am a new user trying to receive an lsl stream from OpenBCI. I'd like to get BCILAB up and running ASAP so any help would be much appreciated. I'm also pretty new to Matlab in general, so I may have bloated this issue with a lot of unnecessary info.

Problems I face:

1) hlp_trycompile fails on every dependency making BCILAB unusable (which is why I included xcode info) 2) lsl hangs on the query

All the versions I tried:

Output/Results from each attempt

1.1 release

Runs without any printed errors.

...Until an attempt to read from lsl:

Error using supergui (line 122)
supergui error: argument 'fig' must be numeric

Error in inputgui (line 161)
            [tmp tmp2 allobj] = supergui( 'fig',
            fig, 'minwidth', 200, 'geomhoriz',
            g.geometry, 'uilist', g.uilist,
            'geomvert', [g.geomvert(:)' 1 1] );

Error in arg_guidialog (line 188)
[outs,dummy,okpressed] =
inputgui('geometry',geometry,
'uilist',uilist,'helpcom',['env_doc ' helptopic],
'title',dialogtitle,'geomvert',geomvert);
%#ok<ASGLU>

Error while evaluating Menu Callback

The above is described already in other issues but I am including it here just in case it is relevant.

current master branch

mlUnit has found a built-in assert functions.
Trying to rename mlUnit assert.m...not found.
Warning: Function cummax has the same name as a
MATLAB builtin. We suggest you rename the function
to avoid a potential name conflict. 
> In path (line 109)
  In addpath (line 88)
  In env_load_dependencies>load_dependencies (line 165)
  In env_load_dependencies (line 78)
  In env_startup (line 224)
  In bcilab (line 115) 
Compiling the function/class arraydeal...failed.
Compiling the function/class chopdeal...

this goes on for a long time, and every compile fails and when finally done BCILAB does not work. If more details will help here, I can attempt to wait for this whole thing again and take more notes, it just takes a very long time.

current devel branch

hangs on Looking for a device with Name='OpenBCI_EEG' ... and becomes unresponsive as described in this issue

current devel branch with lsl from 1.1

No change from before. Hangs on looking for a device just like the main devel branch despite it working for @iwalkdaline

current devel branch with haniawni's fix

This one I was the most hopeful for, but ran into compiler problems again:

UnLocBoX version 1.1.70. Copyright 2012-2013 LTS2-EPFL, by Nathanael Perraudin
Compiling the function/class lsl_append_child...failed.
Compiling the function/class lsl_append_child_value...

And so on...

Like before. Every compile fails, the whole thing takes forever, and BCILAB doesn't work in the end. Again if anyone wants me to go through the whole thing again and get more details I can do that.

I didn't include more details on the compiler fails because they take a very long time. I think one of them took an hour, but I forgot which one.