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