Wireshark mailing list archives

Re: CMake on Windows - Can build, but not run executable


From: Graham Bloice <graham.bloice () trihedral com>
Date: Wed, 25 Mar 2015 17:32:18 +0000

On 25 March 2015 at 08:17, Roland Knall <rknall () gmail com> wrote:

Hi

I can build wireshark successfully (gtk and qt interfaces) on Windows, but
If I want to execute it, he complains that the side-by-side configuration
is not correct.

If I trace the launch with sxstrace, he complains, that the
ProcessorArchitecture is wrong for the target (amd64).

The build is a Windows 64bit build



Using VS2013, CMake 3.1.3, QT 5.4.1 msvc2013_64_opengl.

I don't normally build x64, so gave it a go using the x64 native compiler
and CMake fails configure, the testing for various sizes fails as CMake is
asking the linker to use both x64 and x86 modes??

If I use the cross compiler (i.e. x86 building x64) then CMake does
configure and the resulting build runs for me (both qt and gtk).

I usually run depends (http://www.dependencywalker.com/) to check what
DLL's etc are to be loaded.


-- 
Graham Bloice
___________________________________________________________________________
Sent via:    Wireshark-dev mailing list <wireshark-dev () wireshark org>
Archives:    https://www.wireshark.org/lists/wireshark-dev
Unsubscribe: https://wireshark.org/mailman/options/wireshark-dev
             mailto:wireshark-dev-request () wireshark org?subject=unsubscribe

Current thread: