Version 2 (modified by bz, 7 years ago) (diff)


BHand C++ software installation in Ubuntu 14.04

If you are using Ubuntu 14.04 (Trusty) in VirtualBox:

sudo apt-get install virtualbox-guest-dkms

For all users of Ubuntu 14.04, install the dependencies:

sudo apt-get install codeblocks build-essential wxgtk2.8-dev freeglut3-dev libpopt-dev libpoco-dev

Install the CTB serial port library:

tar xvf libctb-0.14.tar.gz
cd libctb-0.14/build
mkdir release
sudo make DEBUG=0 GPIB=0 install
sudo cp ../include/ctb-0.14/*.h /usr/local/include/ctb-0.14/

Install the Peak CAN driver:

tar xvf peak-linux-driver-7.14.tar.gz
cd peak-linux-driver-7.14
sudo make install
sudo modprobe pcan

Install the BHand API and BHControl GUI source code:

tar xvjf bhand2015-06-02.tar.bz2

Build the API and GUI:

Launch Code::Blocks
Open the ~/BHand/API/BHand/BHand.cpb project file
Choose "Build:Select Target:Linux Release"
Build the project

Open the ~/Bhand/bhcontrol/bhcontrol.cpb project file
Build the project