<div dir="ltr">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)?<br><br>Thank you<div>Sam<br><div class="gmail_quote">---------- Forwarded message ----------<br>
From: <b class="gmail_sendername">Sam Raby</b> <span dir="ltr"><<a href="mailto:rabysam28@gmail.com">rabysam28@gmail.com</a>></span><br>Date: Mon, Apr 14, 2014 at 9:32 AM<br>Subject: Compile VTK with 32 bit configuration in a 64 bit environment<br>
To: "<a href="mailto:vtkusers@vtk.org">vtkusers@vtk.org</a>" <<a href="mailto:vtkusers@vtk.org">vtkusers@vtk.org</a>><br><br><br><div dir="ltr">Hi,<div><br></div><div>I would like to configure a 32 bit build of VTK in a 64 bit environment (in Linux).</div>
<div><br></div><div>I looked it up online and found that after checking out VTK from <a href="https://github.com/Kitware/VTK" target="_blank">https://github.com/Kitware/VTK</a> , I need to set the following variables in CMake configuration through command line:</div>
<div><br></div><div><i style>-DCMAKE_CXX_FLAGS=-m32 </i></div><div><i style>-DCMAKE_SHARED_LINKER_FLAGS=-m32</i> </div><div><br></div><div>I was wondering whether this is the right way to go?<br>
</div><div><br></div><div>thanks</div><span class=""><font color="#888888"><div>-S</div></font></span></div>
</div><br></div></div>