This file contains instructions about how to use this repository. Created by "Marco Accame [email protected]" on 29 October 2015.
This repository contains source code and include files which are commonly used by icub-main
and icub-firmware
repositories.
The way this repository is used depends whether one wants to compile for icub-firmware
or for icub-main
. Here are the two cases.
The repositories icub-firmware
and icub-firmware-shared
must be placed in the same folder as in the following tree structure:
<folder> ---
|--<icub-firmware>
|
|--<icub-firmware-shared>
Nothing else is required because projects inside icub-firmware
will directly refer to source files using a relative path (which contains the string icub-firmware/../icub-firmware-shared/
).
So far, the repository icub-firmware-shared
is used to compile only on the pc104. to do so, one must:
- Create a build subfolder into
icub-firmware-shared
:mkdir build-pc104
cd
inside thebuild-pc104
folder:cd build-pc104
- Call
ccmake ..
- Digit
c
as many times are required and theng
to generate the makefile. - Run
make
to generate the correct dependencies required byicub-main
(actually this step is not strictly required).
At this point a run of ccmake ../
in icub-main
build folder will be able to find the suitable dependencies for icub-firmware-shared
.