Hello,<br><br>I was trying to compile VTK for 64bit windows machine. I am using cmake 2.6 for this purpose. During configuring, I had selected Visual Studio 9(64) compiler. When initial configuration completed, I changed the following entries in CMAKE<br>
<br>CMAKE_CXX_FLAGS = /D_WIN64 /D_WINDOWS (Default was /DWIN32 /D_WINDOWS)<br>CMAKE_C_FLAGS = /D_WIN64 /D_WINDOWS (Default was /DWIN32 /D_WINDOWS)<br>CMAKE_INSTALL_PREFIX = Appropriate path where lib, header and dll files will be saved<br>
VTK_DATA_ROOT = Path where vtk data resides.<br><br>After these changes, I compiled VTK using visual studio in release mode for x64 configuration. I found that only mpistub.lib was failing to generate due to which other dependent libraries also failed to generate. When I replaced the flag options from _WIN64 to WIN32 only for that project(mpistub). It got built. Is this a default behavior of mpistub? Secondly is this the proper way to build VTK libraries for 64-bit windows machine?<br>
<br>Thanks in advance<br><br>Regards<br>Rakesh Patil<br>