[vtkusers] Windows 64 bits compilation with Visual Studio .net 2003

Laurent Peters laurent.peters at telemis.com
Fri Oct 3 11:12:24 EDT 2008


I usually compile my code for 64 bits Windows using Microsoft Visual Studio
.net 2003 and Microsoft Platform SDK for Windows Server 2003.
I tried to compile VTK 5.2 for 64 bits Windows with the same tools.

Compilation fails because CMake automatically adds the flag /MACHINE:I386 to
the linker options,
which conflicts with the /MACHINE:amd64 flag that I specified in CMake.

Is there a way to avoid that CMake adds this /MACHINE:I386 flag? I did not
find one.
Do I need to upgrade to the latest version of Microsoft Visual Studio, for
which 64 bits compilation of VTK seems straightforward?
Are there some instructions available to compile with these tools?

Thanks,
Laurent
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.vtk.org/pipermail/vtkusers/attachments/20081003/548e0bf5/attachment.htm>


More information about the vtkusers mailing list