You can build the yocto image with the sensorboard example if you add 
?iotivity-sensorboard? to your IMAGE_INSTALL_append in 
out/linuc/build/conf/local.conf.

IMAGE_INSTALL_append += " iotivity-resource-samples iotivity-service-samples 
iotivity-sensorboard"

You can also directly make sensorboard with something like

g++ -lmraa ?I[path to boost and OC includes] -loctbstack -loc -loc_logger 
-Wl,-rpath=/usr/lib/ -pthread -std=c++11 observer.cpp server.cpp


From: iotivity-dev-bounces at lists.iotivity.org 
[mailto:[email protected]] On Behalf Of Philippe Coval
Sent: Tuesday, April 26, 2016 1:22 AM
To: mario alberto santana lopez <maslopez50 at hotmail.com>
Cc: iotivity-dev at lists.iotivity.org
Subject: Re: [dev] issues running OICSensorsBoard for Edison



On Mon, Apr 25, 2016 at 6:54 AM, mario alberto santana lopez <maslopez50 at 
hotmail.com<mailto:maslopez50 at hotmail.com>> wrote:

I've tried in Iotivity 1.0.1. and 1.1.0 to run OICSensorsBoard, i've set the 
yocto environment and the MRAA libraries. But got an error about unreferenced  
and objects, some of them about platform, not sure if I need to set something 
else.



Also this project doesn't have its Sconscript and is not compiled with rest of 
framework, do you know why?, I'm supposing it is ok compile it using make but 
not sure, there is any development branch where I could get the Sconscript?



I based on these links, both of them looks be based on Iotivity V0.9:

https://pagealh.com/2015/08/15/intel-edison-investigating-iotivity/

https://wiki.iotivity.org/running_sample_codes_in_iotivity_0.9_sdk_on_edison

Hi

To what I remember this project is also duplicated into meta-oic :

http://git.yoctoproject.org/cgit/cgit.cgi/meta-oic/tree/recipes-apps/iotivity-sensorboard/files

Note this layer has been upgraded recently,

FYI,  I forked this sample as a standalone project for integration purposes

https://github.com/TizenTeam/iotivity-example
https://github.com/TizenTeam/iotivity-example/blob/master/extra/iotivity-example_git.bb

Would this help ?

Please report bugs on tracker and I will try to help to sort this out

Also, you can use this page for sharing your experience too :
https://wiki.iotivity.org/yocto

Keep in touch

-------------- next part --------------
An HTML attachment was scrubbed...
URL: 
<http://lists.iotivity.org/pipermail/iotivity-dev/attachments/20160426/7bbe3844/attachment.html>

Reply via email to