[vtkusers] Error building VTK 64-bit

Christian Lackas lackas at invicro.com
Sat Apr 23 03:20:43 EDT 2011


* Gib Bogle <g.bogle at auckland.ac.nz> [110422 08:59]:

Hi Gib,

you can find my patch for MinGW-w64 in this post:

    http://vtk.1045678.n5.nabble.com/Building-VTK-on-64-bit-Windows-using-MinGW-w64-td3351101.html

I have also submitted a Mantis report with a few more details about this
issue here:

    http://www.itk.org/Bug/view.php?id=11742

So far I have not experienced any issues with VTK on this platform.

Hope this helps you.
 Christian

-- 
Dr. Christian Lackas, Managing Partner
inviCRO, LLC -- In Imaging Yours
P: +1 617 963 0263, F: +49 2203 9034722, E: lackas at invicro.com
http://www.invicro.com/  http://www.spect-ct.com/

> Building VTK 5.6.0 with MinGW64-4.5 in Windows 7 I encountered the  
> following error:
>
> [ 73%] Building CXX object  
> Rendering/CMakeFiles/vtkRendering.dir/vtkFreeTypeUtil
> ities.cxx.obj
> C:\VTK-src\Rendering\vtkFreeTypeUtilities.cxx: In function 'FT_Error  
> vtkFreeType
> UtilitiesFaceRequester(void*, FT_LibraryRec_*, void*, FT_FaceRec_**)':
> C:\VTK-src\Rendering\vtkFreeTypeUtilities.cxx:341:68: error: cast from  
> 'void*' t
> o 'long unsigned int' loses precision
> mingw32-make[2]: ***  
> [Rendering/CMakeFiles/vtkRendering.dir/vtkFreeTypeUtilities
> .cxx.obj] Error 1
> mingw32-make[1]: *** [Rendering/CMakeFiles/vtkRendering.dir/all] Error 2
> mingw32-make: *** [all] Error 2
>
> Is it possible to build VTK 64-bit?
>
> ----------------------------------------------------------------
> This message was sent using IMP, the Internet Messaging Program.
>
> _______________________________________________
> Powered by www.kitware.com
>
> Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html
>
> Please keep messages on-topic and check the VTK FAQ at: http://www.vtk.org/Wiki/VTK_FAQ
>
> Follow this link to subscribe/unsubscribe:
> http://www.vtk.org/mailman/listinfo/vtkusers



More information about the vtkusers mailing list