incomplete openFrameworks addon for LabStreamingLayer
Forks
Forks pushed to more recently than moostrik/ofxLSL itself, plus any admin-confirmed fork with commits of its own — worth checking if you're hitting issues with the original.
Branches ahead of master
These branches have commits not yet on master — could be unmerged fixes or work in progress worth a look.
README
About ofxLSL
tested on ubuntu 20.04 using liblsl 1.14INSTALL LINUX#
Clone labstreaminglayer and submodules from from Githubgit clone --recursive git@github.com:sccn/labstreaminglayer.git Build and install with cmake-gui cd labstreaminglayer &&
mkdir build && cd build
cmake-gui .. make -jnproc sudo make install sudo ldconfig Copy lib to addon (use cp -P to preserve Link) cp -P LSL/liblsl/liblsl. [your location of OF addons]/ofxLSL/libs/labstreaminglayer/lib/linux64 Copy include to addon (use cp -P to preserve Link) cp -r ../LSL/liblsl/include [your location of OF addons]/ofxLSL/libs/labstreaminglayer/INSTALL MAC#
download OSX lsl lybrary from Github Copy dylib to addon 'libs/labstreaminglayer/lib/osx/' Copy include to addon 'libs/labstreaminglayer/include/' build example with projectgenerator add
Run Script to Build Phases with the following lines rsync -aved "$OF_PATH/addons/ofxLSL/libs/labstreaminglayer/lib/osx/liblsl.1.14.0.dylib" "$TARGET_BUILD_DIR/$PRODUCT_NAME.app/Contents/Frameworks/";
ofxAddons