wiki:DeployingWheelchairBCI2000

Version 7 (modified by sc, 8 years ago) (diff)

--

Deploying McHawking Wheelchair Code to BCI2000

Checkout Code

git clone ssh://root@puzzlebox.info:22/repo/robotics-release_hold.git

Deploy Copde

cp -rv robotics/wheelchair/bci2000/deploy/BCI2000 /usr/src/

cp -av BCI2000/src/core/Application/P3Speller/P3SpellerTask.cpp BCI2000/src/core/Application/P3Speller/P3SpellerTask.cpp.default

cp -rv /usr/src/development/robotics-hold_release/wheelchair/bci2000/deploy/BCI2000 /usr/src

Update Code

scripts/robotics-deploy_and_build.sh

Build Code

export QT_INCLUDE_DIR=/usr/lib64/qt47
export QT_QMAKE_EXECUTABLE=/usr/bin/qmake-qt47
export QTDIR=/usr/lib64/qt47

./Make\ Unix\ Makefiles.sh

make

Preparing the Environment

Configuring Git

git config --global user.name "Steve Castellotti" git config --global user.email sc@…

Checkout Code

cd ~
mkdir development

git clone ssh://username@puzzlebox.info/home/apps/repository/robotics.git

git clone ssh://username@puzzlebox.info/home/apps/repository/robotics-hold_release.git

Add Build Scripts to Path

cd ~
ln -s development/robotics/wheelchair/bci2000/scripts ~/bin

su -
ln -s development/robotics/wheelchair/bci2000/scripts ~/bin