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