Hi,
If you?re building your OS image for Galileo using Yocto, you should be able to add the meta-oic Yocto layer http://git.yoctoproject.org/cgit/cgit.cgi/meta-oic/about/ and get IoTivity in its OS image. By the way, the TARGET_OS=yocto build switch is meant to be only to be invoked by the Yocto build process, i.e. while building the IoTivity recipe (as suggested above). In some circumstances, you should be able to run this build by hand if you have a Yocto derived toolchain installed on your system, but it doesn?t work all the time, and I don?t recommend it. -Kishen. From: <iotivity-dev-bounces at lists.iotivity.org<mailto:iotivity-dev-bounces at lists.iotivity.org>> on behalf of LiShaoguang <shaoguang.li at hotmail.com<mailto:[email protected]>> Date: Friday, February 19, 2016 at 12:57 AM To: "iotivity-dev at lists.iotivity.org<mailto:iotivity-dev at lists.iotivity.org>" <iotivity-dev at lists.iotivity.org<mailto:iotivity-dev at lists.iotivity.org>> Subject: [dev] Running Iotivity on Galileo Hi, I'm trying to run Iotivity on Galileo gen2 platform which has a Yocto OS. I tried to compile the iotivity project with the following command: scons TARGET_OS=yocto TARGET_ARCH=i586 scons TARGET_OS=linux TARGET_ARCH=x86 But none of them worked. Can anyone please give me some advice about it? It will be a great help. Thanks&Regards, Shaoguang
