<div dir="ltr">I usually compile my code for 64 bits Windows using Microsoft Visual
Studio .net 2003 and Microsoft Platform SDK for Windows Server 2003.<br>I tried to compile VTK 5.2 for 64 bits Windows with the same tools.<br>
<br>Compilation fails because CMake automatically adds the flag /MACHINE:I386 to the linker options,<br>which conflicts with the /MACHINE:amd64 flag that I specified in CMake.<br><br>Is there a way to avoid that CMake adds this /MACHINE:I386 flag? I did not find one.<br>

Do I need to upgrade to the latest version of Microsoft Visual Studio,
for which 64 bits compilation of VTK seems straightforward?<br>Are there some instructions available to compile with these tools?<br><br>Thanks,<br>Laurent<span style="border-collapse: separate; color: rgb(0, 0, 0); font-family: Arial; font-size: 13px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; text-indent: 0px; text-transform: none; white-space: pre; word-spacing: 0px;"><br>
<br></span></div>