Right, we noticed by the way that we need to explicitly set x64 for Visual 
Studio 2017, but Visual Studio 2019 does it by default. That’s also written 
down somewhere in the CMake documentation or release notes. If you are working 
on v2018.04 or v2018.04.2 there are some build script issues nevertheless with 
new CMake versions which should be fixed in the current release branch 
(releases/2018-04, only available in our Phabricator repo, not on Github).

From: Pierre-Yves Menguy [mailto:[email protected]]
Sent: Monday, June 17, 2019 11:13 PM
To: Pruthvesh Pipaliya <[email protected]>
Cc: Dinkelacker, Stefan <[email protected]>; 
[email protected]
Subject: Re: [mitk-users] Help building mitk superbuild 64 bit in wimdows

Hello,

New versions of CMake (I have 3.14.4) doesn't make the distinction between 32 
and 64 bits in the list, probably to avoid clutter (32, 64, arm 32, arm 64 for 
each generator).
It is now an option in the second dropdown "Optional platform for generator".

Regards,
Pierre-Yves

Le lun. 17 juin 2019 à 12:56, Pruthvesh Pipaliya 
<[email protected]<mailto:[email protected]>> a écrit 
:
Hello,

Thankyou for your reply.

I tried multiple times before with CMake 3.15 and I am quite sure about my 
selection of x64.

As you mentioned you also didn't tested CMake 3.15, I uninstalled it and 
installed CMake 3.13.5. After this I again generated project and now its 
compiling.

I am newbie and not sure about the problem. But mostly it is due to CMake new 
version. Need to test it.

Thanking you,
Pruthvesh Pipaliya

On Mon, 17 Jun, 2019, 3:35 PM Dinkelacker, Stefan, 
<[email protected]<mailto:[email protected]>> 
wrote:
Hi,

please make sure you chose the right CMake generator which is something like 
“Visual Studio 15 2017 *Win64*” or in case of Visual Studio 2019 64 bit should 
be automatically set for you. We also recommend to use the release version of 
the code (tag v2018.04.2) instead of the latest master branch. We also didn’t 
test CMake 3.15 yet.

Best,
Stefan

From: Pruthvesh Pipaliya 
[mailto:[email protected]<mailto:[email protected]>]
Sent: Monday, June 17, 2019 11:51 AM
To: [email protected]<mailto:[email protected]>
Subject: [mitk-users] Help building mitk superbuild 64 bit in wimdows

Hello All,

I am trying to build mitk on windows platform in 64 bit. I am getting below 
error for all project, please help me out.

Error : fatal error LNK1112: module machine type 'x86' conflicts with target 
machine type 'x64'

My current configuration of platform is as follows,

1) On what system do you work? (Linux/Windows/Mac, which OS-Version, 32 or 64 
bit)
a. Windows 10 64 but

2) What compiler do you use? (e.g. gcc, VC9, VC10, clang)
a. VC15 (Visual Studio 17)

3) Which tool did you use to build the project? (e.g. cmake, also provide the 
version number)
a. CMake 3.15.0-rc1

4) Which version of MITK did you try to build/compile? (please also provide the 
branch name or the hash value of the git version)
a. master version 67b6b1731eb4

5) What build failed? (superbuild or normal build)
a.  superbuild

6) What was the error output?
a. fatal error LNK1112: module machine type 'x86' conflicts with target machine 
type 'x64'. For every project it is giving same error.

I assume some configuration I need to change but I am not able to find. Please 
help me to resolve this.

Thanking you,
Pruthvesh Pipaliya
_______________________________________________
mitk-users mailing list
[email protected]<mailto:[email protected]>
https://lists.sourceforge.net/lists/listinfo/mitk-users
_______________________________________________
mitk-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mitk-users

Reply via email to