[vtkusers] Problems with VS 2005 and VTK (vtkrendering.lib)

David Cole david.cole at kitware.com
Tue Oct 31 07:45:14 EST 2006


(1) Please post the error output of the compiler/linker...
(2) What version of CMake are you using?
(3) Are you using CMake to generate a project that compiles the cpp
file you sent in your first post?

On 10/31/06, mam06bhv at studserv.uni-leipzig.de
<mam06bhv at studserv.uni-leipzig.de> wrote:
> Hello,
>
> I would Like to use VTK with VS2005. I installed "Cmake" an compiled the
> ALLBUILD and INSTALL in VS2005. Now if I write this line
>     vtkRenderer * ren = vtkRenderer::New();
> in my cpp file I got 136 errors which results of the vtkrendering.lib.
> This is the the whole cpp file content:
>
> #include "stdafx.h"
> #include "vtkRenderer.h"
> #include "vtkRenderWindow.h"
> #include "vtkConeSource.h"
> #include "vtkPolyDataMapper.h"
> #include "vtkActor.h"
> #include "vtkRenderWindowInteractor.h"
> #include "vtkProperty.h"
>
> using namespace System;
>
> int _tmain()
> {
>     vtkRenderer * ren = vtkRenderer::New();
>     return 0;
> }
> if I comment the line out I got no errors.
> Could someone help me?
>
>
>
> ----------------------------------------------------------------
> This message was sent using IMP, the Internet Messaging Program.
>
> _______________________________________________
> 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
>



More information about the vtkusers mailing list