<table cellspacing="0" cellpadding="0" border="0" ><tr><td valign="top" style="font: inherit;"><DIV>&nbsp;</DIV>
<DIV>I used all default CMAKE settings but set BUILD_TESTING=OFF because it caused many errors. I also set VTK_WRAP_TCL=OFF. This time I got "Build: 27 succeeded, 6 failed". Here are my error messages:</DIV>
<DIV>&nbsp;</DIV>
<DIV>vtksysEncodeExecutable.exe is not a valid Win32 application<BR>vtkParseOGLExt.exe is not a valid Win32 application<BR>vtkEncodeString.exe is not a valid Win32 application<BR>error PRJ0019: A tool returned an error code from "Generating vtksysProcessFwd9xEnc.c"<BR>&gt;LINK : fatal error LNK1104: cannot open file '..\..\bin\Debug\vtksys.lib'<BR>&gt; Project : error PRJ0019: A tool returned an error code from "Generating vtkMaterialXMLLibrary.h"<BR>&gt; Project : error PRJ0019: A tool returned an error code from "Generating vtkVolumeTextureMapper3D_TwoDependentShadeFP.cxx, vtkVolumeTextureMapper3D_TwoDependentShadeFP.h"<BR></DIV>
<DIV>Will any of you please point out what is wrong here?</DIV>
<DIV>&nbsp;</DIV>
<DIV>Thank you.</DIV>
<DIV>&nbsp;</DIV>
<DIV><BR>--- On <B>Thu, 2/5/09, Jim <I>&lt;jiksed@yahoo.com&gt;</I></B> wrote:<BR></DIV>
<BLOCKQUOTE style="PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: rgb(16,16,255) 2px solid">From: Jim &lt;jiksed@yahoo.com&gt;<BR>Subject: [vtkusers] Cross-complile 64-bit vtk with VS2008<BR>To: vtkusers@vtk.org<BR>Date: Thursday, February 5, 2009, 10:21 AM<BR><BR>
<DIV id=yiv1742916880>
<TABLE cellSpacing=0 cellPadding=0 border=0>
<TBODY>
<TR>
<TD vAlign=top>
<DIV>Dear vtkusers,</DIV>
<DIV>&nbsp;</DIV>
<DIV>I tried cross-compiling vtk-5.2.1 for 64-bit vtk binaries on my Win32 XP with VS 2008, but I got tons of errors without any&nbsp;DLLs or LIBs generated. </DIV>
<DIV>&nbsp;</DIV>
<DIV>In CMake-2.6.2, I chose Build For "Visual Studio 9 2008 Win64". I am wondering if I should set any of the following 32/64-bit options in CMake:</DIV>
<DIV>&nbsp;</DIV>
<DIV>Cmake_CXX_Standard_Libaries</DIV>
<DIV>Cmake_C_Standard_Libaries</DIV>
<DIV>OPENGL_gl_LIBRARIES</DIV>
<DIV>OPENGL_glu_LIBRARIES</DIV>
<DIV>CMAKE_USE_WIN32_THREADS</DIV>
<DIV>&nbsp;</DIV>
<DIV>Any special handling&nbsp;for 64-bit Tcl/Tk and 64-bit Qt? I am using Tcl/Tk 8.3.2.</DIV>
<DIV>&nbsp;</DIV>
<DIV>Thank you.</DIV>
<DIV>&nbsp;</DIV>
<DIV>Jim</DIV>
<DIV>&nbsp;</DIV>
<DIV>&nbsp;</DIV>
<DIV>&nbsp;</DIV>
<DIV>&nbsp;</DIV>
<DIV>&nbsp;</DIV>
<DIV>&nbsp;</DIV>
<DIV>&nbsp;</DIV>
<DIV>&nbsp;</DIV>
<DIV>&nbsp;</DIV></TD></TR></TBODY></TABLE><BR></DIV></BLOCKQUOTE></td></tr></table><br>