[vtkusers] Fwd: Compile VTK with 32 bit configuration in a 64 bit environment

Sam Raby rabysam28 at gmail.com
Mon Apr 28 09:54:45 EDT 2014


Could anyone let me know if the procedure below would be correct in order
to configure a 32 bit build of VTK in a 64 bit environment (in Linux)?

Thank you
Sam
---------- Forwarded message ----------
From: Sam Raby <rabysam28 at gmail.com>
Date: Mon, Apr 14, 2014 at 9:32 AM
Subject: Compile VTK with 32 bit configuration in a 64 bit environment
To: "vtkusers at vtk.org" <vtkusers at vtk.org>


Hi,

I would like to configure a 32 bit build of VTK in a 64 bit environment (in
Linux).

I looked it up online and found that after checking out VTK from
https://github.com/Kitware/VTK ,  I need to set the following variables in
CMake configuration through command line:

*-DCMAKE_CXX_FLAGS=-m32 *
*-DCMAKE_SHARED_LINKER_FLAGS=-m32*

I was wondering whether this is the right way to go?

thanks
-S
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.vtk.org/pipermail/vtkusers/attachments/20140428/af77aa26/attachment.html>


More information about the vtkusers mailing list