Compiling on Odroid » History » Revision 1

Revision 1/2 | Next »
Chaim Rieger, 01/12/2015 02:49 PM
Initial Draft

Compiling on Odroid

On the Odroid XU3 running Ubuntu 14.04 NDN, and NDF can be compiled directly on the hardware.

Install the essentials
sudo apt-get update
sudo apt-get install git vim
sudo apt-get install build-essential

The installed version of the boost-libs will not allow ndn-cxx to be compiled against them, therefore we must uninstall them. (And are not used by any currently installed software)
sudo apt-get remove libboost*
sudo apt-get autoremove

Temp build dir
mkdir /software

We need to download the latest version of the boost libraries from (currently at version 1.57
cd /software
download/save to current dir

unpack boost
tar xvfz boost_1_57_0.tar.gz

Install boost libraries
cd boost_1_xx_x
./ --with-libraries=all

This step will take a while, up to an hour.

Once the software is built we install it, the build process is comprised mostly of copying files (libraries) into the /usr/local structure
sudo ./b2 install

This step will only take about 3-5 minutes, and all the libraries, and includes are copied to /usr/local/lib and /usr/local/include

Once boost libs are installed we can install ndn-cxx

cd /software

git clone
cd ndn-cxx
./waf configure
./waf -j1
sudo ./waf install

Once ndn-cxx is installed we can proceed to NDF

cd /software
git clone --recursive
cd NDF
./waf configure
./waf -j1
sudo ./waf install

Note: do not configure NDF --with-tests, the compilation will fail.

Updated by Chaim Rieger about 6 years ago · 1 revisions