[vtkusers] Fwd: [CMake] CMAKE_MAKE_PROGRAM is not set - Win7 and Visual Studio 10
Joachim Pouderoux
joachim.pouderoux at kitware.com
Wed Dec 12 18:01:31 EST 2012
Hi Benoit,
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.
Are you able to compile in x86 mode?
Regards,
Joachim
Le 12 déc. 2012 à 10:31, "Benoît Thiébault" <thiebault at artenum.com> a
écrit :
Hi everyone,
I sent this question on CMake mailing list a week ago and never had any
answer.
As it deals with compiling VTK, I'm thinking maybe some of you have a
solution.
Kind regards,
Benoît
Début du message réexpédié :
*De : *Benoît Thiébault <thiebault at artenum.com>
*Date : *5 décembre 2012 14:21:23 HNEC
*À : *cmake at cmake.org
*Objet : **[CMake] CMAKE_MAKE_PROGRAM is not set - Win7 and Visual Studio 10
*
Hi everyone,
I am trying to compile VTK on Windows 7 64bits with Visual Studio 10.
But when I click on "configure" in CMake, it shows the following error
message:
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.
CMake Error: Could not find cmake module
file:C:/Users/artenum/Downloads/vtk-5.8.0/build/CMakeFiles/
2.8.10.2/CMakeCCompiler.cmake
CMake Error: Could not find cmake module
file:C:/Users/artenum/Downloads/vtk-5.8.0/build/CMakeFiles/
2.8.10.2/CMakeCXXCompiler.cmake
Configuring incomplete, errors occurred!
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:
find_program(CMAKE_MAKE_PROGRAM
NAMES devenv
HINTS
[HKEY_LOCAL_MACHINE\\SOFTWARE\\Microsoft\\VisualStudio\\10.0\\Setup\\VS;EnvironmentDirectory]
[HKEY_LOCAL_MACHINE\\SOFTWARE\\Microsoft\\VisualStudio\\10.0\\Setup;Dbghelp_path]
"$ENV{ProgramFiles}/Microsoft Visual Studio 10.0/Common7/IDE"
"$ENV{ProgramFiles}/Microsoft Visual Studio10.0/Common7/IDE"
"$ENV{ProgramFiles}/Microsoft Visual Studio 10/Common7/IDE"
"$ENV{ProgramFiles}/Microsoft Visual Studio10/Common7/IDE"
"$ENV{ProgramFiles} (x86)/Microsoft Visual Studio 10.0/Common7/IDE"
"$ENV{ProgramFiles} (x86)/Microsoft Visual Studio10.0/Common7/IDE"
"$ENV{ProgramFiles} (x86)/Microsoft Visual Studio 10/Common7/IDE"
"$ENV{ProgramFiles} (x86)/Microsoft Visual Studio10/Common7/IDE"
"/Program Files/Microsoft Visual Studio 10.0/Common7/IDE/"
"/Program Files/Microsoft Visual Studio 10/Common7/IDE/"
)
Here a copy/paste of the path of my Visual Studio 10 installation (and in
particular the IDE folder):
C:\Program Files (x86)\Microsoft Visual Studio 10.0\Common7\IDE
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.
I have added the two following lines in the command to be sure, but it
still does not work:
"/Program Files (x86)/Microsoft Visual Studio 10.0/Common7/IDE/"
"/Program Files (x86)/Microsoft Visual Studio 10/Common7/IDE/"
What should I do?
Kind regards,
Ben
_______________________________________________
Powered by www.kitware.com
Visit other Kitware open-source projects at
http://www.kitware.com/opensource/opensource.html
Please keep messages on-topic and check the VTK FAQ at:
http://www.vtk.org/Wiki/VTK_FAQ
Follow this link to subscribe/unsubscribe:
http://www.vtk.org/mailman/listinfo/vtkusers
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.vtk.org/pipermail/vtkusers/attachments/20121213/430b6ddc/attachment.htm>
More information about the vtkusers
mailing list