ms-iot / azure-client-tools

Azure Client Tools
Other
43 stars 37 forks source link

Build for arm architecture failed. #48

Closed luyaok closed 5 years ago

luyaok commented 5 years ago

Bug description

I can build for x86 and x64 successfully. But when I run build.cmd arm Debug 10.0.16299.0 I get the following error:

d:\sample\azure-client-tools\deps\azure-iot-sdk-c\c-utility\src\gbnetwork.c(14): fatal error C1083: Cannot open include
 file: 'sys/socket.h': No such file or directory [D:\Sample\azure-client-tools\deps\azure-iot-sdk-c\arm\c-utility\aziot
sharedutil.vcxproj]

Steps to reproduce

I followed this document: https://github.com/ms-iot/azure-client-tools/blob/master/docs/limpet/limpet.md#set-up-limpet

Version (please provide the following information):

gmileka commented 5 years ago

I wonder if there's something wrong with the cloning...

Do you have the following files? deps\security\LimpetMCU\Middlewares\Third_Party\LwIP\src\include\posix\sys\socket.h deps\security\LimpetMCU\Middlewares\Third_Party\mbed.org\Socket\Socket.h deps\security\RazorClamMCU\Middlewares\Third_Party\LwIP\src\include\posix\sys\socket.h

gmileka commented 5 years ago

I'm closing as a 'no repro'. Please, re-open if you still see the issue.