Giter Site home page Giter Site logo

Comments (14)

cboulay avatar cboulay commented on August 24, 2024

That app has not yet been updated to do 'out of tree' builds with the new cmake structure. Sorry about that.

For now, it might work best if you do an 'in-tree' build, including the apps that you need.
From the labstreaminglayer root folder, do ...

mkdir build && cd build
cmake .. -G "Visual Studio 14 2015 Win64" -DLSL_LSLBOOST_PATH="lslboost" -DQt5_DIR=C:\Qt\5.11.1\msvc2015_64\lib\cmake\Qt5 -DBOOST_ROOT=C:\local\boost_1_67_0 -DLSLAPPS_LabRecorder=ON -DLSLAPPS_XDFBrowser=ON -DLSLAPPS_Emotiv=ON

Of course you should change the locations of Qt and Boost, and maybe the visual studio version too.

from lsl_archived.

SeanYXWang avatar SeanYXWang commented on August 24, 2024

Thanks cboulay. I got the application.

from lsl_archived.

SeanYXWang avatar SeanYXWang commented on August 24, 2024

Hi @cboulay

After I run the LSLEmotiv.exe it says I missing Qt5Widgets.dll Qt5Gui.dll liblsl64.dll edk.dll etc...
I try to copy all those files to LSLEmotiv.exe directory, but the dll seems missing a lot

Do you know what is the problem for this?

from lsl_archived.

tstenner avatar tstenner commented on August 24, 2024

Same cause, different problem :)
I'll update this once I get back on Monday or Tuesday

from lsl_archived.

SeanYXWang avatar SeanYXWang commented on August 24, 2024

@tstenner Thanks, I'll keep an eye on your post.

from lsl_archived.

tstenner avatar tstenner commented on August 24, 2024

I've update the CMake configuration in https://github.com/labstreaminglayer/App-emotiv/tree/cmake_update, let me know if it works for you.

from lsl_archived.

SeanYXWang avatar SeanYXWang commented on August 24, 2024

I regenerated the project use "in-tree" build with the updated Cmake file.
The project is built successfully. All DLLs are within the directory of Emotiv.exe,
When I run the .exe application, I get an error message that says “The application was unable to start correctly” accompanied by an error code (0xc000007b)

from lsl_archived.

tstenner avatar tstenner commented on August 24, 2024

Did you make the install target (cmake --build . --target install)?
Qt needs some additional steps this takes care of.

Otherwise, could you check with the Dependency Walker if all dependencies are found?

from lsl_archived.

SeanYXWang avatar SeanYXWang commented on August 24, 2024

The Dependency Walker pointed out my problem, I was using the 32bit edk.dll instead of 64bit edk.dll. After replacing the dll with the correct version. the application opens correctly. Thanks @tstenner for providing the solutions.

Just another information I got from the Emotiv developer the current emotiv app (sdk 3.3.2) hasn't been updated to sdk 3.5.x yet. Under labstreaminglayer/Apps/emotiv/mainwindow.cpp
line 104: IEE_DataUpdateHandle(0, hData);. it calls to userID = 0 which they don't use anymore in SDK 3.5.

from lsl_archived.

cboulay avatar cboulay commented on August 24, 2024

Please find out how I can get that version of the Sdk then I will happily update the LSL app.

from lsl_archived.

SeanYXWang avatar SeanYXWang commented on August 24, 2024

Hi @cboulay

Please see this link: https://github.com/Emotiv/community-sdk

from lsl_archived.

cboulay avatar cboulay commented on August 24, 2024

@SeanYXWang Oh! Last time I looked they didn't support raw data streams so I was stuck using the SDK that I could only download from their website. It seems that the community sdk now supports raw multichannel data. I will try to get to this soon but I'm a bit overwhelmed at the moment; realistically I won't have time until November at the earliest. You're welcome to have a go at it earlier if you like and I'll take a look.

from lsl_archived.

cboulay avatar cboulay commented on August 24, 2024

I think the original issue is solved (thanks @tstenner !).
If you want to open an issue to update the emotiv app to the latest community-sdk (or better yet, a pull request), please do so within its submodule:
https://github.com/labstreaminglayer/App-emotiv

from lsl_archived.

SeanYXWang avatar SeanYXWang commented on August 24, 2024

Sure. Thanks @cboulay @tstenner

from lsl_archived.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.