[CMake] NMake Generation Error: machine type 'X86' conflicts with target machine type 'x64'

Bill Hoffman bill.hoffman at kitware.com
Fri Nov 13 11:57:58 EST 2009


Richard Wackerbarth wrote:
> Aaron,
> 
> Perhaps I have it wrong, but I think that the problem is that you are using CMakeCache.txt that was created on a different machine.
> 
> CMakeCache.txt acts as a "configuration file" that overrides the registry, environmental variables, and everything else that has a default value.
> This allows the user to define the values that he wishes to have used.
> 

That would be bad as well.

However, I am almost certain that the problem is not installing the SDK 
for windows...

http://www.vtk.org/Wiki/CMake_Generator_Specific_Information#How_to_generate_NMake_Makefiles_using_Visual_C.2B.2B_Express_Edition_.28free_Visual_Studio_8.29


-Bill



More information about the CMake mailing list