[vtkusers] Build VTK for Windows XP 32bit on Window 7 64bit machine

Gib Bogle g.bogle at auckland.ac.nz
Mon Jan 30 16:27:37 EST 2012


On 31/01/2012 6:49 a.m., Bryn Lloyd wrote:
> Hi
>
> I am having a difficult problem to solve, it seems related to VTK.
>
> I compiled VTK on my Windows 7 64bit machine with Visual Studio for both 64 
> and 32bit windows.
> Now I have used these versions in our (complex) application on different 
> systems. The application uses VTK in Python and in C++.
>
> On Windows XP 32bit the application fails to start because of some issue 
> during loading of the VTK dlls. Using Process Monitor I have found there might 
> be an issue with the manifest. Process Monitor mentions it cannot find the 
> manifest file of the different VTK dlls. I have no idea what is going wrong. 
> As I understand it, VTK embeds the manifest, so it is strange that they are 
> even searched/cannot be found.
>
> Another strange thing is that the application is working fine on one XP 32bit 
> machine, but is failing on another. They both have the C++ run-time libraries 
> installed. The system which works, has Visual Studio installed, the other does 
> not. No missing dll errors, just silent crash.
>
> If you have any ideas, I would love to hear them!
>
For problems like this Dependency Walker is very useful.  It will tell you about 
missing or inconsistent DLLs.  The issue could be the MS Visual C++ runtime DLLs.

Gib



More information about the vtkusers mailing list