<div dir="ltr"><span style="font-size:12.8px">Hello all,</span><div style="font-size:12.8px"><br></div><div style="font-size:12.8px">This may be more of a Visual Studio issue than an ITK issue, but I was wondering if anyone else found a way around this.  I'm trying to build ITK 4.10.0 on a Windows 7 64-bit machine with Python (2.7 64-bit) wrapping using Visual Studio 2015.  I should add I'm not familiar with either CMake, ITK, or Visual Studio so I could be missing something obvious.</div><div style="font-size:12.8px"><br></div><div style="font-size:12.8px">I keep getting the following error for multiple *.obj files:<br></div><div style="font-size:12.8px"><font face="monospace, monospace">x64\Release\*.obj : fatal error LNK1112: module machine type 'x64' conflicts with target machine type 'X86'</font><br></div><div style="font-size:12.8px"><font face="monospace, monospace"><br></font></div><div style="font-size:12.8px"><font face="arial, helvetica, sans-serif">I noticed that CMake generates vxproj files for only Win32 by default.  Then the files are modified by Visual Studio when switching the platform to x64 and selecting "Clean Solution", which adds the following lines, among others:</font></div><div style="font-size:12.8px"><div><font face="monospace, monospace">    <ProjectConfiguration Include="Release|x64"></font></div><div><font face="monospace, monospace">      <Configuration>Release</Configuration></font></div><div><font face="monospace, monospace">      <Platform>x64</Platform></font></div></div><div style="font-size:12.8px"><font face="arial, helvetica, sans-serif"><br></font></div><div style="font-size:12.8px"><font face="arial, helvetica, sans-serif">However, many individual sub-projects are still not updated to account for x64 configurations.  </font><span style="font-family:arial,helvetica,sans-serif">I took a look at the Advanced CMAKE variables in the CMake GUI, but had no idea what to modify (everything seems to target Win32).</span></div><div style="font-size:12.8px"><font face="arial, helvetica, sans-serif"><br></font></div><div style="font-size:12.8px"><font face="arial, helvetica, sans-serif">Is there a way to configure CMake to generate x64 files?  If not, does anyone know how to correctly configure ITK on x64 platforms in VS2015?</font></div><div style="font-size:12.8px"><font face="arial, helvetica, sans-serif"><br></font></div><div style="font-size:12.8px"><font face="arial, helvetica, sans-serif">Thanks,</font></div><div style="font-size:12.8px"><font face="arial, helvetica, sans-serif">Evan Kao</font></div></div>