[vtkusers] Windows 64 bits compilation with Visual Studio .net 2003
Francois Bertel
francois.bertel at kitware.com
Fri Oct 3 11:15:28 EDT 2008
Hi Laurent,
Which cmake version are you using?
On Fri, Oct 3, 2008 at 11:12 AM, Laurent Peters
<laurent.peters at telemis.com> wrote:
> 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
>
>
> _______________________________________________
> This is the private VTK discussion list.
> Please keep messages on-topic. Check the FAQ at:
> http://www.vtk.org/Wiki/VTK_FAQ
> Follow this link to subscribe/unsubscribe:
> http://www.vtk.org/mailman/listinfo/vtkusers
>
>
--
François Bertel, PhD | Kitware Inc. Suite 204
1 (518) 371 3971 x113 | 28 Corporate Drive
| Clifton Park NY 12065, USA
More information about the vtkusers
mailing list