<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=us-ascii">
<META content="MSHTML 6.00.5730.11" name=GENERATOR></HEAD>
<BODY>
<DIV dir=ltr align=left><SPAN class=270252621-22112006><FONT face=Arial
color=#0000ff size=2>Rashed,</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=270252621-22112006><FONT face=Arial
color=#0000ff size=2></FONT></SPAN> </DIV>
<DIV dir=ltr align=left><SPAN class=270252621-22112006><FONT face=Arial
color=#0000ff size=2>You can use a program called 'Depends.exe' on windows (if
your system doesn't already have it you can download it from
microsoft).</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=270252621-22112006><FONT face=Arial
color=#0000ff size=2></FONT></SPAN> </DIV>
<DIV dir=ltr align=left><SPAN class=270252621-22112006><FONT face=Arial
color=#0000ff size=2>Depends is just like ldd on linux and will show you all the
libraries that you application depends on. </FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=270252621-22112006><FONT face=Arial
color=#0000ff size=2></FONT></SPAN> </DIV>
<DIV dir=ltr align=left><SPAN class=270252621-22112006><FONT face=Arial
color=#0000ff size=2>The other way to do this is run your application on the new
machine, have it give you an error message. Include the missing library in
the same directory as your exe and repeat.... :)</FONT></SPAN></DIV>
<DIV> </DIV><!-- Converted from text/plain format -->
<P><FONT size=2> Brian Wylie - Org 1424<BR> Sandia National
Laboratories<BR> MS 0822 - Building 880/A1-J<BR> (505)844-2238
FAX(505)845-0833 <BR></FONT></P>
<DIV> </DIV><BR>
<BLOCKQUOTE
style="PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #0000ff 2px solid; MARGIN-RIGHT: 0px">
<DIV class=OutlookMessageHeader lang=en-us dir=ltr align=left>
<HR tabIndex=-1>
<FONT face=Tahoma size=2><B>From:</B>
vtkusers-bounces+bnwylie=sandia.gov@vtk.org
[mailto:vtkusers-bounces+bnwylie=sandia.gov@vtk.org] <B>On Behalf Of
</B>rashed karim<BR><B>Sent:</B> Wednesday, November 22, 2006 11:27
AM<BR><B>To:</B> Burlen<BR><B>Cc:</B> vtkusers@vtk.org<BR><B>Subject:</B> Re:
[vtkusers] Port vtk application to another computer with no vtk
installed<BR></FONT><BR></DIV>
<DIV></DIV>Hi Burlen<BR><BR>I am using visual studio .net 2003 for development
on windows. <BR><BR>Rashed<BR><BR>
<DIV><SPAN class=gmail_quote>On 11/22/06, <B class=gmail_sendername>Burlen</B>
<<A href="mailto:burlen@apollo.sr.unh.edu">
burlen@apollo.sr.unh.edu</A>> wrote:</SPAN>
<BLOCKQUOTE class=gmail_quote
style="PADDING-LEFT: 1ex; MARGIN: 0pt 0pt 0pt 0.8ex; BORDER-LEFT: rgb(204,204,204) 1px solid">Hi,
using a linux os I have done this using "g++ -static", then the binary
<BR>will run on a machine that doesn't have vtk installed. Your
compiler/linker<BR>should have a similar option, what version of c++ are you
using?<BR><BR><BR>On Tuesday 21 November 2006 10:29 am, Rashed Karim
wrote:<BR>> Hi everyone, <BR>><BR>> I have built a windows
application which uses the vtk libraries. I want to<BR>> transfer the
application (.exe file) to another computer which doesnt have<BR>> vtk
installed. I transfered the .exe file together with vtk lib files ( <BR>>
vtkHybrid.lib, vtkVolumeRendering.lib, etc) but it doesnt
work.<BR>><BR>> I dont want to compile vtk on the other machine, since
its a long process.<BR>> Does anyone know how I could make this
application run on the other <BR>> computer?<BR>><BR>> Any help
will be appreciated,<BR><BR>--<BR><BR>Burlen Loring<BR>Space Science
Center<BR>Institute for the Study of Earth, Oceans, and Space<BR>University
of New Hampshire<BR>39 College Road, Durham, NH 03824 <BR>Phone:
603-862-1140<BR>_______________________________________________<BR>This is
the private VTK discussion list.<BR>Please keep messages on-topic. Check the
FAQ at: <A
href="http://www.vtk.org/Wiki/VTK_FAQ">http://www.vtk.org/Wiki/VTK_FAQ
</A><BR>Follow this link to subscribe/unsubscribe:<BR><A
href="http://www.vtk.org/mailman/listinfo/vtkusers">http://www.vtk.org/mailman/listinfo/vtkusers</A><BR></BLOCKQUOTE></DIV><BR></BLOCKQUOTE></BODY></HTML>