<html><head></head><body bgcolor="#FFFFFF"><div>Hi Benoit,</div><div><br></div><div>Are you sure that your Vs2010 installation provides a x64 toolchain ? It may not have been installed by default and for instance, the Express edition does not provide it.</div>
<div>Are you able to compile in x86 mode?</div><div><br></div><div>Regards,<br><br>Joachim</div><div><br>Le 12 déc. 2012 à 10:31, &quot;Benoît Thiébault&quot; &lt;<a href="mailto:thiebault@artenum.com">thiebault@artenum.com</a>&gt; a écrit :<br>
<br></div><div></div><blockquote type="cite"><div>Hi everyone,<div><br></div><div>I sent this question on CMake mailing list a week ago and never had any answer.</div><div><br></div><div>As it deals with compiling VTK, I&#39;m thinking maybe some of you have a solution.</div>
<div><br></div><div>Kind regards,</div><div><br></div><div>Benoît<br><div><br><div>Début du message réexpédié :</div><br class="Apple-interchange-newline"><blockquote type="cite"><div style="margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0px">
<span style="font-family:&#39;Helvetica&#39;;font-size:medium;color:rgba(0,0,0,1)"><b>De : </b></span><span style="font-family:&#39;Helvetica&#39;;font-size:medium">Benoît Thiébault &lt;<a href="mailto:thiebault@artenum.com">thiebault@artenum.com</a>&gt;<br>
</span></div><div style="margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0px"><span style="font-family:&#39;Helvetica&#39;;font-size:medium;color:rgba(0,0,0,1)"><b>Date : </b></span><span style="font-family:&#39;Helvetica&#39;;font-size:medium">5 décembre 2012 14:21:23 HNEC<br>
</span></div><div style="margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0px"><span style="font-family:&#39;Helvetica&#39;;font-size:medium;color:rgba(0,0,0,1)"><b>À : </b></span><span style="font-family:&#39;Helvetica&#39;;font-size:medium"><a href="mailto:cmake@cmake.org">cmake@cmake.org</a><br>
</span></div><div style="margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0px"><span style="font-family:&#39;Helvetica&#39;;font-size:medium;color:rgba(0,0,0,1)"><b>Objet : </b></span><span style="font-family:&#39;Helvetica&#39;;font-size:medium"><b>[CMake] CMAKE_MAKE_PROGRAM is not set - Win7 and Visual Studio 10</b><br>
</span></div><br><div>Hi everyone,<br><br>I am trying to compile VTK on Windows 7 64bits with Visual Studio 10.<br><br>But when I click on &quot;configure&quot; in CMake, it shows the following error message:<br><br>CMake Error: CMake was unable to find a build program corresponding to &quot;Visual Studio 10 Win64&quot;.  CMAKE_MAKE_PROGRAM is not set.  You probably need to select a different build tool.<br>
CMake Error: Could not find cmake module file:C:/Users/artenum/Downloads/vtk-5.8.0/build/CMakeFiles/<a href="http://2.8.10.2/CMakeCCompiler.cmake">2.8.10.2/CMakeCCompiler.cmake</a><br>CMake Error: Could not find cmake module file:C:/Users/artenum/Downloads/vtk-5.8.0/build/CMakeFiles/<a href="http://2.8.10.2/CMakeCXXCompiler.cmake">2.8.10.2/CMakeCXXCompiler.cmake</a><br>
Configuring incomplete, errors occurred!<br><br>I looked at the CMakeVS10FindMake.cmake file located in C:\Program Files (x86)\CMake 2.8\share\cmake-2.8\Modules and found the following command:<br><br>find_program(CMAKE_MAKE_PROGRAM<br>
  NAMES devenv<br>  HINTS<br>  [HKEY_LOCAL_MACHINE\\SOFTWARE\\Microsoft\\VisualStudio\\10.0\\Setup\\VS;EnvironmentDirectory]<br>  [HKEY_LOCAL_MACHINE\\SOFTWARE\\Microsoft\\VisualStudio\\10.0\\Setup;Dbghelp_path]<br>  &quot;$ENV{ProgramFiles}/Microsoft Visual Studio 10.0/Common7/IDE&quot;<br>
  &quot;$ENV{ProgramFiles}/Microsoft Visual Studio10.0/Common7/IDE&quot;<br>  &quot;$ENV{ProgramFiles}/Microsoft Visual Studio 10/Common7/IDE&quot;<br>  &quot;$ENV{ProgramFiles}/Microsoft Visual Studio10/Common7/IDE&quot;<br>
  &quot;$ENV{ProgramFiles} (x86)/Microsoft Visual Studio 10.0/Common7/IDE&quot;<br>  &quot;$ENV{ProgramFiles} (x86)/Microsoft Visual Studio10.0/Common7/IDE&quot;<br>  &quot;$ENV{ProgramFiles} (x86)/Microsoft Visual Studio 10/Common7/IDE&quot;<br>
  &quot;$ENV{ProgramFiles} (x86)/Microsoft Visual Studio10/Common7/IDE&quot;<br>  &quot;/Program Files/Microsoft Visual Studio 10.0/Common7/IDE/&quot;<br>  &quot;/Program Files/Microsoft Visual Studio 10/Common7/IDE/&quot;<br>
  )<br><br>Here a copy/paste of the path of my Visual Studio 10 installation (and in particular the IDE folder):<br>C:\Program Files (x86)\Microsoft Visual Studio 10.0\Common7\IDE<br><br>I should add that my Windows 7 installation is in French. This means that the &quot;Program Files&quot; folder is named &quot;Programmes&quot; (in French) but &quot;Progam Files (x86)&quot; is in english.<br>
<br>I have added the two following lines in the command to be sure, but it still does not work:<br>&quot;/Program Files (x86)/Microsoft Visual Studio 10.0/Common7/IDE/&quot;<br>&quot;/Program Files (x86)/Microsoft Visual Studio 10/Common7/IDE/&quot;<br>
<br>What should I do?<br><br>Kind regards,<br><br>Ben <br></div></blockquote></div><div><span class="Apple-style-span" style="border-collapse:separate;color:rgb(0,0,0);font-family:Helvetica;font-style:normal;font-variant:normal;font-weight:normal;letter-spacing:normal;line-height:normal;text-align:-webkit-auto;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;font-size:medium"><div>
<br></div></span></div></div></div></blockquote><blockquote type="cite"><div><span>_______________________________________________</span><br><span>Powered by <a href="http://www.kitware.com">www.kitware.com</a></span><br>
<span></span><br><span>Visit other Kitware open-source projects at <a href="http://www.kitware.com/opensource/opensource.html">http://www.kitware.com/opensource/opensource.html</a></span><br><span></span><br><span>Please keep messages on-topic and check the VTK FAQ at: <a href="http://www.vtk.org/Wiki/VTK_FAQ">http://www.vtk.org/Wiki/VTK_FAQ</a></span><br>
<span></span><br><span>Follow this link to subscribe/unsubscribe:</span><br><span><a href="http://www.vtk.org/mailman/listinfo/vtkusers">http://www.vtk.org/mailman/listinfo/vtkusers</a></span><br></div></blockquote></body></html>