<html><head></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><div>Hi list,</div><div><br></div><div>I have installed Visual Studio 10 (not the express version, the full one), with x64 support. However, when selecting Visual Studio 10 or Visual Studio 10 Win64 and choosing the default native compilers, I have the following errors.</div><div><br></div><div><div>The C compiler identification is unknown</div><div>The CXX compiler identification is unknown</div><div>Performing Test Support for 64 bit file systems</div><div>CMake Error at C:/Program Files (x86)/CMake 2.8/share/cmake-2.8/Modules/CMakeCXXInformation.cmake:37 (get_filename_component):</div><div> get_filename_component called with incorrect number of arguments</div><div>Call Stack (most recent call first):</div><div> CMakeLists.txt:3 (PROJECT)</div><div><br></div><div><br></div><div>CMake Error: Internal CMake error, TryCompile configure of cmake failed</div><div>Performing Test Support for 64 bit file systems - Failed</div><div>Performing Test VTK_CONST_REVERSE_ITERATOR_COMPARISON</div><div>CMake Error at C:/Program Files (x86)/CMake 2.8/share/cmake-2.8/Modules/CMakeCXXInformation.cmake:37 (get_filename_component):</div><div> get_filename_component called with incorrect number of arguments</div><div>Call Stack (most recent call first):</div><div> CMakeLists.txt:3 (PROJECT)</div><div><br></div><div><br></div><div>CMake Error: Internal CMake error, TryCompile configure of cmake failed</div><div>Performing Test VTK_CONST_REVERSE_ITERATOR_COMPARISON - Failed</div><div>CMake Error at C:/Program Files (x86)/CMake 2.8/share/cmake-2.8/Modules/CMakeCXXInformation.cmake:37 (get_filename_component):</div><div> get_filename_component called with incorrect number of arguments</div><div>Call Stack (most recent call first):</div><div> CMakeLists.txt:3 (PROJECT)</div><div><br></div><div><br></div><div>CMake Error: Internal CMake error, TryCompile configure of cmake failed</div><div>Looking for sys/types.h</div><div>CMake Error at C:/Program Files (x86)/CMake 2.8/share/cmake-2.8/Modules/CMakeCInformation.cmake:37 (get_filename_component):</div><div> get_filename_component called with incorrect number of arguments</div><div>Call Stack (most recent call first):</div><div> CMakeLists.txt:3 (PROJECT)</div><div><br></div><div><br></div><div>CMake Error: Internal CMake error, TryCompile configure of cmake failed</div><div>Looking for sys/types.h - not found</div><div>Looking for stdint.h</div><div>CMake Error at C:/Program Files (x86)/CMake 2.8/share/cmake-2.8/Modules/CMakeCInformation.cmake:37 (get_filename_component):</div><div> get_filename_component called with incorrect number of arguments</div><div>Call Stack (most recent call first):</div><div> CMakeLists.txt:3 (PROJECT)</div><div><br></div><div><br></div><div>CMake Error: Internal CMake error, TryCompile configure of cmake failed</div><div>Looking for stdint.h - not found</div><div>Looking for stddef.h</div><div>CMake Error at C:/Program Files (x86)/CMake 2.8/share/cmake-2.8/Modules/CMakeCInformation.cmake:37 (get_filename_component):</div><div> get_filename_component called with incorrect number of arguments</div><div>Call Stack (most recent call first):</div><div> CMakeLists.txt:3 (PROJECT)</div><div><br></div><div><br></div><div>CMake Error: Internal CMake error, TryCompile configure of cmake failed</div><div>Looking for stddef.h - not found</div><div>Check size of int</div><div>CMake Error at C:/Program Files (x86)/CMake 2.8/share/cmake-2.8/Modules/CMakeCInformation.cmake:37 (get_filename_component):</div><div> get_filename_component called with incorrect number of arguments</div><div>Call Stack (most recent call first):</div><div> CMakeLists.txt:3 (PROJECT)</div><div><br></div><div><br></div><div>CMake Error: Internal CMake error, TryCompile configure of cmake failed</div><div>Check size of int - failed</div><div>Check size of long</div><div>CMake Error at C:/Program Files (x86)/CMake 2.8/share/cmake-2.8/Modules/CMakeCInformation.cmake:37 (get_filename_component):</div><div> get_filename_component called with incorrect number of arguments</div><div>Call Stack (most recent call first):</div><div> CMakeLists.txt:3 (PROJECT)</div><div><br></div><div><br></div><div>CMake Error: Internal CMake error, TryCompile configure of cmake failed</div><div>Check size of long - failed</div><div>Check size of void*</div><div>CMake Error at C:/Program Files (x86)/CMake 2.8/share/cmake-2.8/Modules/CMakeCInformation.cmake:37 (get_filename_component):</div><div> get_filename_component called with incorrect number of arguments</div><div>Call Stack (most recent call first):</div><div> CMakeLists.txt:3 (PROJECT)</div><div><br></div><div><br></div><div>CMake Error: Internal CMake error, TryCompile configure of cmake failed</div><div>Check size of void* - failed</div><div>Check size of char</div><div>CMake Error at C:/Program Files (x86)/CMake 2.8/share/cmake-2.8/Modules/CMakeCInformation.cmake:37 (get_filename_component):</div><div> get_filename_component called with incorrect number of arguments</div><div>Call Stack (most recent call first):</div><div> CMakeLists.txt:3 (PROJECT)</div><div><br></div><div><br></div><div>CMake Error: Internal CMake error, TryCompile configure of cmake failed</div><div>Check size of char - failed</div><div>Check size of short</div><div>CMake Error at C:/Program Files (x86)/CMake 2.8/share/cmake-2.8/Modules/CMakeCInformation.cmake:37 (get_filename_component):</div><div> get_filename_component called with incorrect number of arguments</div><div>Call Stack (most recent call first):</div><div> CMakeLists.txt:3 (PROJECT)</div><div><br></div><div><br></div><div>CMake Error: Internal CMake error, TryCompile configure of cmake failed</div><div>Check size of short - failed</div><div>Check size of float</div><div>CMake Error at C:/Program Files (x86)/CMake 2.8/share/cmake-2.8/Modules/CMakeCInformation.cmake:37 (get_filename_component):</div><div> get_filename_component called with incorrect number of arguments</div><div>Call Stack (most recent call first):</div><div> CMakeLists.txt:3 (PROJECT)</div><div><br></div><div><br></div><div>CMake Error: Internal CMake error, TryCompile configure of cmake failed</div><div>Check size of float - failed</div><div>Check size of double</div><div>CMake Error at C:/Program Files (x86)/CMake 2.8/share/cmake-2.8/Modules/CMakeCInformation.cmake:37 (get_filename_component):</div><div> get_filename_component called with incorrect number of arguments</div><div>Call Stack (most recent call first):</div><div> CMakeLists.txt:3 (PROJECT)</div><div><br></div><div><br></div><div>CMake Error: Internal CMake error, TryCompile configure of cmake failed</div><div>Check size of double - failed</div><div>Looking for include file limits.h</div><div>CMake Error at C:/Program Files (x86)/CMake 2.8/share/cmake-2.8/Modules/CMakeCInformation.cmake:37 (get_filename_component):</div><div> get_filename_component called with incorrect number of arguments</div><div>Call Stack (most recent call first):</div><div> CMakeLists.txt:3 (PROJECT)</div><div><br></div><div><br></div><div>CMake Error: Internal CMake error, TryCompile configure of cmake failed</div><div>Looking for include file limits.h - not found</div><div>Looking for include file unistd.h</div><div>CMake Error at C:/Program Files (x86)/CMake 2.8/share/cmake-2.8/Modules/CMakeCInformation.cmake:37 (get_filename_component):</div><div> get_filename_component called with incorrect number of arguments</div><div>Call Stack (most recent call first):</div><div> CMakeLists.txt:3 (PROJECT)</div><div><br></div><div><br></div><div>CMake Error: Internal CMake error, TryCompile configure of cmake failed</div><div>Looking for include file unistd.h - not found</div><div>Looking for include file pthread.h</div><div>CMake Error at C:/Program Files (x86)/CMake 2.8/share/cmake-2.8/Modules/CMakeCInformation.cmake:37 (get_filename_component):</div><div> get_filename_component called with incorrect number of arguments</div><div>Call Stack (most recent call first):</div><div> CMakeLists.txt:3 (PROJECT)</div><div><br></div><div><br></div><div>CMake Error: Internal CMake error, TryCompile configure of cmake failed</div><div>Looking for include file pthread.h - not found</div><div>Looking for include files sys/types.h, sys/prctl.h</div><div>CMake Error at C:/Program Files (x86)/CMake 2.8/share/cmake-2.8/Modules/CMakeCInformation.cmake:37 (get_filename_component):</div><div> get_filename_component called with incorrect number of arguments</div><div>Call Stack (most recent call first):</div><div> CMakeLists.txt:3 (PROJECT)</div><div><br></div><div><br></div><div>CMake Error: Internal CMake error, TryCompile configure of cmake failed</div><div>Looking for include files sys/types.h, sys/prctl.h - not found</div><div>Check if the system is big endian</div><div>Searching 16 bit integer</div><div>Check size of unsigned short</div><div>CMake Error at C:/Program Files (x86)/CMake 2.8/share/cmake-2.8/Modules/CMakeCInformation.cmake:37 (get_filename_component):</div><div> get_filename_component called with incorrect number of arguments</div><div>Call Stack (most recent call first):</div><div> CMakeLists.txt:3 (PROJECT)</div><div><br></div><div><br></div><div>CMake Error: Internal CMake error, TryCompile configure of cmake failed</div><div>Check size of unsigned short - failed</div><div>Check size of unsigned int</div><div>CMake Error at C:/Program Files (x86)/CMake 2.8/share/cmake-2.8/Modules/CMakeCInformation.cmake:37 (get_filename_component):</div><div> get_filename_component called with incorrect number of arguments</div><div>Call Stack (most recent call first):</div><div> CMakeLists.txt:3 (PROJECT)</div><div><br></div><div><br></div><div>CMake Error: Internal CMake error, TryCompile configure of cmake failed</div><div>Check size of unsigned int - failed</div><div>Check size of unsigned long</div><div>CMake Error at C:/Program Files (x86)/CMake 2.8/share/cmake-2.8/Modules/CMakeCInformation.cmake:37 (get_filename_component):</div><div> get_filename_component called with incorrect number of arguments</div><div>Call Stack (most recent call first):</div><div> CMakeLists.txt:3 (PROJECT)</div><div><br></div><div><br></div><div>CMake Error: Internal CMake error, TryCompile configure of cmake failed</div><div>Check size of unsigned long - failed</div><div>CMake Error at C:/Program Files (x86)/CMake 2.8/share/cmake-2.8/Modules/TestBigEndian.cmake:44 (message):</div><div> no suitable type found</div><div>Call Stack (most recent call first):</div><div> CMake/CMakeBackwardCompatibilityC.cmake:31 (TEST_BIG_ENDIAN)</div><div> CMakeLists.txt:496 (INCLUDE)</div><div><br></div><div><br></div><div>Configuring incomplete, errors occurred!</div></div><div><br></div><br><div><div>Le 13 déc. 2012 à 09:23, Benoît Thiébault a écrit :</div><br class="Apple-interchange-newline"><blockquote type="cite"><div 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><div>
<br></div></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; 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></div>_______________________________________________<br>Powered by <a href="http://www.kitware.com">www.kitware.com</a><br><br>Visit other Kitware open-source projects at <a href="http://www.kitware.com/opensource/opensource.html">http://www.kitware.com/opensource/opensource.html</a><br><br>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><br><br>Follow this link to subscribe/unsubscribe:<br><a href="http://www.vtk.org/mailman/listinfo/vtkusers">http://www.vtk.org/mailman/listinfo/vtkusers</a><br></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>Dr Benoît Thiébault<br>Project Manager<br><br> Artenum Toulouse - Science & Groupware<br> <a href="http://www.artenum.com">http://www.artenum.com</a><br><br> Bâtiment Calfocenter<br> 10, rue Marguerite-Long<br> 31320 Castanet-Tolosan<br> France<br> Phone: +33 (0)5 82 95 19 00<br><br></div></span>
</div>
<br></body></html>