<html>
  <head>
    <meta content="text/html; charset=utf-8" http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    Hi,<br>
    Based on the message below, I tried running CMake with all default
    settings except that I use Java wrapper. Then tried to build in VS
    2013 64 bit except that it is set for 32 bit in the configuration
    manager since I need a 32 bit Java program at the end of the day.
    This also caused a lot of errors in VS. Separately, would the VTK
    dlls be 32 or 64 bit? They are in the 64 bit Win7 Program Files
    folder (C:\Program Files\VTK\natives-Windows-AMD64) when compiling
    the normal way of 64 bit. <br>
    Thanks,<br>
    Jim<br>
    <pre wrap="">------------------------------

Message: 2
Date: Thu, 26 Mar 2015 16:37:28 +0100
From: Karsten Tausche <a class="moz-txt-link-rfc2396E" href="mailto:karsten.tausche@student.hpi.de"><karsten.tausche@student.hpi.de></a>
To: <a class="moz-txt-link-rfc2396E" href="mailto:vtkusers@vtk.org"><vtkusers@vtk.org></a>
Subject: Re: [vtkusers] 32 bit compiling
Message-ID: <a class="moz-txt-link-rfc2396E" href="mailto:551427B8.20808@student.hpi.de"><551427B8.20808@student.hpi.de></a>
Content-Type: text/plain; charset="windows-1252"

Hi,

instead of changing the platform in Visual Studio, you need to setup
your CMake build with a generator for a 64bit compiler. You can see your
current generator next to the Configure and Generate buttons in the
CMake gui. To change it, you need to rebuild the whole project (delete
cache, configure, build; or use a second build tree instead).
When configuring a clean build tree, you should get a dialog like in the
attached image. Make sure to select a 64 compiler there.

Hope that helps,
Karsten</pre>
    <br>
    <br>
    <div class="moz-cite-prefix">On 3/26/2015 11:02 AM, James Labiak
      wrote:<br>
    </div>
    <blockquote cite="mid:55141F8A.7080601@jslengineeringsoftware.com"
      type="cite">
      <meta http-equiv="content-type" content="text/html; charset=utf-8">
      Hello all,<br>
      I have successfully been using VTK in 64 bit mode. Now, I need to
      compile a Java program in 32 bit. I started with changing options
      in CMake, but must be doing something wrong. Visual studio is set
      to 32 bit release mode, but gives lots of errors. Does anyone have
      a a list of the CMake settings for 32 bit or suggestions? Attached
      are images of my current settings.<br>
      Thanks in advance,<br>
      Jim<br>
      <br>
      <br>
      <br>
      <br>
      <br>
      <br>
      <br>
      <br>
    </blockquote>
    <br>
  </body>
</html>