Skip to content
This repository has been archived by the owner on Jun 27, 2019. It is now read-only.

oic-server does not compile #30

Open
mattiantonini opened this issue Aug 4, 2016 · 1 comment
Open

oic-server does not compile #30

mattiantonini opened this issue Aug 4, 2016 · 1 comment

Comments

@mattiantonini
Copy link

Hello!
I'm trying to compile the oic-server example, but something goes wrong. Here the
output.txt

Any suggestion?

Cheers,
Mattia

@ibriano
Copy link
Contributor

ibriano commented Aug 5, 2016

On Thu, 04 Aug 2016 04:59:33 -0700, Mattia Antonini wrote:

Hello!
I'm trying to compile the oic-server example, but something goes wrong. Here the
output.txt

Any suggestion?

Works here, but with a bit of a trick.

First, I don't know what version of Soletta you have installed for the
generator, but that may be one issue, so what I suggest you do is:

In RIOT's source directory, you should find Soletta in
pkt/libsoletta/soletta. Go there and do:

git clean -dfx
make thirdparty-update
PREFIX=$HOME/soletta make alldefconfig
make
make install

That should build Soletta for the host, so you can run a recent version
of the generator. Add $HOME/soletta/bin to PATH, run another git clean
or make distclean in soletta's dir and then try building the example
again.
If the generator complains about not finding libsoletta, add
$HOME/soletta/lib to LD_LIBRARY_PATH.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants