<div>If you build the entire solution or the ALL_BUILD project, everything should get built. You should get dlls if you turned BUILD_SHARED_LIBS ON in the cmake gui.</div><div><br></div>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.<br>
<br><div class="gmail_quote">On Tue, Sep 28, 2010 at 4:41 PM, Bob Palank <span dir="ltr"><<a href="mailto:bob@stlcc.org">bob@stlcc.org</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
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. 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. In coding , I use explicit includes and<br>
<div class="im">pragmas ( e.g.<br>
<br>
#pragma comment(lib, "d:\\vtk560\\Lib\\vtkRendering.lib")<br>
<br>
</div>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>
<font color="#888888"> Bob<br>
</font><div><div></div><div class="h5"><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 <<a href="mailto:drescherjm@gmail.com">drescherjm@gmail.com</a>> wrote:<br>
>> Upon a VS 2008 Build completion, should I expect to see a collection of<br>
dll<br>
>> files?<br>
><br>
> If you enabled shared lib building when you configured that then yes.<br>
> I believe this is the default.<br>
><br>
>> If so, where?<br>
><br>
> In the build folder (that you configured) there will be a bin/debug<br>
> and bin/release ...<br>
><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><br>
</div></div></blockquote></div><br>