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

Markus voigt markus-voigt at gmx.net
Tue Oct 31 07:57:15 EST 2006


David Cole schrieb:
> (1) Please post the error output of the compiler/linker...
that's not possible because in the moment my PC compiles the ALLBUILD 
from Cmake again
> (2) What version of CMake are you using?
CMAke 2.4
> (3) Are you using CMake to generate a project that compiles the cpp
> file you sent in your first post?
no I#m using Visual Studio .NET 2005
>
> 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
>>
>


-- 
Dipl.-Inf.(FH) Markus Voigt, BSc(Hons)
Reichpietschstraße 63
04317 Leipzig

markus-voigt at gmx.net




More information about the vtkusers mailing list