<html><head></head><body><div style="color:#000; background-color:#fff; font-family:HelveticaNeue, Helvetica Neue, Helvetica, Arial, Lucida Grande, sans-serif;font-size:12px"><div id="yiv5179304776"><div id="yui_3_16_0_1_1450382320645_4753"><div style="color:#000;background-color:#fff;font-family:HelveticaNeue, Helvetica Neue, Helvetica, Arial, Lucida Grande, sans-serif;font-size:12px;" id="yui_3_16_0_1_1450382320645_4752"><div id="yiv5179304776yui_3_16_0_1_1450382320645_2553"><span id="yiv5179304776yui_3_16_0_1_1450382320645_2558">Hey,</span></div><div id="yiv5179304776yui_3_16_0_1_1450382320645_2553"><span><br clear="none"></span></div><div dir="ltr" id="yiv5179304776yui_3_16_0_1_1450382320645_2553"><span id="yiv5179304776yui_3_16_0_1_1450382320645_2608">i checked the configuration. The target platform is x64. In the taskmanager the process is also marked as x64. Also I checked the libs and dlls. But i think it is not possible to link 32bit files. </span></div><div dir="ltr" id="yiv5179304776yui_3_16_0_1_1450382320645_2553">Can you tell me which settings can influence such behaviour?</div><div dir="ltr" id="yiv5179304776yui_3_16_0_1_1450382320645_2553">I use the preprocessor define: vtkRenderingCore_INCLUDE and the header includes the following lines. </div><div dir="ltr" id="yiv5179304776yui_3_16_0_1_1450382320645_2553"><br clear="none"></div><div class="yiv5179304776" dir="ltr" id="yiv5179304776yui_3_16_0_1_1450382320645_2553">#define vtkRenderingCore_AUTOINIT 2(vtkInteractionStyle, vtkRenderingOpenGL)</div><div dir="ltr" id="yiv5179304776yui_3_16_0_1_1450382320645_2553">#define vtkRenderingVolume_AUTOINIT 1(vtkRenderingVolumeOpenGL) </div> <div class="yiv5179304776qtdSeparateBR" id="yiv5179304776yui_3_16_0_1_1450382320645_2669"><br clear="none"></div><div class="yiv5179304776qtdSeparateBR" id="yiv5179304776yui_3_16_0_1_1450382320645_2669">Can this maybe corrupt the memory?</div><div class="yiv5179304776qtdSeparateBR" id="yiv5179304776yui_3_16_0_1_1450382320645_2669"><br></div><div class="yiv5179304776qtdSeparateBR" id="yiv5179304776yui_3_16_0_1_1450382320645_2669">Thanks for your help!</div><div class="yiv5179304776qtdSeparateBR" id="yiv5179304776yui_3_16_0_1_1450382320645_2669">Andi<br clear="none"><br clear="none"></div></div></div></div><div class=".yiv5179304776yahoo_quoted" id="yui_3_16_0_1_1450382320645_5072"> <div id="yiv5179304776yui_3_16_0_1_1450382320645_2545" style="font-family:HelveticaNeue, Helvetica Neue, Helvetica, Arial, Lucida Grande, sans-serif;font-size:12px;"> <div id="yiv5179304776yui_3_16_0_1_1450382320645_2544" style="font-family:HelveticaNeue, Helvetica Neue, Helvetica, Arial, Lucida Grande, sans-serif;font-size:16px;"> <div dir="ltr" id="yiv5179304776yui_3_16_0_1_1450382320645_2670"><font id="yiv5179304776yui_3_16_0_1_1450382320645_2989" size="2" face="Arial"> "Kischell, Eric R., M.S." <Kischell.Eric@mayo.edu> schrieb am 15:22 Donnerstag, 17.Dezember 2015:<br clear="none"></font></div> <br clear="none"><br clear="none"> <div class="qtdSeparateBR" id="yui_3_16_0_1_1450382320645_5083"><br><br></div><div class="yiv5179304776yqt6955669573" id="yiv5179304776yqt17278"><div class="yiv5179304776y_msg_container" id="yiv5179304776yui_3_16_0_1_1450382320645_2543">Andi,<br clear="none">I assume that your VC++ x64 platform configuration is set properly?<br clear="none">All libs throughout your build chain should be x64 too.<br clear="none">Are your link settings correct i.e. MachineX64 (/MACHINE:X64)?<br clear="none">e.-<br clear="none"><div class="yiv5179304776yqt9691402460" id="yiv5179304776yqtfd58741"><br clear="none">-----Original Message-----<br clear="none">From: vtkusers [mailto:<a rel="nofollow" shape="rect" ymailto="mailto:vtkusers-bounces@vtk.org" target="_blank" href="mailto:vtkusers-bounces@vtk.org" id="yui_3_16_0_1_1450382320645_5084">vtkusers-bounces@vtk.org</a>] On Behalf Of Andreas BrĂ¼ning<br clear="none">Sent: Wednesday, December 16, 2015 4:38 PM<br clear="none">To: <a rel="nofollow" shape="rect" ymailto="mailto:vtkusers@vtk.org" target="_blank" href="mailto:vtkusers@vtk.org" id="yui_3_16_0_1_1450382320645_5082">vtkusers@vtk.org</a><br clear="none">Subject: [vtkusers] 64Bit memory problems<br clear="none"><br clear="none">Hello,<br clear="none"><br clear="none">I developed a tool to perform different types of Volume Rendering for Windows plattform. The code is written in C++. I use Visual Studio 2013 and VTK 6.1. So far everything is developed in 32bit and works very well. <br clear="none">Now i want to switch to 64 bit. I rebuilt VTK with CMake for 64Bit and set VTK_USE_64BIT_IDS. I checked some of the VTK examples and it works. But not in my project. As soon as i create a VTK object it seems that the objects memory is corrupted. The program crashes afterwards with memory access errors. The non VTK parts runs stabil. It is strange. For testing i create a vtkRenderWindow right after entering the main entrypoint. When i check the member the Interactor for example points to 0x000000000000001. That looks like corrupted memory because the interactor member is set to zero in the constructor.<br clear="none">I don't know how to fix it, so maybe somebody had similar problems and knows what I have to do. Is there maybe a Project configuration which i should keep an eye of? I guess CMake is not the problem because the VTK examples with the same VTK dlls work perfect.<br clear="none"><br clear="none">Please help me and thanks in advance<br clear="none">Andi</div><br clear="none">_______________________________________________<br clear="none">Powered by www.kitware.com<br clear="none"><br clear="none">Visit other Kitware open-source projects at <a rel="nofollow" shape="rect" target="_blank" href="http://www.kitware.com/opensource/opensource.html">http://www.kitware.com/opensource/opensource.html</a><br clear="none"><br clear="none">Please keep messages on-topic and check the VTK FAQ at: <a rel="nofollow" shape="rect" target="_blank" href="http://www.vtk.org/Wiki/VTK_FAQ">http://www.vtk.org/Wiki/VTK_FAQ</a><br clear="none"><br clear="none">Search the list archives at: <a rel="nofollow" shape="rect" target="_blank" href="http://markmail.org/search/?q=vtkusers">http://markmail.org/search/?q=vtkusers</a><br clear="none"><br clear="none">Follow this link to subscribe/unsubscribe:<br clear="none"><a rel="nofollow" shape="rect" target="_blank" href="http://public.kitware.com/mailman/listinfo/vtkusers">http://public.kitware.com/mailman/listinfo/vtkusers</a><br clear="none"><br clear="none"></div></div> </div> </div> </div></div></body></html>