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

Trying to access the LSL core library #10

Open
BRomans opened this issue May 22, 2024 · 2 comments
Open

Trying to access the LSL core library #10

BRomans opened this issue May 22, 2024 · 2 comments

Comments

@BRomans
Copy link

BRomans commented May 22, 2024

I have successfully installed the LSL plugin and I can ad Inlet and Outlet components.
However if I try to access the lsl_cpp.h library from code, I get the following error

Cannot open include file: 'lsl_cpp.h: No such file or directory'

Which I know to be untrue because I saw the file inside the plugin folder. What am I missing here?

@brifsttar
Copy link
Collaborator

From where are you calling lsl_cpp code? If it's from outside the plugin, did you properly configure the dependency to the LSL plugin (in the *.Build.cs file)?

I just checked, and the plugin includes those file as public dependencies, so callers outside the plugin should be able to include them.

@BRomans
Copy link
Author

BRomans commented May 22, 2024

I eventually did import liblsl in c++ manually inside the project and configured the *.Build.cs file on that folder. I will try also with the plugin but I ended up in a minor bug caused by implicit boolean conversion and I needed to modify the source to be able to build the project.

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