<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:m="http://schemas.microsoft.com/office/2004/12/omml" 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 12 (filtered medium)">
<style>
<!--
 /* Font Definitions */
 @font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
@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","serif";}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:purple;
        text-decoration:underline;}
span.EmailStyle17
        {mso-style-type:personal-reply;
        font-family:"Calibri","sans-serif";
        color:#1F497D;}
.MsoChpDefault
        {mso-style-type:export-only;}
@page WordSection1
        {size:8.5in 11.0in;
        margin:1.0in 1.0in 1.0in 1.0in;}
div.WordSection1
        {page:WordSection1;}
-->
</style>
<!--[if gte mso 9]><xml>
 <o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
 <o:shapelayout v:ext="edit">
  <o:idmap v:ext="edit" data="1" />
 </o:shapelayout></xml><![endif]-->
</head>

<body lang=EN-US link=blue vlink=purple>

<div class=WordSection1>

<p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'>I am making progress &nbsp;- vtk has been built, and I attempt to run
the Sample Cone Application &#8230;&#8230;&#8230;.. BUT<br>
<br>
<o:p></o:p></span></p>

<p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'>Dave P. says &quot; Once you have successfully built everything,
building the INSTALL project should give you a directory under C:\Program
Files\VTK\ which contain bin (dlls) lib (.lib) and include (.h) directories.
&quot;<o:p></o:p></span></p>

<p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'><o:p>&nbsp;</o:p></span></p>

<p class=MsoNormal><b><span style='font-family:"Calibri","sans-serif";
color:#1F497D'>Space on Drive C is limited&nbsp; so I have VTK on D: not C:&nbsp; <o:p></o:p></span></b></p>

<p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'>&nbsp; D:\Program Files\VTK\ which contain bin (dlls) lib (.lib) and
include (.h) directories. &quot;<o:p></o:p></span></p>

<p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'><o:p>&nbsp;</o:p></span></p>

<p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'>My Path variable contains&nbsp; D:\Program Files\VTK<o:p></o:p></span></p>

<p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'><o:p>&nbsp;</o:p></span></p>

<p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'>When I rebuild my ConeFor2008 application, I encounter Error 2
below when I <o:p></o:p></span></p>

<p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'>#include
&quot;d:\vtk560\include\vtkRenderWindowInteractor.h&quot;&nbsp; // I have includes
here also<o:p></o:p></span></p>

<p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'>#include &quot;d:\vtk560\include\vtkRenderer.h&quot;<o:p></o:p></span></p>

<p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'>#include &quot;d:\vtk560\include\vtkPolyDataMapper.h&quot;<o:p></o:p></span></p>

<p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'>#include &quot;d:\vtk560\include\vtkProperty.h&quot;<o:p></o:p></span></p>

<p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'>#include &quot;d:\vtk560\include\vtkActor.h&quot;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <o:p></o:p></span></p>

<p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'>//&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; No errors with all of
the above active<o:p></o:p></span></p>

<p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'>//==================================================================================<o:p></o:p></span></p>

<p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'>// There is a&nbsp; vtkConeSource.h in the include folder, but<br>
<br>
<o:p></o:p></span></p>

<p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'>#include &quot;d:\vtk560\include\vtkConeSource.h&quot;&nbsp; // But
this include generates Error 2 below<o:p></o:p></span></p>

<p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'><o:p>&nbsp;</o:p></span></p>

<p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'>------------------------------------------------------------------------------------------------<o:p></o:p></span></p>

<p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'>Error&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 2&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; fatal error C1083: Cannot open include
file: 'vtkstd/string': No such file or directory&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; d:\vtk560\include\vtkStdString.h&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 25&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; ConeFor2008<o:p></o:p></span></p>

<p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'><o:p>&nbsp;</o:p></span></p>

<p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'><o:p>&nbsp;</o:p></span></p>

<p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'>Any ideas ???<o:p></o:p></span></p>

<p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'>Bob<o:p></o:p></span></p>

<p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'><o:p>&nbsp;</o:p></span></p>

<div style='border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0in 0in 0in'>

<p class=MsoNormal><b><span style='font-size:10.0pt;font-family:"Tahoma","sans-serif"'>From:</span></b><span
style='font-size:10.0pt;font-family:"Tahoma","sans-serif"'> Dave Partyka
[mailto:dave.partyka@kitware.com] <br>
<b>Sent:</b> Tuesday, September 28, 2010 3:49 PM<br>
<b>To:</b> Bob Palank<br>
<b>Cc:</b> John Drescher; vtkusers@vtk.org<br>
<b>Subject:</b> Re: [vtkusers] vtk Build for Visual Studio<o:p></o:p></span></p>

</div>

<p class=MsoNormal><o:p>&nbsp;</o:p></p>

<div>

<p class=MsoNormal>If you build the entire solution or the ALL_BUILD project,
everything should get built. You should get dlls if you&nbsp;turned
BUILD_SHARED_LIBS ON in the cmake gui.<o:p></o:p></p>

</div>

<div>

<p class=MsoNormal><o:p>&nbsp;</o:p></p>

</div>

<p class=MsoNormal style='margin-bottom:12.0pt'>Once you have successfully
built everything, building the INSTALL project should give you a directory
under C:\Program Files\VTK\ which contain bin (dlls) lib (.lib) and include
(.h) directories.<o:p></o:p></p>

<div>

<p class=MsoNormal>On Tue, Sep 28, 2010 at 4:41 PM, Bob Palank &lt;<a
href="mailto:bob@stlcc.org">bob@stlcc.org</a>&gt; wrote:<o:p></o:p></p>

<p class=MsoNormal>Once I'm done I want VTK 560 content for three folders - bin
(holding dlls),<br>
Include (for all header files) and a Lib folder for all lib files. &nbsp;I'll<br>
move the files into the correct folders on my own.<br>
Building vtk apps requires the include and lib folders and application<br>
execution is dependent on the dlls. &nbsp;In coding , I use explicit includes
and<o:p></o:p></p>

<div>

<p class=MsoNormal style='margin-bottom:12.0pt'>pragmas ( e.g.<br>
<br>
#pragma comment(lib, &quot;d:\\vtk560\\Lib\\vtkRendering.lib&quot;)<o:p></o:p></p>

</div>

<p class=MsoNormal>Now the question in VS 2008 do I right click and build on
INSTALL or<br>
ALL_BUILD?<br>
As of now I have everything I need except there are no dlls- not in debug<br>
nor release.<br>
Does the VS2008 Build generate the dlls ? ?<br>
TIA<br>
<span style='color:#888888'>&nbsp;Bob</span><o:p></o:p></p>

<div>

<div>

<p class=MsoNormal><br>
-----Original Message-----<br>
From: John Drescher [mailto:<a href="mailto:drescherjm@gmail.com">drescherjm@gmail.com</a>]<br>
Sent: Monday, September 27, 2010 3:36 PM<br>
To: Bob Palank<br>
Cc: <a href="mailto:vtkusers@vtk.org">vtkusers@vtk.org</a><br>
Subject: Re: [vtkusers] vtk Build for Visual Studio<br>
<br>
On Mon, Sep 27, 2010 at 4:16 PM, John Drescher &lt;<a
href="mailto:drescherjm@gmail.com">drescherjm@gmail.com</a>&gt; wrote:<br>
&gt;&gt; Upon a VS 2008 Build completion, should I expect to see a collection
of<br>
dll<br>
&gt;&gt; files?<br>
&gt;<br>
&gt; If you enabled shared lib building when you configured that then yes.<br>
&gt; I believe this is the default.<br>
&gt;<br>
&gt;&gt; If so, where?<br>
&gt;<br>
&gt; In the build folder (that you configured) there will be a bin/debug<br>
&gt; and bin/release ...<br>
&gt;<br>
<br>
BTW, when you are building under Visual Studio do not build the<br>
install target (like some guides tell you) that will only cause<br>
problems with debugging because when you install the .dll names are<br>
the same for debug and release so with the name collision you have to<br>
choose to install debug or release instead of being able to use either<br>
in a normal development process. For CMake based applications instead<br>
you tell them where your VTK_DIR is and that location is the root<br>
where you had your build created.<br>
<br>
John<br>
<br>
_______________________________________________<br>
Powered by <a href="http://www.kitware.com" target="_blank">www.kitware.com</a><br>
<br>
Visit other Kitware open-source projects at <a
href="http://www.kitware.com/opensource/opensource.html" target="_blank">http://www.kitware.com/opensource/opensource.html</a><br>
<br>
Please keep messages on-topic and check the VTK FAQ at: <a
href="http://www.vtk.org/Wiki/VTK_FAQ" target="_blank">http://www.vtk.org/Wiki/VTK_FAQ</a><br>
<br>
Follow this link to subscribe/unsubscribe:<br>
<a href="http://www.vtk.org/mailman/listinfo/vtkusers" target="_blank">http://www.vtk.org/mailman/listinfo/vtkusers</a><o:p></o:p></p>

</div>

</div>

</div>

<p class=MsoNormal><o:p>&nbsp;</o:p></p>

</div>

</body>

</html>