You are much better off using CMake<br><br><div>When VTK6, which is modularized, there are almost 90 libraries in a full build of VTK.<div>CMake will allow you to choose the libraries that are needed by your application.</div>
<div><br><div class="gmail_quote">On Wed, Sep 5, 2012 at 9:34 PM, Alex Malyushytskyy <span dir="ltr">&lt;<a href="mailto:alexmalvtk@gmail.com" target="_blank">alexmalvtk@gmail.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
You do not have to use CMake in your project, but this means, you have<br>
to specify<br>
 paths to includes (which you probably do, cause that is linker errors)<br>
and make sure your application picks up libraries (which you probably<br>
have wrong).<br>
And the easiest way to find out what has to be done -  to use CMake to<br>
build example projects,<br>
so you can check what has to be done with yours.<br>
<br>
You had to use CMake anyway to build VTK itself, so you could check<br>
option to build examples.<br>
<span class="HOEnZb"><font color="#888888"><br>
Alex<br>
</font></span><div class="HOEnZb"><div class="h5"><br>
On Tue, Sep 4, 2012 at 4:39 AM, John Drescher &lt;<a href="mailto:drescherjm@gmail.com">drescherjm@gmail.com</a>&gt; wrote:<br>
&gt;&gt; I&#39;m having serious troubles to compile the vtk&#39;s examples for c++, I&#39;m using<br>
&gt;&gt; Visual C++ Express 2010 and building VTK many times but still can&#39;t figure<br>
&gt;&gt; out what&#39;s the right way to go. I&#39;m working on an application for 3D<br>
&gt;&gt; ultrasound visualization I&#39;ll appreciate some help with these<br>
&gt;&gt;<br>
&gt;<br>
&gt; I highly recommend that you use CMake to generate the projects for<br>
&gt; your applications.<br>
&gt;<br>
&gt; John<br>
&gt; _______________________________________________<br>
&gt; Powered by <a href="http://www.kitware.com" target="_blank">www.kitware.com</a><br>
&gt;<br>
&gt; Visit other Kitware open-source projects at <a href="http://www.kitware.com/opensource/opensource.html" target="_blank">http://www.kitware.com/opensource/opensource.html</a><br>
&gt;<br>
&gt; Please keep messages on-topic and check the VTK FAQ at: <a href="http://www.vtk.org/Wiki/VTK_FAQ" target="_blank">http://www.vtk.org/Wiki/VTK_FAQ</a><br>
&gt;<br>
&gt; Follow this link to subscribe/unsubscribe:<br>
&gt; <a href="http://www.vtk.org/mailman/listinfo/vtkusers" target="_blank">http://www.vtk.org/mailman/listinfo/vtkusers</a><br>
_______________________________________________<br>
Powered by <a href="http://www.kitware.com" target="_blank">www.kitware.com</a><br>
<br>
Visit other Kitware open-source projects at <a href="http://www.kitware.com/opensource/opensource.html" target="_blank">http://www.kitware.com/opensource/opensource.html</a><br>
<br>
Please keep messages on-topic and check the VTK FAQ at: <a href="http://www.vtk.org/Wiki/VTK_FAQ" target="_blank">http://www.vtk.org/Wiki/VTK_FAQ</a><br>
<br>
Follow this link to subscribe/unsubscribe:<br>
<a href="http://www.vtk.org/mailman/listinfo/vtkusers" target="_blank">http://www.vtk.org/mailman/listinfo/vtkusers</a><br>
</div></div></blockquote></div><br><br clear="all"><div><br></div>-- <br>Unpaid intern in BillsBasement at noware dot com<br><br>
</div></div>