<BODY><P>Thanks Amy, that was a good explanation but it seems I still can not get the VTK&nbsp;installation to work properly. I tried to work around the problem of the compiler not finding the vtk header files by explicitly linking to them (e.g. <FONT color=#0000ff size=2>#include</FONT><FONT size=2> "VTK\include\vtk-5.0\vtkRenderer.h"</FONT>) which made the compilation run without errors, but then I instead got a lot of these when it was linking:&nbsp;<BR>"error LNK2019: unresolved external symbol "public: void __thiscall vtkRenderer::ResetCameraClippingRange(void)" (?ResetCameraClippingRange@vtkRenderer@@QAEXXZ) referenced in function _main"</P>
<P>So I'm assuming there is still some problems with the installation. Does anyone have a clue?</P>
<P>Thanks,</P>
<P>Markus</P>
<P>----- Original Message ----- <BR>From: Amy Squillacote &lt;amy.squillacote@kitware.com&gt; <BR>Date: Monday, August 6, 2007 2:15 pm <BR>Subject: Re: [vtkusers] Question regarding VTK 5.0 <BR>To: Markus Henningsson &lt;marhe346@student.liu.se&gt; <BR>Cc: David Cole &lt;david.cole@kitware.com&gt;, vtk &lt;vtkusers@vtk.org&gt;, Neerav Patel &lt;neeravpatel@hotmail.com&gt; <BR><BR>&gt; Hi Markus, <BR>&gt; <BR>&gt; Where it says "Configure VTK (select the correct binary directory <BR>&gt; in <BR>&gt; "Where to build the binaries")", that's referring to the CMake <BR>&gt; step <BR>&gt; before you actually build VTK. It is referring to having separate <BR>&gt; VTK <BR>&gt; source and binary directories: one directory containing the VTK <BR>&gt; source <BR>&gt; code you downloaded, got from CVS, etc, and another directory for <BR>&gt; the <BR>&gt; results of compiling VTK (i.e., "Where to build the binaries"). <BR>&gt; Once you <BR>
&gt; have built VTK, you may install it in a separate directory if you <BR>&gt; wish; <BR>&gt; this is specified by the CMAKE_INSTALL_PREFIX CMake variable. <BR>&gt; <BR>&gt; - Amy <BR>&gt; <BR>&gt; Markus Henningsson wrote: <BR>&gt; &gt; <BR>&gt; &gt; Hi, <BR>&gt; &gt; <BR>&gt; &gt; I tried compiling VTK with the instructions in that link, and <BR>&gt; &gt; everything went well until I actually tried compiling a piece of <BR>&gt; code <BR>&gt; &gt; and got the error that it couldn't find the vtk header files I <BR>&gt; had <BR>&gt; &gt; included. However i'm not sure if I've followed the instructions <BR>&gt; &gt; exactly like I should because it's a bit confusing. When I build <BR>&gt; VTK I <BR>&gt; &gt; create a folder (C:\MyProjects), but then when I install VTK <BR>&gt; should <BR>&gt; &gt; that be done in a separate folder (e.g. C:\VTK)? It says to <BR>&gt; "Configure <BR>&gt; &gt; VTK (select the correct binary directory in "Where to build the <BR>
&gt; &gt; binaries")" but I'm not sure what the "correct binary directory" <BR>&gt; &gt; refers to. Any advice? <BR>&gt; &gt; <BR>&gt; &gt; Thanks, <BR>&gt; &gt; <BR>&gt; &gt; Markus <BR>&gt; &gt; <BR>&gt; &gt; <BR>&gt; &gt; ----- Original Message ----- <BR>&gt; &gt; From: David Cole &lt;david.cole@kitware.com&gt; <BR>&gt; &gt; Date: Saturday, August 4, 2007 0:20 am <BR>&gt; &gt; Subject: Re: [vtkusers] Question regarding VTK 5.0 <BR>&gt; &gt; To: Neerav Patel &lt;neeravpatel@hotmail.com&gt; <BR>&gt; &gt; Cc: vtk &lt;vtkusers@vtk.org&gt; <BR>&gt; &gt; <BR>&gt; &gt; &gt; Keep questions on list, please, so that others may benefit <BR>&gt; from the <BR>&gt; &gt; &gt; answers as well. (Or even provide the answers more quickly <BR>&gt; than an <BR>&gt; &gt; &gt; individual responder... :-) <BR>&gt; &gt; &gt; <BR>&gt; &gt; &gt; The very first link on the VTK Wiki ( http://www.vtk.org/Wiki/VTK <BR>&gt; &gt; &gt; ) is <BR>&gt; &gt; &gt; called "more information" -- ( <BR>
&gt; &gt; &gt; http://www.vtk.org/Wiki/VTK_Additional_Information ) <BR>&gt; &gt; &gt; <BR>&gt; &gt; &gt; On that page, there's a link to "Building VTK" ( <BR>&gt; &gt; &gt; http://www.vtk.org/Wiki/VTK_Building_VTK ) which has decent <BR>&gt; directions&gt; &gt; for how to download and build VTK on Windows... <BR>&gt; &gt; &gt; <BR>&gt; &gt; &gt; <BR>&gt; &gt; &gt; HTH, <BR>&gt; &gt; &gt; David <BR>&gt; &gt; &gt; <BR>&gt; &gt; &gt; <BR>&gt; &gt; &gt; On 8/3/07, Neerav Patel &lt;neeravpatel@hotmail.com&gt; wrote: <BR>&gt; &gt; &gt; &gt; <BR>&gt; &gt; &gt; &gt; Hi David, <BR>&gt; &gt; &gt; &gt; <BR>&gt; &gt; &gt; &gt; Is there a webpage with instructions to compile it? <BR>&gt; &gt; &gt; &gt; <BR>&gt; &gt; &gt; &gt; If there is can you please direct me to the link. <BR>&gt; &gt; &gt; &gt; <BR>&gt; &gt; &gt; &gt; Thanks for the help <BR>&gt; &gt; &gt; &gt; <BR>&gt; &gt; &gt; &gt; Neerav <BR>&gt; &gt; &gt; &gt; <BR>&gt; &gt; &gt; &gt; <BR>&gt; &gt; &gt; &gt; <BR>
&gt; &gt; &gt; &gt; <BR>&gt; &gt; &gt; &gt; <BR>&gt; &gt; &gt; &gt; ________________________________ <BR>&gt; &gt; &gt; &gt; Date: Fri, 3 Aug 2007 06:08:51 -0400 <BR>&gt; &gt; &gt; &gt; From: david.cole@kitware.com <BR>&gt; &gt; &gt; &gt; To: neeravpatel@hotmail.com <BR>&gt; &gt; &gt; &gt; Subject: Re: [vtkusers] Question regarding VTK 5.0 <BR>&gt; &gt; &gt; &gt; CC: vtkusers@vtk.org <BR>&gt; &gt; &gt; &gt; <BR>&gt; &gt; &gt; &gt; <BR>&gt; &gt; &gt; &gt; For C++ libraries, you'll need to download the source tree zip <BR>&gt; &gt; &gt; file (or get <BR>&gt; &gt; &gt; &gt; the source tree from CVS) and compile it yourself. <BR>&gt; &gt; &gt; &gt; <BR>&gt; &gt; &gt; &gt; HTH, <BR>&gt; &gt; &gt; &gt; David Cole <BR>&gt; &gt; &gt; &gt; <BR>&gt; &gt; &gt; &gt; <BR>&gt; &gt; &gt; &gt; On 8/2/07, Neerav Patel &lt;neeravpatel@hotmail.com&gt; wrote: <BR>&gt; &gt; &gt; &gt; <BR>&gt; &gt; &gt; &gt; Hi, <BR>&gt; &gt; &gt; &gt; <BR>
&gt; &gt; &gt; &gt; I downloaded VTK 5.0 installer for Windows and installed it. I <BR>&gt; &gt; &gt; want to use <BR>&gt; &gt; &gt; &gt; it for Visul C++ 6.0 but all I get is TCL stuff installed. How <BR>&gt; &gt; &gt; does one get <BR>&gt; &gt; &gt; &gt; the proper libraries and DLL's for access in C++. <BR>&gt; &gt; &gt; &gt; <BR>&gt; &gt; &gt; &gt; Any help would be greatly appreciated. <BR>&gt; &gt; &gt; &gt; <BR>&gt; &gt; &gt; &gt; Neerav <BR>&gt; &gt; &gt; &gt; <BR>&gt; &gt; &gt; &gt; ________________________________ <BR>&gt; &gt; &gt; &gt; Discover the new Windows Vista Learn more! <BR>&gt; &gt; &gt; &gt; _______________________________________________ <BR>&gt; &gt; &gt; &gt; This is the private VTK discussion list. <BR>&gt; &gt; &gt; &gt; Please keep messages on-topic. Check the FAQ at: <BR>&gt; &gt; &gt; &gt; http://www.vtk.org/Wiki/VTK_FAQ <BR>&gt; &gt; &gt; &gt; Follow this link to subscribe/unsubscribe: <BR>
&gt; &gt; &gt; &gt; http://www.vtk.org/mailman/listinfo/vtkusers <BR>&gt; &gt; &gt; &gt; <BR>&gt; &gt; &gt; &gt; <BR>&gt; &gt; &gt; &gt; <BR>&gt; &gt; &gt; &gt; ________________________________ <BR>&gt; &gt; &gt; &gt; Invite your mail contacts to join your friends list with Windows <BR>&gt; &gt; &gt; Live&gt; Spaces. It's easy! Try it! <BR>&gt; &gt; &gt; _______________________________________________ <BR>&gt; &gt; &gt; This is the private VTK discussion list. <BR>&gt; &gt; &gt; Please keep messages on-topic. Check the FAQ at: <BR>&gt; &gt; &gt; http://www.vtk.org/Wiki/VTK_FAQFollow this link to <BR>&gt; &gt; &gt; subscribe/unsubscribe:http://www.vtk.org/mailman/listinfo/vtkusers <BR>&gt; &gt; &gt; <BR>&gt; &gt; <BR>&gt; &gt; ----------------------------------------------------------------- <BR>&gt; ------- <BR>&gt; &gt; <BR>&gt; &gt; _______________________________________________ <BR>&gt; &gt; This is the private VTK discussion list. <BR>
&gt; &gt; Please keep messages on-topic. Check the FAQ at: <BR>&gt; http://www.vtk.org/Wiki/VTK_FAQ&gt; Follow this link to <BR>&gt; subscribe/unsubscribe:&gt; http://www.vtk.org/mailman/listinfo/vtkusers <BR>&gt; &gt; <BR>&gt; <BR>&gt; -- <BR>&gt; Amy Squillacote <BR>&gt; Kitware, Inc. <BR>&gt; 28 Corporate Drive <BR>&gt; Clifton Park, NY 12065 <BR>&gt; Phone: (518) 371-3971 x106 <BR>&gt; <BR>&gt; </P></BODY>