Huge thanks to our Platinum Members Endace and LiveAction,
and our Silver Member Veeam, for supporting the Wireshark Foundation and project.

Wireshark-dev: Re: [Wireshark-dev] ARM Build

From: Graham Bloice <graham.bloice@xxxxxxxxxxxxx>
Date: Sat, 18 Oct 2014 15:56:44 +0100
On 18 October 2014 13:26, Alexis La Goutte <alexis.lagoutte@xxxxxxxxx> wrote:
On Fri, Oct 17, 2014 at 12:19 AM, Guy Harris <guy@xxxxxxxxxxxx> wrote:
>
> On Oct 16, 2014, at 4:50 AM, Graham Bloice <graham.bloice@xxxxxxxxxxxxx> wrote:
>
>> Visual Studio (VS2013 at least) as 32 & 64 bit ARM compilers.
Hi Guy,

Thanks, now build without error on ARM hf :-)

@Graham,
May be a good idea to try also with VS2013 on ARM too...


Maybe not so easy, I tried using CMake (3.02)  but got the following in the error log where CMake tries to identify the compiler:

Build started 18/10/2014 15:41:44.
Project "E:\Wireshark\build2013arm\CMakeFiles\3.0.2\CompilerIdC\CompilerIdC.vcxproj" on node 1 (default targets).
C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\V120\Platforms\ARM\PlatformToolsets\v120\Toolset.targets(36,5): error MSB8022: Compiling Desktop applications
for the ARM platform is not supported. [E:\Wireshark\build2013arm\CMakeFiles\3.0.2\CompilerIdC\CompilerIdC.vcxproj]
Done Building Project "E:\Wireshark\build2013arm\CMakeFiles\3.0.2\CompilerIdC\CompilerIdC.vcxproj" (default targets) -- FAILED.

So it looks like Visual Studio can only use the ARM compilers for compiling Windows Phone\Win RT apps.

There is some discussion on StackOverflow (http://stackoverflow.com/questions/11151474/can-arm-desktop-programs-be-built-using-visual-studio-2012) about ways to fiddle this, but I couldn't get VS2013 to cooperate with 10 minutes of fiddling.

--
Graham Bloice