-
Notifications
You must be signed in to change notification settings - Fork 15
Description
Hello,
When trying to compile with MatLab r2020a and 11.0 i get this error:
Error using mex
[cboulay snipped out warnings]
/Users/soren/bci/liblsl-Matlab/bin/../mex/lsl_pull_chunk_d.c:99:13: error: implicitly declaring library function
'memcpy' with type 'void *(void *, const void *, unsigned long)' [-Werror,-Wimplicit-function-declaration]
memcpy(chunkptr,(*cur)->buffer,sizeof(double)*numchannels);
^
/Users/soren/bci/liblsl-Matlab/bin/../mex/lsl_pull_chunk_d.c:99:13: note: include the header <string.h> or explicitly
provide a declaration for 'memcpy'
5 warnings and 1 error generated.Error in build_mex (line 31)
mex('-I../../liblsl/include','-L.', libs{:}, ['../mex/', f.name]);
I'm using latest version of Xcode (12.3) and the lib-lsl is liblsl.1.14.0.dylib compiled by myself.
Any Hint?
Thanks!