<font style="font-family: tahoma,sans-serif;" size="2">Hello,<br><br>I want to compile VTK 5.8 for 64bit windows machine. I have cmake 2.6 for 32-bit windows. I downloaded vtk source code from <a href="http://www.vtk.org/" target="_blank">www.vtk.org</a> website. While configuring, I select Visual Studio 9(64) and continued configuration. Then I made following changes</font><br>
<span style="font-family: verdana,sans-serif;"><br>CMAKE_CXX_FLAGS = /D_WIN64 /D_WINDOWS (Default was /DWIN32 /D_WINDOWS)</span><span style="font-family: verdana,sans-serif;"><br>CMAKE_C_FLAGS = /D_WIN64 /D_WINDOWS (Default was /DWIN32 /D_WINDOWS)</span><span style="font-family: verdana,sans-serif;"><br>
CMAKE_INSTALL_PREFIX = Appropriate path where lib, header and dll files</span> <span style="font-family: verdana,sans-serif;">will be saved</span><span style="font-family: verdana,sans-serif;"><br>VTK_DATA_ROOT = Path where vtk data resides.</span><span style="font-family: tahoma,sans-serif;"><font size="2"><br>
<br></font></span>Now what i want to ask is that <br>1) Is it perfectly fine to use 32-bit version of cmake to compile 64bit version of VTK?<br>2) What effect will it be if WIN32 is replaced with _WIN64 in flags above?<br>
<br>Thanks<br><br>Regards<br><font color="#888888">Rakesh Patil</font>