I was trying to build Alljoyn source for arm target machine (windows phone) and met the following error:
C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\INCLUDE\crtdefs.h(404) : fatal error C1189: #error : Compiling Desktop applications for the ARM platform is not supported.
I tried to change the definition in crtdefs.h:
#define _ARM_WINAPI_PARTITION_DESKTOP_SDK_AVAILABLE 1
And then I realized that several libs are missing: setupapi winmm iphlpapi secur32 bcrypt hcrypt crypt32
I installed both Windows 8.1 SDK and Visual Studio 2013 SDK, and after that I saw those missing libs in both folders
C:\Program Files (x86)\Windows Kits\8.1\Lib\winv6.3\um\x86
and
C:\Program Files (x86)\Windows Kits\8.1\Lib\winv6.3\um\x64
but not
C:\Program Files (x86)\Windows Kits\8.1\Lib\winv6.3\um\arm
I'd like to know what libdir should I include to resolve this, or if there's recent supports/hotfixes for this issue? Thanks!