[vtkusers] 32 bit compiling

Ben Boeckel ben.boeckel at kitware.com
Thu Mar 26 16:42:27 EDT 2015


On Thu, Mar 26, 2015 at 20:31:37 +0100, Karsten Tausche wrote:
> I just realized that I selected the 64bit compiler in the screenshot.
> You have to select the 32bit version there (e.g., "Visual Studio 12
> 2013", without the "Win64" suffix).
> Switching to 32bit in the configuration manager always leads to build
> errors, as this somehow breaks the configuration done by CMake. (At
> least i didn't find a working way to switch between 32/64 in VS, for
> solutions that are generated by CMake).

Some of the cache variables probably stick around and aren't cleared out
when doing this (like CMAKE_SIZE_OF_VOIDP). Since any number of cache
variables might need to be invalidated, it is best to just use a clean
build tree.

--Ben


More information about the vtkusers mailing list