[vtkusers] VTK, MSVS and Quicktime
David Gobbi
david.gobbi at gmail.com
Tue Mar 1 00:36:50 EST 2011
Hi Gib,
This sort of problem is very common when people distribute software
that was built with Visual Studio. C++ software built with MSVC 2005
will only work on systems that have MSVCR80.DLL and MSVCP80.DLL.
A base Windows XP system does not have these DLLs. I'd bet, though,
that Quicktime installs them, and that is why installing quicktime
made everything work.
Here's the solution: when you distribute your software, you MUST
distribute MSVCR80.DLL and MSVCP80.DLL along with your executable,
I'm not 100% sure but I think this is even true if your executable is
statically linked. These DLLs are the C and C++ runtime libraries for
MSVC.
- David
On Mon, Feb 28, 2011 at 10:08 PM, Gib Bogle <g.bogle at auckland.ac.nz> wrote:
> I sent my Qt/VTK application, built with MSVS 8 2005 on Windows XP, with
> statically linked VTK-5.4 libraries, to someone interested in trying it out.
> He was unable to get the program to run on his XP machine until he
> installed Quicktime. I wonder if anyone has any ideas about why Quicktime
> should have any influence on this program's execution.
>
> Thanks
> Gib
More information about the vtkusers
mailing list