[vtkusers] How to set up VTK4.4

Tao Wang twusa at hotmail.com
Sat Jul 17 22:03:28 EDT 2004


Dear Zhou,

I think I've sovled this problem. Basically I just did the same as what you 
said, except, I extract all header files in a separate directory. It works 
fine so far.


Thank you very much for your kind help.


-Tao

>From: "Huiqun Zhou" <zhou_huiqun at hotmail.com>
>To: "Tao Wang" <twusa at hotmail.com>,<vtkusers at vtk.org>
>Subject: Re: [vtkusers] How to set up VTK4.4
>Date: Sun, 18 Jul 2004 01:18:44 +0800
>
>As you are using VTK from its build tree, not the precompiled one, you need
>to do following things:
>(1) Include the path to the folder which contains DLLs, 
>drive:\VTK\bin\debug
>in your case if you
>   didn't change the default root name, in Windows' PATH environmental
>variable;
>(2) In VC++'s IDE, select Tools->Options->Directories (tab)->Show
>Directories for, and in the
>   drop-down listbox, select "library files", add the path to the folder
>which contains all LIBs, again
>   drive:\VTK\bin\debug, into the listbox below;
>(3) In VC++'s IDE, select Tools->Options->Directories (tab)->Show
>Directories for, and in the
>   drop-down listbox, select "include files", add the paths to the folders
>corresponding to each functional
>   module of VTK (which contains relevant header files too), such as:
>   drive:\VTK\Common
>   drive:\VTK\IO
>   drive:\VTK\Graphics
>   ...,
>   into the listbox below.
>
>   Hope it help you.
>
>Huiqun Zhou
>
>----- Original Message -----
>From: "Tao Wang" <twusa at hotmail.com>
>To: <vtkusers at vtk.org>
>Sent: Saturday, July 17, 2004 1:02 PM
>Subject: [vtkusers] How to set up VTK4.4
>
>
> >
> > Hi, everyone,
> >
> > I just downloaded vtk4.4 the latest release. I built it with CMake 
>without
> > any problem (now warnings and error messages). Then I built it in VS 
>.net
> > 2003 successfully. But then I don't know what's the next step to use it,
>All
> > the generated DLL and LIB files are in dubug/bin directory, and those .h
> > header files are scattered in individual folders.
> >
> > When I use VTK4.2, I just run the pre-compiled file, then all necessary
> > files are put in /lib, /bin, /include folders. All I need to do is to
> > specify the lib and include directory in VS C++ environment. I worked
>fine.
> >
> > Now, with vtk4.4, I don't know what to do. I tried to include the
> > "vtkDICOMImageReader.h" in my code, there is an error saying certain
>header
> > files cannot be found.
> >
> > I am new to VTK and i don't know VTK very much yet, so, my question may 
>be
> > silly:(. But I really need help from you guys, many thanks~.
> >
> > _________________________________________________________________
> > Discover the best of the best at MSN Luxury Living. 
>http://lexus.msn.com/
> >
> > _______________________________________________
> > This is the private VTK discussion list.
> > Please keep messages on-topic. Check the FAQ at:
><http://public.kitware.com/cgi-bin/vtkfaq>
> > Follow this link to subscribe/unsubscribe:
> > http://www.vtk.org/mailman/listinfo/vtkusers
> >

_________________________________________________________________
MSN Toolbar provides one-click access to Hotmail from any Web page – FREE 
download! http://toolbar.msn.click-url.com/go/onm00200413ave/direct/01/




More information about the vtkusers mailing list