<html dir="ltr">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<style id="owaParaStyle" type="text/css">P {margin-top:0;margin-bottom:0;}</style>
</head>
<body ocsi="0" fpstyle="1" bgcolor="#FFFFFF">
<div style="direction: ltr;font-family: Tahoma;color: #000000;font-size: 10pt;">Your friend's machine will need the Qt dlls.&nbsp; A great tool for checking dll requirements is DependencyWalker:<br>
<a href="http://www.dependencywalker.com/" target="_blank">http://www.dependencywalker.com/</a><br>
<br>
Gib<br>
<div style="font-family: Times New Roman; color: rgb(0, 0, 0); font-size: 16px;">
<hr tabindex="-1">
<div style="direction: ltr;" id="divRpF335499"><font face="Tahoma" color="#000000" size="2"><b>From:</b> vtkusers-bounces@vtk.org [vtkusers-bounces@vtk.org] on behalf of Alex Southern [mrapsouthern@gmail.com]<br>
<b>Sent:</b> Tuesday, 13 December 2011 4:58 a.m.<br>
<b>To:</b> Jothybasu Selvaraj<br>
<b>Cc:</b> vtkusers@vtk.org<br>
<b>Subject:</b> Re: [vtkusers] Compile VTK&#43;QT for release<br>
</font><br>
</div>
<div></div>
<div>Not sure, but probably not as im using the open source license not the commercial one.<br>
<br>
I built the libraries myself from the source code using the guide at<br>
<a class="moz-txt-link-freetext" href="http://www.holoborodko.com/pavel/2011/02/01/how-to-compile-qt-4-7-with-visual-studio-2010/" target="_blank">http://www.holoborodko.com/pavel/2011/02/01/how-to-compile-qt-4-7-with-visual-studio-2010/</a><br>
<br>
and in my Qt 4.7.4-64bit/bin folder there are a bunch of dll's including QtCore4.dll etc...<br>
<br>
So i guess it is a completely dynamic library.<br>
<br>
Could this mean im missing Qt dll's?<br>
<br>
Cheers<br>
Alex<br>
<br>
On 12/12/2011 5:51 PM, Jothybasu Selvaraj wrote:
<blockquote type="cite">
<div dir="ltr">Doyou have Qt too built as static?<br>
<br>
<div class="gmail_quote">On Mon, Dec 12, 2011 at 3:34 PM, Alex Southern <span dir="ltr">
&lt;<a href="mailto:mrapsouthern@gmail.com" target="_blank">mrapsouthern@gmail.com</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
<div bgcolor="#FFFFFF">Ok, my vtk/bin folder (which I know is configured correctly as everything is ok on my machine) does not contain *.dll, only *.lib. (and some demo *.exe).<br>
<br>
It looks like you have the dynamic VTK installation (hence dll) and I have the static installation.<br>
<br>
As I understand it, my static installation should mean that the revelant code from the library is included directly in the final executable and hence missing VTK libraries are not an issue here.<br>
<br>
Does anyone disagree with me on this?<br>
<br>
Cheers<br>
<font color="#888888">Alex</font>
<div>
<div class="h5"><br>
<br>
On 12/12/2011 5:24 PM, Jothybasu Selvaraj wrote:
<blockquote type="cite">
<div dir="ltr">At least try copying all the vtk dlls in the vtk/bin (where yuo built vtk).<br>
<br>
<div class="gmail_quote">On Mon, Dec 12, 2011 at 3:19 PM, Alex Southern <span dir="ltr">
&lt;<a href="mailto:mrapsouthern@gmail.com" target="_blank">mrapsouthern@gmail.com</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
<div bgcolor="#FFFFFF">Hi,<br>
<br>
Hmmm - I have not used QTCreator I used QTDesigner, I dont have a .pro file.<br>
<br>
Cheers<br>
<font color="#888888">Alex</font>
<div>
<div><br>
<br>
On 12/12/2011 5:12 PM, Jothybasu Selvaraj wrote:
<blockquote type="cite">
<div dir="ltr">Try copying all the dll corresponding to the libs you included in the .pro file in QtCreator.I don't know how it works in VS.<br>
<br>
Jothy<br>
<br>
<div class="gmail_quote">On Mon, Dec 12, 2011 at 3:09 PM, Alex Southern <span dir="ltr">
&lt;<a href="mailto:mrapsouthern@gmail.com" target="_blank">mrapsouthern@gmail.com</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
<div bgcolor="#FFFFFF">No he doesn't have them.<br>
<br>
Though I believe I built VTK static libraries as this is default.<br>
<br>
Do I need to build them?<br>
If so, how do I know which ones he will need?<br>
<br>
Thanks<br>
<font color="#888888">Alex</font>
<div>
<div><br>
<br>
<br>
<br>
On 12/12/2011 5:05 PM, Jothybasu Selvaraj wrote:
<blockquote type="cite">
<div dir="ltr">Do you have all the VTK and QT dlls on your friends computer?<br>
<br>
Jothy<br>
<br>
<div class="gmail_quote">On Mon, Dec 12, 2011 at 2:53 PM, Alex Southern <span dir="ltr">
&lt;<a href="mailto:mrapsouthern@gmail.com" target="_blank">mrapsouthern@gmail.com</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
Hmmmm,<br>
<br>
Not unless it is done by default in the VS2010 installation? - I have installed VS2010 service pack 1 though.<br>
<br>
Wait, when you talk about installation are you referring to my Visual Studio 2010 installation or installing these 'run times' on my colleagues machine?<br>
<br>
Cheers<br>
Alex
<div><br>
<br>
On 12/12/2011 4:46 PM, John Drescher wrote:<br>
</div>
<blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
<div>On Mon, Dec 12, 2011 at 9:44 AM, Alex Southern&lt;<a href="mailto:mrapsouthern@gmail.com" target="_blank">mrapsouthern@gmail.com</a>&gt; &nbsp;wrote:<br>
</div>
<blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
<div>Hi,<br>
<br>
I just compiled a VTK &#43; QT application in &quot;x64&quot; and &quot;Release&quot; mode (Windows<br>
</div>
7 64 bit&amp; &nbsp;VS2010 VTK 5.8.0 and QT 4.7.4) the resulting executable works
<div><br>
perfectly fine on my machine.<br>
<br>
The problem is that I want this to work on another Windows 7 64-bit machine<br>
so a colleague may use the program. He ran the compiled EXE but got a<br>
message saying that the application could not start.<br>
<br>
VTK was built with the standard settings in Cmake plus the QT and Parallel<br>
options.<br>
<br>
(Im not a software developer by profession as you may have guessed)<br>
<br>
Any suggestions?<br>
<br>
</div>
</blockquote>
<div>Did you install the Visual Studio 2010 runtimes as part of your install process?<br>
<br>
John<br>
</div>
</blockquote>
<div>
<div><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>
<br clear="all">
<br>
-- <br>
<div dir="ltr">Jothy<br>
</div>
<br>
</div>
</blockquote>
<br>
</div>
</div>
</div>
</blockquote>
</div>
<br>
<br clear="all">
<br>
-- <br>
<div dir="ltr">Jothy<br>
</div>
<br>
</div>
</blockquote>
<br>
</div>
</div>
</div>
</blockquote>
</div>
<br>
<br clear="all">
<br>
-- <br>
<div dir="ltr">Jothy<br>
</div>
<br>
</div>
</blockquote>
<br>
</div>
</div>
</div>
</blockquote>
</div>
<br>
<br clear="all">
<br>
-- <br>
<div dir="ltr">Jothy<br>
</div>
<br>
</div>
</blockquote>
<br>
</div>
</div>
</div>
</body>
</html>