This file contains instructions about how to use this repository. Created by "Marco Accame marco.accame@iit.it" 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.
icub-firmware
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/
).
icub-main
So far, the repository icub-firmware-shared
is used to compile only on the pc104. to do so, one must:
icub-firmware-shared
:
mkdir build-pc104
cd
inside the build-pc104
folder:
cd build-pc104
ccmake ..
c
as many times are required and then g
to generate the makefile.make
to generate the correct dependencies required by icub-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
.
This repository is maintained by:
@marcoaccame |