[vtkusers] Trouble Distributing VC9-compiled VTK

David Cole david.cole at kitware.com
Mon Jan 19 13:54:30 EST 2009


You say you have the msvc* dlls installed... but do you also have the
manifest file installed that goes with them?
Did you produce all your binaries as a result of a clean, full build? Or an
incremental build?

Do you use CMake to produce a "make install" tree and an installer or do you
have some other way of packaging your program? If you use CMake, you should:
  INCLUDE(InstallRequiredSystemLibraries)
somewhere in your CMakeLists.txt file.


HTH,
David


On Mon, Jan 19, 2009 at 1:41 PM, Paul <massivemonkeymayhem at gmail.com> wrote:

> Hi all. I've compiled VTK-5.2.1 successfully using Visual Studio
> Express 2008. My Python-based VTK program works great, however I am
> unable to copy and use my VTK build onto other Win32 machines without
> first installing VS. A simple "import vtk" in python produces generic
> DLL errors, even though I've included both msvcp90d.dll and
> msvcr90d.dll and tried debug and release debug builds.
>
> I've tried installing the VS runtime, but this has no effect. If I
> install Visual Studio, VTK works fine. Once I uninstall it, it breaks.
> I'm not sure how to proceed forward. Any ideas?
>
> Paul
> _______________________________________________
> This is the private VTK discussion list.
> Please keep messages on-topic. Check the FAQ at:
> http://www.vtk.org/Wiki/VTK_FAQ
> Follow this link to subscribe/unsubscribe:
> http://www.vtk.org/mailman/listinfo/vtkusers
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.vtk.org/pipermail/vtkusers/attachments/20090119/faae1919/attachment.htm>


More information about the vtkusers mailing list