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

Error Loading liblsl Library #35

Open
SalIITGN opened this issue Nov 23, 2022 · 3 comments
Open

Error Loading liblsl Library #35

SalIITGN opened this issue Nov 23, 2022 · 3 comments

Comments

@SalIITGN
Copy link

I am trying to run a program from liblsl-Matlab to send strings.
However, I am receiving the error:
"Error loading the liblsl library: Undefined function 'lsl_loadlib_' for input arguments of type 'char'. Make sure liblsl-Matlab/bin is added to path and try running build_mex.m'

The directory has been added to the Matlab path.
I would be thankful for any help.
(I am using Windows platform.)

@cboulay
Copy link
Contributor

cboulay commented Nov 23, 2022

Do you have lsl.dll in that path? It's supposed to download automatically if it's missing, but maybe something is preventing it from downloading.

Get it from here: https://github.com/sccn/liblsl/releases

Another possibility is that the dll is somehow incompatible with Matlab, in which case you'll have to build the dll on your own using a compiler specified by Matlab as being compatible: https://www.mathworks.com/support/requirements/supported-compilers.html

@SalIITGN
Copy link
Author

SalIITGN commented Nov 24, 2022 via email

@cboulay
Copy link
Contributor

cboulay commented Nov 24, 2022

Please look here: sccn/labstreaminglayer#21

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

2 participants