<div>Hello</div>
<div>You probably did not use CMAKE to create your VS2005 project.</div>
<div>You have to make a CMakeLists.txt that creates a vs2005 project, and</div>
<div>sets up path for libs you are going to use.</div>
<div>It is very important to do this....otherwise using VTK will be impossible.</div>
<div> </div>
<div>So, read up on CMAKE and understand how to build a CMakeLists file for your project. It is really very easy once you get the hang of it.</div>
<div> </div>
<div>Hope it was helpful</div>
<div>Regards<br><br> </div>
<div><span class="gmail_quote">2006/10/31, <a href="mailto:mam06bhv@studserv.uni-leipzig.de">mam06bhv@studserv.uni-leipzig.de</a> <<a href="mailto:mam06bhv@studserv.uni-leipzig.de">mam06bhv@studserv.uni-leipzig.de</a>
>:</span>
<blockquote class="gmail_quote" style="PADDING-LEFT: 1ex; MARGIN: 0px 0px 0px 0.8ex; BORDER-LEFT: #ccc 1px solid">Hello,<br><br>I would Like to use VTK with VS2005. I installed "Cmake" an compiled the<br>ALLBUILD and INSTALL in VS2005. Now if I write this line
<br> vtkRenderer * ren = vtkRenderer::New();<br>in my cpp file I got 136 errors which results of the vtkrendering.lib.<br>This is the the whole cpp file content:<br><br>#include "stdafx.h"<br>#include "vtkRenderer.h
"<br>#include "vtkRenderWindow.h"<br>#include "vtkConeSource.h"<br>#include "vtkPolyDataMapper.h"<br>#include "vtkActor.h"<br>#include "vtkRenderWindowInteractor.h"<br>
#include "vtkProperty.h"<br><br>using namespace System;<br><br>int _tmain()<br>{<br> vtkRenderer * ren = vtkRenderer::New();<br> return 0;<br>}<br>if I comment the line out I got no errors.<br>Could someone help me?
<br><br><br><br>----------------------------------------------------------------<br>This message was sent using IMP, the Internet Messaging Program.<br><br>_______________________________________________<br>This is the private VTK discussion list.
<br>Please keep messages on-topic. Check the FAQ at: <a href="http://www.vtk.org/Wiki/VTK_FAQ">http://www.vtk.org/Wiki/VTK_FAQ</a><br>Follow this link to subscribe/unsubscribe:<br><a href="http://www.vtk.org/mailman/listinfo/vtkusers">
http://www.vtk.org/mailman/listinfo/vtkusers</a><br></blockquote></div><br>