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

Sam Raby rabysam28 at gmail.com
Mon Apr 14 10:32:12 EDT 2014


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/20140414/37b92fd5/attachment.html>


More information about the vtkusers mailing list