Set up dev environment (Linux) + fix CMake configure break#1
Open
CommanderPho wants to merge 2 commits into
Open
Set up dev environment (Linux) + fix CMake configure break#1CommanderPho wants to merge 2 commits into
CommanderPho wants to merge 2 commits into
Conversation
…igure A bad merge left an unterminated add_executable(LabRecorderCLI ...) with a duplicate nested add_executable inside the if(APPLE) branch, causing a 'Parse error. Function missing ending ")".' on every platform. Remove the stray duplicate so the file parses and the project configures/builds. Co-authored-by: Pho Hale <CommanderPho@users.noreply.github.com>
Co-authored-by: Pho Hale <CommanderPho@users.noreply.github.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Sets up the development environment for LabRecorder (C++/Qt6 LSL recorder) on Linux and verifies it builds and runs end-to-end.
Two code changes were required:
CMakeLists.txt— Fixed a malformedif(APPLE)block (a bad merge left an unterminatedadd_executable(LabRecorderCLI ...)with a duplicate nestedadd_executable). This causedParse error. Function missing ending ")"on every platform, blocking all configures/builds. Removed the stray duplicate.AGENTS.md— Added with Cursor Cloud specific build/run instructions and non-obvious caveats (defaultc++is clang → needslibstdc++-14-dev; committedLabRecorder.cfghas a non-writable Windows save path; how to run an LSL sender + record via CLI/GUI).Environment
build-essential,cmake,qt6-base-dev,freeglut3-dev,libpugixml-dev,libstdc++-14-dev, plusliblsl(1.16.2 noble.deb, matching CI).cmake --preset linux-gcc-release+cmake --build --preset linux-release -j.Verification
LabRecorder,LabRecorderCLI,xdfwriter,testxdfwriter).testxdfwriterruns (exit 0, writestest.xdf).liblslEEG sender, recorded withLabRecorderCLI out.xdf 'type="EEG"'→ validXDF:file containingTestEEG/EEG.LabRecorder, discoveredTestEEGvia Update, set a writable save path, Start → record → Stop → 70 KB valid XDF.labrecorder_gui_recording_demo.mp4
GUI recording an LSL stream to XDF (status bar shows growing file size, then Stopped):
GUI recording in progress
GUI recording stopped
To show artifacts inline, enable in settings.