Sorry for the build questions, but figured it would be better to split them in 
two threads?

I tried building Iotivity for Windows for the ARM architecture

I had to first fix SCONS by modifying 
C:\Python27\Lib\site-packages\scons-2.5.1\SCons\Tool\MSCommon\vc.py and
add the following entry to '_ARCH_TO_CANONICAL':     "arm"                     
: "x86",

After that, the library builds just fine with this command:
scons TARGET_OS=windows TARGET_ARCH=arm RELEASE=0 WITH_RA=0 TARGET_TRANSPORT=IP 
SECURED=0 WITH_TCP=0 BUILD_SAMPLE=OFF LOGGING=OFF TEST=0

Things builds ok, however the octbstack.dll generated is about 5 times smaller 
than the x86 build. Also trying to use it on a Windows ARM device (UWP app 
running on a Phone or IoT Core) crashes when trying to call into the library.

Is there some special trick to getting Iotivity building for Windows ARM? Has 
anyone ever tried this?



On a side-note I did get large parts of my .NET wrapper to work in Win32 and 
UWP apps. Can create, discover and interact with devices using a few lines of 
C#. Full source here: https://github.com/dotMorten/IoTivityDotNet

Thanks
/Morten
-------------- next part --------------
An HTML attachment was scrubbed...
URL: 
<http://lists.iotivity.org/pipermail/iotivity-dev/attachments/20161215/19593482/attachment.html>

Reply via email to