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

Dominik Szczerba dominik at itis.ethz.ch
Sun Jun 19 15:13:38 EDT 2011


I confirm I can compile vtk 5.6.1 with VC 2010 64 bit no problem. I
suspect your problem lies elsewhere.

Dominik

On Sun, Jun 19, 2011 at 4:31 PM, John Drescher <drescherjm at gmail.com> wrote:
> ---------- 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
> _______________________________________________
> Powered by www.kitware.com
>
> Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html
>
> Please keep messages on-topic and check the VTK FAQ at: http://www.vtk.org/Wiki/VTK_FAQ
>
> Follow this link to subscribe/unsubscribe:
> http://www.vtk.org/mailman/listinfo/vtkusers
>
>



More information about the vtkusers mailing list