Re: [dev] problem cross-compiling IoTivity

2017-08-30 Thread Thiago Macieira
On Wednesday, 30 August 2017 04:01:24 PDT Iosif Hamlatzis wrote: > The original image (for the problematic board) didn't have the IoTivity > layer, so I had to add it as a package (don't know if it should matter, > since the install simpleserver sample works). Couldn't you just upgrade your Yocto

Re: [dev] problem cross-compiling IoTivity

2017-08-30 Thread Iosif Hamlatzis
Thanks for the help I've used as a reference the recipe file but still the same problem. Regarding your questions: 1) My host machine is Ubuntu 14.04.5 running under virtual box 2) I have two different folders (containing the same files give or take), one for raspberry and one for the other board

Re: [dev] problem cross-compiling IoTivity

2017-08-30 Thread Philippe Coval
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

Re: [dev] problem cross-compiling IoTivity

2017-08-30 Thread Iosif Hamlatzis
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. Then I recompiled my server for another board but it throws an exception (bad_alloc) from inside IoTivity library (

Re: [dev] problem cross-compiling IoTivity

2017-08-30 Thread Philippe Coval
On 30/08/17 10:30, Iosif Hamlatzis wrote: > I am trying to cross-compile IoTivity (with scons) for yocto but have > problems with boost library > > (...) > scons TARGET_OS=yocto TARGET_ARCH=arm TC_ARCH=arm > TC_PREFIX=arm-poky-linux-gnueabi- > TC_PATH=~/certh-release-bsp/SGW_T/tmp/sysroots/x86_64

[dev] problem cross-compiling IoTivity

2017-08-30 Thread Iosif Hamlatzis
I am trying to cross-compile IoTivity (with scons) for yocto but have problems with boost library I've followed the guidelines from https://wiki.iotivity.org/iotivity_porting_to_arm_based_platforms but again have the same problem that boost_thread cannot be found My next move was to cross-compile