<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>&nbsp;</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>&nbsp;</div>
<div>Hope it was helpful</div>
<div>Regards<br><br>&nbsp;</div>
<div><span class="gmail_quote">2006/10/31, <a href="mailto:mam06bhv@studserv.uni-leipzig.de">mam06bhv@studserv.uni-leipzig.de</a> &lt;<a href="mailto:mam06bhv@studserv.uni-leipzig.de">mam06bhv@studserv.uni-leipzig.de</a>
&gt;:</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 &quot;Cmake&quot; an compiled the<br>ALLBUILD and INSTALL in VS2005. Now if I write this line
<br>&nbsp;&nbsp; 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 &quot;stdafx.h&quot;<br>#include &quot;vtkRenderer.h
&quot;<br>#include &quot;vtkRenderWindow.h&quot;<br>#include &quot;vtkConeSource.h&quot;<br>#include &quot;vtkPolyDataMapper.h&quot;<br>#include &quot;vtkActor.h&quot;<br>#include &quot;vtkRenderWindowInteractor.h&quot;<br>
#include &quot;vtkProperty.h&quot;<br><br>using namespace System;<br><br>int _tmain()<br>{<br>&nbsp;&nbsp; vtkRenderer * ren = vtkRenderer::New();<br>&nbsp;&nbsp; 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>