[vtkusers] Error building VTK 64-bit

David Gobbi david.gobbi at gmail.com
Fri Apr 22 18:51:48 EDT 2011


Hi Gib,

You can probably do a quick fix as follows.  In the file
Rendering/vtkFreeTypeUtilities.cxx, every time you see
reinterpret_cast<unsigned long> replace it with
reinterpret_cast<size_t>.

People do 64-bit builds of VTK all the time, just not with
MinGW-64.  You are charting new territory.

 - David


On Fri, Apr 22, 2011 at 3:58 PM, Gib Bogle <g.bogle at auckland.ac.nz> wrote:
> I don't know what git master is.  What is the recommended way to build
> 64-bit VTK?
>
> On 22/04/2011 11:56 p.m., David Partyka wrote:
>>
>> Have you tried using git master with that version of MinGW? We only
>> actively
>> test 32 bit MinGW currently.
>>
>> On Fri, Apr 22, 2011 at 4:14 AM, wayne5ning <wayne5ning at gmail.com
>> <mailto:wayne5ning at gmail.com>> wrote:
>>
>>    It's OK for me to build VTK 64-bit on my machine "Windows 7 64-bit
>> Ultimate".
>>    I don't know if it works for MinGW. Maybe VTK 5.6.0 doesn't support the
>>    version of MinGW64-4.5. You may try an older version of MingGW.
>>    Hope it works.



More information about the vtkusers mailing list