Hi Obada, <br><br>Thanks for your help. The windows installer option definitely seems like a possible solution and thanks for providing me with the links. It came of great help. <br><br>I had a question, for a quick dirty solution, if I did try copying the vtk DLLs, where can I find them. I have looked everywhere in my vtk installation folder but cant find them.
<br><br>Thanks again, <br>Rashed<br><br><br><div><span class="gmail_quote">On 11/22/06, <b class="gmail_sendername">Obada Mahdi</b> <<a href="mailto:omahdi@gmx.de">omahdi@gmx.de</a>> wrote:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Hi Rashed,<br><br>On 11/22/06, rashed karim <<a href="mailto:rashed.vtk@googlemail.com">rashed.vtk@googlemail.com</a>> wrote:<br>> I have written an application in visual c++ which uses VTK. After compiling<br>> it produces an .exe which runs fine. But, when I copy-paste the .exe file of
<br>> this application to another computer which doesn't have VTK compiled and<br>> installed, it doesn't work.<br><br>there is (in general) more to a "clean" deployment of a project than<br>just manually copying some files. For example, when you are linking
<br>your project against the shared runtime libraries from Visual Studio,<br>those libraries need to be distributed with your project as well, in<br>addition to the VTK libraries (if you are building shared VTK<br>libraries), because other systems might just not have those exact
<br>libraries installed.<br><br>Unfortunately, I do not know all too much about deploying programs<br>created with Visual Studio--this might be a starting point for more<br>general information:<br><br><a href="http://msdn2.microsoft.com/en-gb/library/zebw5zk9(VS.80).aspx">
http://msdn2.microsoft.com/en-gb/library/zebw5zk9(VS.80).aspx</a><br><br>It might also be a good idea to try CPack, which is a tool that comes<br>with CMake, and is meant "to abstract package generation on specific<br>
platforms":<br><br><a href="http://www.cmake.org/Wiki/CMake:Packaging_With_CPack">http://www.cmake.org/Wiki/CMake:Packaging_With_CPack</a><br><br>I actually do not know anything about it, but I am sure that, either<br>
here or in the CMake users mailing list, there are many people who<br>know more about this stuff and can assist you :-)<br><br>> It is what I had expected, so I copied all .lib<br>> files (such as vtkHybrid.lib, vtkVolumeRendering.lib
, etc) to that computer,<br>> and it still doesnt work.<br><br>If you are using shared libraries, what needs to be distributes along<br>with the ".exe" are the "*.dll" files, not "*.lib". You can try to
<br>copy the DLLs, but like mentioned above, there is no guarantee that<br>this will be enough.<br><br>> How can I make my application on the other computer work?<br>><br>> Any help will be appreciated,<br><br>Hopefully more experienced developers will jump in here :-)
<br><br><br>Obada<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><br clear="all"><br>-- <br>Rashed