I'm afraid the executables mentioned here are custom built tools in the VTK build tree that are being built as 64-bit exes... but you are only on a 32-bit machine, and so the custom build steps that use those tools cannot run properly.<div>
<br></div><div>If you want to use the Visual Studio "Win64" generators, then you will have to build VTK on a Win64 box.<br><br></div><div><br></div><div>Sorry for the inconvenience,</div><div>David</div><div><br>
</div><div><br><div class="gmail_quote">On Thu, Feb 5, 2009 at 3:46 PM, Jim <span dir="ltr"><<a href="mailto:jiksed@yahoo.com">jiksed@yahoo.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
<table cellspacing="0" cellpadding="0" border="0"><tbody><tr><td valign="top" style="font:inherit"><div> </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> </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>
>LINK : fatal error LNK1104: cannot open file '..\..\bin\Debug\vtksys.lib'<br>> Project : error PRJ0019: A tool returned an error code from "Generating vtkMaterialXMLLibrary.h"<br>> 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> </div>
<div>Thank you.</div>
<div> </div>
<div><br>--- On <b>Thu, 2/5/09, Jim <i><<a href="mailto:jiksed@yahoo.com" target="_blank">jiksed@yahoo.com</a>></i></b> wrote:<br></div>
<blockquote style="padding-left:5px;margin-left:5px;border-left:rgb(16,16,255) 2px solid">From: Jim <<a href="mailto:jiksed@yahoo.com" target="_blank">jiksed@yahoo.com</a>><br>Subject: [vtkusers] Cross-complile 64-bit vtk with VS2008<br>
To: <a href="mailto:vtkusers@vtk.org" target="_blank">vtkusers@vtk.org</a><br>Date: Thursday, February 5, 2009, 10:21 AM<div><div></div><div class="Wj3C7c"><br><br>
<div>
<table cellspacing="0" cellpadding="0" border="0">
<tbody>
<tr>
<td valign="top">
<div>Dear vtkusers,</div>
<div> </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 DLLs or LIBs generated. </div>
<div> </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> </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> </div>
<div>Any special handling for 64-bit Tcl/Tk and 64-bit Qt? I am using Tcl/Tk 8.3.2.</div>
<div> </div>
<div>Thank you.</div>
<div> </div>
<div>Jim</div>
<div> </div>
<div> </div>
<div> </div>
<div> </div>
<div> </div>
<div> </div>
<div> </div>
<div> </div>
<div> </div></td></tr></tbody></table><br></div></div></div></blockquote></td></tr></tbody></table><br>
<br>_______________________________________________<br>
This is the private VTK discussion list.<br>
Please keep messages on-topic. Check the FAQ at: <a href="http://www.vtk.org/Wiki/VTK_FAQ" target="_blank">http://www.vtk.org/Wiki/VTK_FAQ</a><br>
Follow this link to subscribe/unsubscribe:<br>
<a href="http://www.vtk.org/mailman/listinfo/vtkusers" target="_blank">http://www.vtk.org/mailman/listinfo/vtkusers</a><br>
<br></blockquote></div><br></div>