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

Not able to compile BCILAB on macOS 10.15.6 Catalina and MATLAB 2020a #69

Open
rajshekarreddy97 opened this issue Jul 27, 2020 · 0 comments

Comments

@rajshekarreddy97
Copy link

I'm getting the following error although I have XCode and Xcode Command Line Tools installed.

Compiling the function/class arraydeal...failed.
Compiling the function/class cummax...failed.
All files in /Volumes/Reddy/Matlab Files/BCILAB-master/dependencies/mexutils-2013-11-11 failed to build; this indicates a problem in your build environment/settings.

In case you need to use a better / fully supported compiler, please have a look at:
http://www.google.com/search?q=matlab+supported+compilers+2020a

On Linux/UNIX, the best choice is usually a supported version of the GCC compiler suite.
Compiling the function/class .lbfgs...failed.
Please make sure that you have a supported compiler and that your build environment is set up correctly.
Also, please consider reporting this issue.
Loading /Volumes/Reddy/Matlab Files/BCILAB-master/dependencies/eeglab_10_0_1_0x...
Warning: Adding folders named 'resources' to the path is not supported: /Volumes/Reddy/Matlab Files/BCILAB-master/dependencies/eeglab_10_0_1_0x/functions/resources

In path (line 109)
In addpath (line 86)
In eeglab>myaddpath (line 1741)
In eeglab (line 242)
In run_script (line 123)
In env_load_dependencies>runscript (line 225)
In env_load_dependencies>load_dependencies (line 147)
In env_load_dependencies (line 78)
In env_startup (line 224)
In bcilab (line 115)
eeglab: options file is /Volumes/Reddy/Matlab Files/BCILAB-master/dependencies/eeglab_10_0_1_0x/functions/adminfunc/eeg_options.m
Error running dependency loader /Volumes/Reddy/Matlab Files/BCILAB-master/dependencies/eeglab_10_0_1_0x/env_exec.m; reason: supergui error: argument 'fig' must be numeric
The dependency will likely not be fully operational.
Loading /Volumes/Reddy/Matlab Files/BCILAB-master/dependencies/cvx-1.21.b795...

Attempting to generate the CVX MEX files...

mex -O -largeArrayDims ._cvx_bcompress_mex.c
Building with 'Xcode with Clang'.
mex -O -largeArrayDims ._cvx_eliminate_mex.c
Building with 'Xcode with Clang'.
mex -O -largeArrayDims cvx_bcompress_mex.c
Building with 'Xcode with Clang'.
xcrun: error: SDK "macosx10.15.4" cannot be located

xcrun: error: SDK "macosx10.15.4" cannot be located

xcrun: error: SDK "macosx10.15.4" cannot be located

MEX completed successfully.
mex -O -largeArrayDims cvx_eliminate_mex.c
Building with 'Xcode with Clang'.
xcrun: error: SDK "macosx10.15.4" cannot be located
/Volumes/Reddy/Matlab Files/BCILAB-master/dependencies/cvx-1.21.b795/lib/cvx_eliminate_mex.c:126:23: warning: add explicit braces to avoid dangling else [-Wdangling-else]
} else {
^
/Volumes/Reddy/Matlab Files/BCILAB-master/dependencies/cvx-1.21.b795/lib/cvx_eliminate_mex.c:145:81: warning: '&&' within '||' [-Wlogical-op-parentheses]
if ( temp > c_max || temp == c_max && row_flags[rb] && !row_flags[tr] ) {
~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~
/Volumes/Reddy/Matlab Files/BCILAB-master/dependencies/cvx-1.21.b795/lib/cvx_eliminate_mex.c:145:81: note: place parentheses around the '&&' expression to silence this warning
if ( temp > c_max || temp == c_max && row_flags[rb] && !row_flags[tr] ) {
^
( )
2 warnings generated.

xcrun: error: SDK "macosx10.15.4" cannot be located

xcrun: error: SDK "macosx10.15.4" cannot be located

MEX completed successfully.
ERROR: One or more of cvx's required MEX files could not be generated.
This is likely because your MEX system has not been properly configured.
Please consult the MATLAB documentation for details on how to do this.
Compiling the function/class ._ChunkReader...
warning: [options] bootstrap class path not set in conjunction with -source 1.6
._ChunkReader.java:1: error: unmappable character for encoding UTF8
^
._ChunkReader.java:1: error: unmappable character for encoding UTF8
^
._ChunkReader.java:1: error: unmappable character for encoding UTF8
^
._ChunkReader.java:1: error: unmappable character for encoding UTF8
^
._ChunkReader.java:1: error: unmappable character for encoding UTF8
^
._ChunkReader.java:1: error: unmappable character for encoding UTF8
^
._ChunkReader.java:1: error: unmappable character for encoding UTF8
^
._ChunkReader.java:1: error: illegal character: '\u0000'
^
._ChunkReader.java:1: error: illegal character: '\u0005'
^
._ChunkReader.java:1: error: illegal character: '\u0016'
^
._ChunkReader.java:1: error: illegal character: '\u0007'
^
._ChunkReader.java:1: error: illegal character: '\u0000'
^
._ChunkReader.java:1: error: illegal character: '\u0002'
^
._ChunkReader.java:1: error: illegal character: '\u0000'
^
._ChunkReader.java:1: error: illegal character: '\u0000'
^
._ChunkReader.java:1: error: class, interface, or enum expected
^
._ChunkReader.java:1: error: illegal character: '\u0000'
^
._ChunkReader.java:1: error: illegal character: '\u0002'
^
._ChunkReader.java:1: error: illegal character: '\u0000'
^
._ChunkReader.java:1: error: illegal character: '\u0000'
^
._ChunkReader.java:1: error: illegal character: '\u0000'
^
._ChunkReader.java:1: error: illegal character: '\u0000'
^
._ChunkReader.java:1: error: illegal character: '\u0000'
^
._ChunkReader.java:1: error: illegal character: '\u0000'
^
._ChunkReader.java:1: error: illegal character: '\u0000'
^
._ChunkReader.java:1: error: illegal character: '\u0000'
^
._ChunkReader.java:1: error: illegal character: '\u000e'
^
._ChunkReader.java:1: error: illegal character: '\u0000'
^
._ChunkReader.java:1: error: illegal character: '\u0000'
^
._ChunkReader.java:1: error: illegal character: '\u0000'
^
._ChunkReader.java:1: error: illegal character: '\u0002'
^
._ChunkReader.java:1: error: illegal character: '\u0000'
nally left blank ._ChunkReader.java:1: error: illegal character: '\u0001'
ork intentionally left blank ._ChunkReader.java:1: error: illegal character: '\u0000'
^
._ChunkReader.java:1: error: illegal character: '\u0000'
^
._ChunkReader.java:1: error: illegal character: '\u0000'
^
._ChunkReader.java:1: error: illegal character: '\u0000'
^
._ChunkReader.java:1: error: illegal character: '\u0000'
^
._ChunkReader.java:1: error: illegal character: '\u0000'
^
._ChunkReader.java:1: error: illegal character: '\u0000'
^
._ChunkReader.java:1: error: illegal character: '\u0000'
^
._ChunkReader.java:1: error: illegal character: '\u0000'
^
._ChunkReader.java:1: error: illegal character: '\u0000'
^
._ChunkReader.java:1: error: illegal character: '\u0000'
^
._ChunkReader.java:1: error: illegal character: '\u0000'
^
._ChunkReader.java:1: error: illegal character: '\u0000'
^
._ChunkReader.java:1: error: illegal character: '\u0000'
^
._ChunkReader.java:1: error: illegal character: '\u0000'
._ChunkReader.java:1: error: illegal character: '\u0000'
^
._ChunkReader.java:1: error: illegal character: '\u0000'
._ChunkReader.java:1: error: illegal character: '\u0000'
^
._ChunkReader.java:1: error: illegal character: '\u0000'
^
._ChunkReader.java:1: error: illegal character: '\u0000'
^
._ChunkReader.java:1: error: illegal character: '\u0000'
^
._ChunkReader.java:1: error: illegal character: '\u0000'
^
._ChunkReader.java:1: error: illegal character: '\u0000'
^
._ChunkReader.java:1: error: illegal character: '\u0000'
^
._ChunkReader.java:1: error: illegal character: '\u0000'
^
._ChunkReader.java:1: error: illegal character: '\u0000'
^
._ChunkReader.java:1: error: illegal character: '\u0000'
^
._ChunkReader.java:1: error: illegal character: '\u0000'
^
._ChunkReader.java:1: error: illegal character: '\u0000'
^
._ChunkReader.java:1: error: illegal character: '\u0000'
^
._ChunkReader.java:1: error: illegal character: '\u0000'
^
._ChunkReader.java:1: error: illegal character: '\u0000'
^
._ChunkReader.java:1: error: illegal character: '\u0000'
^
._ChunkReader.java:1: error: illegal character: '\u0000'
^
._ChunkReader.java:1: error: illegal character: '\u0000'
^
._ChunkReader.java:1: error: illegal character: '\u0000'
^
._ChunkReader.java:1: error: illegal character: '\u0000'
^
._ChunkReader.java:1: error: illegal character: '\u0000'
^
._ChunkReader.java:1: error: illegal character: '\u0000'
^
._ChunkReader.java:1: error: illegal character: '\u0000'
^
._ChunkReader.java:1: error: illegal character: '\u0000'
^
._ChunkReader.java:1: error: illegal character: '\u0000'
^
._ChunkReader.java:1: error: illegal character: '\u0000'
^
._ChunkReader.java:1: error: illegal character: '\u0000'
^
._ChunkReader.java:1: error: illegal character: '\u0000'
^
._ChunkReader.java:1: error: illegal character: '\u0000'
^
._ChunkReader.java:1: error: illegal character: '\u0000'
^
._ChunkReader.java:1: error: illegal character: '\u0000'
^
._ChunkReader.java:1: error: illegal character: '\u0000'
^
._ChunkReader.java:1: error: illegal character: '\u0000'
^
._ChunkReader.java:1: error: illegal character: '\u0001'
^
._ChunkReader.java:1: error: illegal character: '\u0000'
^
._ChunkReader.java:1: error: illegal character: '\u0000'
^
._ChunkReader.java:1: error: illegal character: '\u0000'
^
._ChunkReader.java:1: error: illegal character: '\u0000'
^
._ChunkReader.java:1: error: illegal character: '\u0000'
^
._ChunkReader.java:1: error: illegal character: '\u0000'
^
100 errors
1 warning

failed.
Compiling the function/class ._Scheduler...
warning: [options] bootstrap class path not set in conjunction with -source 1.6
._Scheduler.java:1: error: unmappable character for encoding UTF8
^
._Scheduler.java:1: error: unmappable character for encoding UTF8
^
._Scheduler.java:1: error: unmappable character for encoding UTF8
^
._Scheduler.java:1: error: unmappable character for encoding UTF8
^
._Scheduler.java:1: error: unmappable character for encoding UTF8
^
._Scheduler.java:1: error: unmappable character for encoding UTF8
^
._Scheduler.java:1: error: unmappable character for encoding UTF8
^
._Scheduler.java:1: error: illegal character: '\u0000'
^
._Scheduler.java:1: error: illegal character: '\u0005'
^
._Scheduler.java:1: error: illegal character: '\u0016'
^
._Scheduler.java:1: error: illegal character: '\u0007'
._Scheduler.java:1: error: illegal character: '\u0000'
^
._Scheduler.java:1: error: illegal character: '\u0002'
^
._Scheduler.java:1: error: illegal character: '\u0000'
^
._Scheduler.java:1: error: illegal character: '\u0000'
^
._Scheduler.java:1: error: class, interface, or enum expected
^
._Scheduler.java:1: error: illegal character: '\u0000'
^
._Scheduler.java:1: error: illegal character: '\u0002'
^
._Scheduler.java:1: error: illegal character: '\u0000'
._Scheduler.java:1: error: illegal character: '\u0000'
^
._Scheduler.java:1: error: illegal character: '\u0000'
^
._Scheduler.java:1: error: illegal character: '\u0000'
^
._Scheduler.java:1: error: illegal character: '\u0000'
^
._Scheduler.java:1: error: illegal character: '\u0000'
^
._Scheduler.java:1: error: illegal character: '\u0000'
^
._Scheduler.java:1: error: illegal character: '\u0000'
^
._Scheduler.java:1: error: illegal character: '\u000e'
._Scheduler.java:1: error: illegal character: '\u0000'
._Scheduler.java:1: error: illegal character: '\u0000'
^
._Scheduler.java:1: error: illegal character: '\u0000'
._Scheduler.java:1: error: illegal character: '\u0002'
^
._Scheduler.java:1: error: illegal character: '\u0000'
^
._Scheduler.java:1: error: illegal character: '\u0000'
^
._Scheduler.java:1: error: illegal character: '\u000e'
^
._Scheduler.java:1: error: illegal character: '\u0000'
^
._Scheduler.java:1: error: illegal character: '\u0000'
^
._Scheduler.java:1: error: illegal character: '\u0001'
._Scheduler.java:1: error: illegal character: '\u001e'
^
._Scheduler.java:1: error: illegal character: '\u0000'
^
._Scheduler.java:1: error: illegal character: '\u0000'
^
._Scheduler.java:1: error: illegal character: '\u0000'
^
._Scheduler.java:1: error: illegal character: '\u0000'
^
._Scheduler.java:1: error: illegal character: '\u0000'
^
._Scheduler.java:1: error: illegal character: '\u0000'
^
._Scheduler.java:1: error: illegal character: '\u0000'
^
._Scheduler.java:1: error: illegal character: '\u0000'
^
._Scheduler.java:1: error: illegal character: '\u0000'
�This resource fork intentionally left blank ^
._Scheduler.java:1: error: illegal character: '\u0000'
._Scheduler.java:1: error: illegal character: '\u0000'
^
._Scheduler.java:1: error: illegal character: '\u0000'
._Scheduler.java:1: error: illegal character: '\u0000'
^
._Scheduler.java:1: error: illegal character: '\u0000'
._Scheduler.java:1: error: illegal character: '\u0000'
^
._Scheduler.java:1: error: illegal character: '\u0000'
^
._Scheduler.java:1: error: illegal character: '\u0000'
^
._Scheduler.java:1: error: illegal character: '\u0000'
^
._Scheduler.java:1: error: illegal character: '\u0000'
^
._Scheduler.java:1: error: illegal character: '\u0000'
._Scheduler.java:1: error: illegal character: '\u0000'
^
._Scheduler.java:1: error: illegal character: '\u0000'
^
._Scheduler.java:1: error: illegal character: '\u0000'
^
._Scheduler.java:1: error: illegal character: '\u0000'
^
._Scheduler.java:1: error: illegal character: '\u0000'
^
._Scheduler.java:1: error: illegal character: '\u0000'
^
._Scheduler.java:1: error: illegal character: '\u0000'
^
._Scheduler.java:1: error: illegal character: '\u0000'
._Scheduler.java:1: error: illegal character: '\u0000'
^
._Scheduler.java:1: error: illegal character: '\u0000'
^
._Scheduler.java:1: error: illegal character: '\u0000'
^
._Scheduler.java:1: error: illegal character: '\u0000'
^
._Scheduler.java:1: error: illegal character: '\u0000'
^
._Scheduler.java:1: error: illegal character: '\u0000'
^
._Scheduler.java:1: error: illegal character: '\u0000'
^
._Scheduler.java:1: error: illegal character: '\u0000'
^
._Scheduler.java:1: error: illegal character: '\u0000'
^
._Scheduler.java:1: error: illegal character: '\u0000'
^
._Scheduler.java:1: error: illegal character: '\u0000'
^
._Scheduler.java:1: error: illegal character: '\u0000'
^
._Scheduler.java:1: error: illegal character: '\u0000'
^
._Scheduler.java:1: error: illegal character: '\u0000'
._Scheduler.java:1: error: illegal character: '\u0000'
^
._Scheduler.java:1: error: illegal character: '\u0000'
^
._Scheduler.java:1: error: illegal character: '\u0000'
^
._Scheduler.java:1: error: illegal character: '\u0000'
^
._Scheduler.java:1: error: illegal character: '\u0000'
^
._Scheduler.java:1: error: illegal character: '\u0000'
^
._Scheduler.java:1: error: illegal character: '\u0000'
^
._Scheduler.java:1: error: illegal character: '\u0000'
^
._Scheduler.java:1: error: illegal character: '\u0000'
^
._Scheduler.java:1: error: illegal character: '\u0001'
^
._Scheduler.java:1: error: illegal character: '\u0000'
^
._Scheduler.java:1: error: illegal character: '\u0000'
^
._Scheduler.java:1: error: illegal character: '\u0000'
^
._Scheduler.java:1: error: illegal character: '\u0000'
^
._Scheduler.java:1: error: illegal character: '\u0000'
^
._Scheduler.java:1: error: illegal character: '\u0000'
^
100 errors
1 warning

failed.
All files in /Volumes/Reddy/Matlab Files/BCILAB-master/dependencies/Scheduling-1.1 failed to build; this indicates a problem in your build environment/settings.
Please make sure that your system's java configuration matches the one used by MATLAB (see "ver" command).
There were compiling problems for the dependencies in:
/Volumes/Reddy/Matlab Files/BCILAB-master/dependencies/mexutils-2013-11-11
/Volumes/Reddy/Matlab Files/BCILAB-master/dependencies/liblbfgs-2011-12-19
/Volumes/Reddy/Matlab Files/BCILAB-master/dependencies/Scheduling-1.1

This means that the affected features of BCILAB will be disabled.
These issues are usually resolved by installing the Xcode application that comes with your OS (with all install options to include gcc compiler support).
Should BCILAB try to recompile in the future (or skip recompilation if not)? [y/n]

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

1 participant