[vtkusers] Problems with VS 2005 and VTK (vtkrendering.lib)
mam06bhv at studserv.uni-leipzig.de
mam06bhv at studserv.uni-leipzig.de
Tue Oct 31 07:00:05 EST 2006
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.
More information about the vtkusers
mailing list