<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns="http://www.w3.org/TR/REC-html40">
<head>
<meta http-equiv=Content-Type content="text/html; charset=us-ascii">
<meta name=Generator content="Microsoft Word 11 (filtered medium)">
<!--[if !mso]>
<style>
v\:* {behavior:url(#default#VML);}
o\:* {behavior:url(#default#VML);}
w\:* {behavior:url(#default#VML);}
.shape {behavior:url(#default#VML);}
</style>
<![endif]-->
<style>
<!--
/* Font Definitions */
@font-face
        {font-family:Tahoma;
        panose-1:2 11 6 4 3 5 4 4 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0in;
        margin-bottom:.0001pt;
        font-size:12.0pt;
        font-family:"Times New Roman";}
a:link, span.MsoHyperlink
        {color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {color:purple;
        text-decoration:underline;}
span.EmailStyle17
        {mso-style-type:personal-reply;
        font-family:Arial;
        color:navy;}
@page Section1
        {size:8.5in 11.0in;
        margin:1.0in 1.25in 1.0in 1.25in;}
div.Section1
        {page:Section1;}
-->
</style>
</head>
<body lang=EN-US link=blue vlink=purple>
<div class=Section1>
<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'>Hi Laura,<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'><o:p> </o:p></span></font></p>
<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'>Did you configure VTK with CMake?
Make sure that the option BUILD_SHARED_LIBS is ON, this may be why you have no
DLL files. After that, you’ll have to add all the appropriate
directories to Visual Studio (under Tools->Options choose “Projects”
on the left and then “VC++ Directories”). For the include
files I included Common, Filtering, Graphics, Hybrid, Imaging, IO, Parallel,
Patented, Rendering and Utilities as well as the root folder of my VTK source
tree and the root folder of the compiled VTK tree (this might be the same
folder depending on your CMake options). You’ll also need to add
the bin/release path to the Visual Studio “Library Files”
section. These are all global options for visual studio and you can
probably find equivalents at a project level. Lastly you’ll need to
tell the linker which .lib files to use so under Project->Properties choose “Linker”
and then “Command Line”, in the “Additional Options”
text box on the bottom right I have:<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'><o:p> </o:p></span></font></p>
<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'>vtkCommon.lib vtkDICOMParser.lib
vtkexpat.lib vtkFiltering.lib vtkfreetype.lib vtkftgl.lib vtkGraphics.lib
vtkHybrid.lib vtkImaging.lib vtkIO.lib vtkjpeg.lib vtkParallel.lib vtkpng.lib
vtkRendering.lib vtktiff.lib vtkzlib.lib<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'><o:p> </o:p></span></font></p>
<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'>This setup has been working for me quite
well, hope this helps.<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'><br>
Beau<o:p></o:p></span></font></p>
<div>
<div class=MsoNormal align=center style='text-align:center'><font size=3
face="Times New Roman"><span style='font-size:12.0pt'>
<hr size=2 width="100%" align=center tabindex=-1>
</span></font></div>
<p class=MsoNormal><b><font size=2 face=Tahoma><span style='font-size:10.0pt;
font-family:Tahoma;font-weight:bold'>From:</span></font></b><font size=2
face=Tahoma><span style='font-size:10.0pt;font-family:Tahoma'>
vtkusers-bounces+beau.sapach=ualberta.ca@vtk.org
[mailto:vtkusers-bounces+beau.sapach=ualberta.ca@vtk.org] <b><span
style='font-weight:bold'>On Behalf Of </span></b>Renato N. Elias<br>
<b><span style='font-weight:bold'>Sent:</span></b> Sunday, October 21, 2007
4:50 PM<br>
<b><span style='font-weight:bold'>To:</span></b> 'Laura Josephine'<br>
<b><span style='font-weight:bold'>Cc:</span></b> vtkusers@vtk.org<br>
<b><span style='font-weight:bold'>Subject:</span></b> RES: [vtkusers] Windows
Installation Help</span></font><o:p></o:p></p>
</div>
<p class=MsoNormal><font size=3 face="Times New Roman"><span style='font-size:
12.0pt'><o:p> </o:p></span></font></p>
<p class=MsoNormal><font size=2 color=blue face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:blue'>Try updating the include (and
library) directories within Visual Studio. In VS2005 it's under the menu
tools\options, "Project and Solutions"\VC++ Directories. Select
"Show directories for:" Include files and insert the path of your
compiled VTK.</span></font><o:p></o:p></p>
<p class=MsoNormal><font size=3 face="Times New Roman"><span style='font-size:
12.0pt'> <o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 color=blue face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:blue'>Regards</span></font><o:p></o:p></p>
<p class=MsoNormal><font size=3 face="Times New Roman"><span style='font-size:
12.0pt'> <o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 color=blue face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:blue'>Renato.</span></font><o:p></o:p></p>
<p class=MsoNormal><font size=3 face="Times New Roman"><span style='font-size:
12.0pt'><o:p> </o:p></span></font></p>
<div class=MsoNormal align=center style='text-align:center'><font size=3
face="Times New Roman"><span lang=PT-BR style='font-size:12.0pt'>
<hr size=2 width="100%" align=center tabIndex=-1>
</span></font></div>
<p class=MsoNormal style='margin-bottom:12.0pt'><b><font size=2 face=Tahoma><span
lang=PT-BR style='font-size:10.0pt;font-family:Tahoma;font-weight:bold'>De:</span></font></b><font
size=2 face=Tahoma><span lang=PT-BR style='font-size:10.0pt;font-family:Tahoma'>
vtkusers-bounces+rnelias=nacad.ufrj.br@vtk.org
[mailto:vtkusers-bounces+rnelias=nacad.ufrj.br@vtk.org] <b><span
style='font-weight:bold'>Em nome de </span></b>Laura Josephine<br>
<b><span style='font-weight:bold'>Enviada em:</span></b> domingo, 21 de outubro
de 2007 14:51<br>
<b><span style='font-weight:bold'>Para:</span></b> vtkusers@vtk.org<br>
<b><span style='font-weight:bold'>Assunto:</span></b> [vtkusers] Windows
Installation Help</span></font><span lang=PT-BR><o:p></o:p></span></p>
<div>
<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'>We have built VTK using Microsoft Visual C++ 2003 and the
output shows 39 successful, 0 errors, 0 warnings. The '.\bin\debug\' folder
includes .lib, .idb, and .pdb files. There are no .dll files, and when you try
and run one of the examples it says that it cannot locate the .h files
that are included in your project. How do we get the examples to run that
include files such as 'vtkSphereSource.h'? </span></font><o:p></o:p></p>
</div>
<div>
<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'>Thanks for any help/suggestions,</span></font><o:p></o:p></p>
</div>
<div>
<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'>Laura & Syd</span></font><o:p></o:p></p>
</div>
</div>
</body>
</html>