[vtkusers] 32 bit compiling

James Labiak jim at jslengineeringsoftware.com
Mon Apr 13 11:59:23 EDT 2015


Thanks to everyone for the suggestions, but I'm still having trouble. To 
compile for 32 bit on a Win7 64 bit machine with VS 12 Express, I start 
with a clean tree in CMake 3.2.1 (via delete cache). I set compiler for 
VS 12 (32 bit version option) I check Java wrapper. Also, I add variable 
CMAKE_SIZE_OF_VOIDP with value=4. It seems that this variable is 
probably required(?). I have also tried a number of other entries from 
searching/replies such as below (and combinations), but VS build always 
fails with errors. Does anyone have a list of any (or other) variables 
required in order to make this work? Simply using default tree with Java 
wrapper and 32 bit VS 12 doesn't work either. Thanks,
Jim

CMAKE_SIZE_OF_VOIDP 4
IS_64_BIT 0
BIT_3264 32
BIT_64_
VS_3264 Win32


Date: Tue, 31 Mar 2015 03:52:42 -0700
From: Kenneth Porter<shiva at sewingwitch.com>
To:vtkusers at vtk.org
Subject: Re: [vtkusers] 32 bit compiling
Message-ID:<838252650B262EFB23C7817A@[10.170.7.34]>
Content-Type: text/plain; charset=us-ascii; format=flowed

See my post from a few days ago with the script I'm using to build 32 and
64 bit variations on 3 compilers, both static and dynamic linking to the
C++ runtime.

<http://markmail.org/thread/tre4j43mh3cts3p3>




More information about the vtkusers mailing list