| 1 | BHand C++ software installation in Ubuntu 14.04 |
| 2 | |
| 3 | If you are using Ubuntu 14.04 (Trusty) in VirtualBox: |
| 4 | sudo apt-get install virtualbox-guest-dkms |
| 5 | |
| 6 | For all users of Ubuntu 14.04: |
| 7 | sudo apt-get install codeblocks build-essential wxgtk2.8-dev freeglut3-dev libpopt-dev libpoco-dev |
| 8 | cd |
| 9 | wget https://iftools.com/download/dtb/0.14/libctb-0.14.tar.gz |
| 10 | tar xvf libctb-0.14.tar.gz |
| 11 | cd libctb-0.14/build |
| 12 | mkdir release |
| 13 | sudo make DEBUG=0 GPIB=0 install |
| 14 | sudo cp ../include/ctb-0.14/*.h /usr/local/include/ctb-0.14/ |
| 15 | ldconfig |
| 16 | wget http://www.peak-system.com/fileadmin/media/linux/files/peak-linux-driver-7.14.tar.gz |
| 17 | tar xvf peak-linux-driver-7.14.tar.gz |
| 18 | cd peak-linux-driver-7.14 |
| 19 | make |
| 20 | sudo make install |
| 21 | sudo modprobe pcan |
| 22 | wget http://web.barrett.com/support/BarrettHand_Installer/bhand2015-06-02.tar.bz2 |
| 23 | tar xvjf bhand2015-06-02.tar.bz2 |
| 24 | |
| 25 | Launch Code::Blocks |
| 26 | Open the ~/BHand/API/BHand/BHand.cpb project file |
| 27 | Choose "Build:Select Target:Linux Release" |
| 28 | Build the project |
| 29 | |
| 30 | Open the ~/Bhand/bhcontrol/bhcontrol.cpb project file |
| 31 | Build the project |