[vtkusers] Problem in migrating from 32bit version of VTK to 64bit version of VTK..

rakesh patil prakeshofficial at gmail.com
Thu Dec 15 02:16:17 EST 2011


Dear Mike,

I am using vtk dlls to link with my application. So debugging to gives the
stack trace which is attached with this mail.

Following are my system configuration

1) 32-bit application which works well
    Windows 2003 Server R2 (32-bit OS)
    4GB RAM, 2.99GHz processor speed.
    VTK libraries built with CMAKE and Visual Studio 2008 (target machine
win32)


2) Currently used system
    Windows 7 (64-bit OS)
    16 GB RAM, 2.99GHz processor speed.
    VTK libraries built with CMAKE and Visual Studio 2008(target machine
x64)

The data file size is 97MB which holds 38,27,592 number of points. This
particular data file works well in the application compiled on first
machine. The same data fails during triangulation with the application
compiled on second machine irrespective of 32 or 64 bit mode compilation.

Meanwhile I'll try to compile a sample application with the source files of
VTK to get the actual stack trace and let you.

Thanks

Warm Regards
Rakesh Patil


On Wed, Dec 14, 2011 at 5:58 PM, Michael Jackson <
mike.jackson at bluequartz.net> wrote:

> What is the error? Can you jse the debugger to step through the code until
> the. Radh happens and then send a sack trace? That would help the most. All
> i can say is that  both builds should work equally as well. Ut there have
> been known to be bugs. Just saying that you have an error is not that much
> to go on. How large is the data that you using to test. How much ram is in
> the machine.
>
> -----
> Mike Jackson                     www.bluequartz.net
> Principal Software Engineer       mike.jackson at bluequartz.net
> BlueQuartz Software               Dayton, Ohio
> ____________________________
> Sent from my mobile device. Please excuse the shortness of the reply.
>
> On Dec 14, 2011, at 6:31, rakesh patil <prakeshofficial at gmail.com> wrote:
>
> Hi Alex,
>
> Thanks for your quick reply. Using that article as reference, I have built
> VTK versions on my 64-bit machine. As mentioned, I am facing run time error
> during triangulation. I am using vtkDelaunay2D for triangulation purpose.
> Any idea why is this so?
>
> Thanks
>
> Regards
> Rakesh Patil
>
> On Wed, Dec 14, 2011 at 4:51 PM, Alex Southern <mrapsouthern at gmail.com>wrote:
>
>>  Hi,
>>
>> As this list helped me to resolve a related issue the other day, i feel i
>> must repay the gesture :)
>>
>> Here is what i used to build VTK 64 bit on Windows (with VS2010 SP1)
>> successfully:
>>
>> http://pinyotae.blogspot.com/2010/08/vtk-installation-on-windows-64-bit-for.html
>>
>> One difference between our two builds though is that I had not previously
>> built the 32 bit version. I built the 64 bit version on a new computer.
>>
>> Cheers
>> Alex
>>
>>
>> On 12/14/2011 12:51 PM, rakesh patil wrote:
>>
>> Hi folks,
>>
>> In order to handle large dataset, I migrated from 32-bit mode of VTK to
>> 64-bit version of VTK. I configured VTK on windows 7 64-bit machine with
>> the help of CMAKE and Microsoft Visual Studio 2008. The code compiled on
>> 32bit machine worked very well.
>>
>> When I compiled my application targeting for 64-bit machine, on 64bit
>> windows 7 machine, I observed that vtkDelaunay2D crashed during
>> triangulation. Then I tested the same by compiling 32bit version of my
>> application on same 64bit windows machine. Again I got same result (i.e.
>> app crashed during triangulation). I thought it would be data problem. So I
>> tested the same data with my earlier application( 32bit version of my
>> application on 32-bit machine) There it worked very well.
>>
>> So what I observed is that, irrespective of in what mode (32 or 64) the
>> application is compiled on 64bit machine, my application crashes during
>> triangulation. Whereas it works on 32bit machine. Anyone knows why is this
>> behavior? Is there any settings to be done in CMAKE or Visual Studio while
>> configuring VTK for building 64-bit mode of VTK?
>>
>> I would be grateful if anyone can tell me the procedure or any link to
>> build 64bit version of VTK with CMAKE and Visual Studio on 64bit Windows 7.
>>
>> Thanks
>>
>> Regards
>> Rakesh Patil
>>
>>
>>
>>
>> _______________________________________________
>> 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
>>
>>
>>
>> _______________________________________________
>> 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
>>
>>
> _______________________________________________
> 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
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.vtk.org/pipermail/vtkusers/attachments/20111215/5b36c593/attachment.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: stack_trace.zip
Type: application/zip
Size: 372 bytes
Desc: not available
URL: <http://www.vtk.org/pipermail/vtkusers/attachments/20111215/5b36c593/attachment.zip>


More information about the vtkusers mailing list