Thanks David, but I've compiled earlier versions of VTK and included them in my project without having to do anything manual.<br><br>Anyone else know what's going wrong?<br><br><br><div class="gmail_quote">On 7 September 2011 01:10, David Doria <span dir="ltr"><<a href="mailto:daviddoria@gmail.com">daviddoria@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;"><div class="im">On Tue, Sep 6, 2011 at 8:05 PM, N David Brown <<a href="mailto:hubdave@gmail.com">hubdave@gmail.com</a>> wrote:<br>
> Yes. The only flags I changed were<br>
><br>
> BUILD_SHARED_LIBS => Yes<br>
> VTK_DATA_PATH => (the right path)<br>
<br>
</div>I believe that is the CMake for VTK itself right? I'm saying that you<br>
have to use CMake to create your actual project as well. For example,<br>
every example on the wiki has an accompanying CMakeLists.txt file:<br>
<br>
<a href="http://www.vtk.org/Wiki/VTK/Examples/Cxx/SimpleOperations/DistancePointToLine" target="_blank">http://www.vtk.org/Wiki/VTK/Examples/Cxx/SimpleOperations/DistancePointToLine</a><br>
<br>
You would need something like that for your project to tell it to find<br>
and use VTK properly.<br>
<font color="#888888"><br>
David<br>
</font></blockquote></div><br>