On 30/08/17 11:01, Iosif Hamlatzis wrote:
> Let me explain why I'm trying to use scons directly and not with bitbake:
>
> I have created a server based on the simpleserver example. Everything
> works perfectly on my raspberry board.
on which OS ? how was it built ?
> Then I recompiled my server for another board
how ? I recommend to rebuild a whole OS that include iotivity and your
private server too
> but it throws an exception (bad_alloc) from inside IoTivity library
If we can't reproduce that's going to difficult to help you.
>
> As I don't have any other way of compiling my server (unfortunately
> cannot compile on the board), I thought of using scons.
Why not building it using bitbake too?

Here is a sample recipe you can reuse and adapt:
http://git.s-osg.org/meta-ocf-automotive/plain/recipes-apps/iotivity-example/iotivity-example.bb

Good luck

-- 

mailto:[email protected] gpg:0x467094BC
https://blogs.s-osg.org/author/pcoval/

_______________________________________________
iotivity-dev mailing list
[email protected]
https://lists.iotivity.org/mailman/listinfo/iotivity-dev

Reply via email to