<html><head></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><div><blockquote type="cite"><div bgcolor="#FFFFFF"><div>Are you sure that your Vs2010 installation provides a x64 toolchain ?</div></div></blockquote><br></div><div>Nope, I'm not sure :-)</div><div>And I don't know how to check that</div><div>I'm more a Linux/Mac guy</div><div><br></div><div><blockquote type="cite"><div bgcolor="#FFFFFF"><div>Are you able to compile in x86 mode?</div></div></blockquote><br></div><div>What do you mean?</div><div>When I click on the "configure" button for the first time, it asks me what generator I want. I have several choices for VS:</div><div>- Visual Studio 10</div><div>- Visual Studio 10 Win64</div><div>- Visual Studio 10 IA64</div><div><br></div><div>It seems I have a 32 bits version, so I selected "Visual Studio 10" and "Use default native compilers". This should compile in x86 mode, right?</div><div><br></div><div>I did not have the time to try configuring the compilers manually as John suggested.</div><div><br></div><div>I will try to install Visual Studio 10 (not Express) and see if it works better</div><div><br></div><div>Kind regards,</div><div><br></div><div>Ben</div><br><div><div>Le 13 déc. 2012 à 00:01, Joachim Pouderoux a écrit :</div><br class="Apple-interchange-newline"><blockquote type="cite"><div 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, "Benoît Thiébault" <<a href="mailto:thiebault@artenum.com">thiebault@artenum.com</a>> 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'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:'Helvetica';font-size:medium;color:rgba(0,0,0,1)"><b>De : </b></span><span style="font-family:'Helvetica';font-size:medium">Benoît Thiébault <<a href="mailto:thiebault@artenum.com">thiebault@artenum.com</a>><br>
</span></div><div style="margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0px"><span style="font-family:'Helvetica';font-size:medium;color:rgba(0,0,0,1)"><b>Date : </b></span><span style="font-family:'Helvetica';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:'Helvetica';font-size:medium;color:rgba(0,0,0,1)"><b>À : </b></span><span style="font-family:'Helvetica';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:'Helvetica';font-size:medium;color:rgba(0,0,0,1)"><b>Objet : </b></span><span style="font-family:'Helvetica';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 "configure" in CMake, it shows the following error message:<br><br>CMake Error: CMake was unable to find a build program corresponding to "Visual Studio 10 Win64". 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> "$ENV{ProgramFiles}/Microsoft Visual Studio 10.0/Common7/IDE"<br>
"$ENV{ProgramFiles}/Microsoft Visual Studio10.0/Common7/IDE"<br> "$ENV{ProgramFiles}/Microsoft Visual Studio 10/Common7/IDE"<br> "$ENV{ProgramFiles}/Microsoft Visual Studio10/Common7/IDE"<br>
"$ENV{ProgramFiles} (x86)/Microsoft Visual Studio 10.0/Common7/IDE"<br> "$ENV{ProgramFiles} (x86)/Microsoft Visual Studio10.0/Common7/IDE"<br> "$ENV{ProgramFiles} (x86)/Microsoft Visual Studio 10/Common7/IDE"<br>
"$ENV{ProgramFiles} (x86)/Microsoft Visual Studio10/Common7/IDE"<br> "/Program Files/Microsoft Visual Studio 10.0/Common7/IDE/"<br> "/Program Files/Microsoft Visual Studio 10/Common7/IDE/"<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 "Program Files" folder is named "Programmes" (in French) but "Progam Files (x86)" 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>"/Program Files (x86)/Microsoft Visual Studio 10.0/Common7/IDE/"<br>"/Program Files (x86)/Microsoft Visual Studio 10/Common7/IDE/"<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; 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></div>
</blockquote></div><br><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; orphans: 2; text-align: -webkit-auto; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; font-size: medium; "><div><br></div></span></div></body></html>