[vtkusers] Fwd: Error compiling VTK 5.6.1 with Visual Studio 2010

John Drescher drescherjm at gmail.com
Sun Jun 19 10:31:39 EDT 2011


---------- Forwarded message ----------
From: Srinivasan bhaskaran <srini2174 at gmail.com>
Date: Sun, Jun 19, 2011 at 10:29 AM
Subject: Re: [vtkusers] Error compiling VTK 5.6.1 with Visual Studio 2010
To: John Drescher <drescherjm at gmail.com>


Hi,
    Thanks for your response.  I am using 32bit Windows 7 machine with
vtk 5.6.1 and I am building on vs2010 ultimate.  I have enabled Shared
libs and Qt.  The problem seems to start from this error
D:\ProgramFiles\Microsoft Visual Studio
10.0\VC\include\crtdefs.h(436): error C2632: 'int' followed by 'int'
is illegal
when it is compiling vtksys project.  I had google around but unable
to find any solution to this problem.
Srinivasan.B


On Sun, Jun 19, 2011 at 7:24 PM, John Drescher <drescherjm at gmail.com> wrote:
>
> > I am trying to compile vtk5.6.1 with Microsoft Visual Studio 2010.  I had
> > followed all the instructions provided in the documentation, but I encounter
> > a lot of problems.  The project vtkGraphics refers to the library
> > vtkverdict.lib, but vtkverdict.lib is never created.  I just have
> > vtkverdict.dll, vtkverdict.pdb and the incremental linker file.  The other
> > failures are in-turn linked to this failure. Any help would be highly
> > appreciated.
> >
>
> At work I am currently using 64 bit vtk-5.6.1 built with vs2010 pro on
> my latest application for the last few weeks. I had no problems at all
> compiling it. Are you using some special options? I believe I disabled
> shared libs, disabled testing and enabled Qt.
>
> John



--
With Regards,
Srinivasan.B



-- 
John M. Drescher



More information about the vtkusers mailing list