<div dir="ltr"><div class="gmail_default"><div class="gmail_default"><font face="verdana, sans-serif">Hi Guys</font></div><div class="gmail_default"><font face="verdana, sans-serif"><br></font></div><div class="gmail_default"><font face="verdana, sans-serif">I recently built an application with Qt5 and vtk7. I am sioing QtCreator to build this.</font></div><div class="gmail_default"><font face="verdana, sans-serif"><br></font></div><div class="gmail_default"><font face="verdana, sans-serif"><br></font></div><div class="gmail_default"><font face="verdana, sans-serif">I initialized the vtk kits as shown below before adding any vtk headers.</font></div><div class="gmail_default"><font face="verdana, sans-serif"><br></font></div><div class="gmail_default"><pre style="margin-top:0px;margin-bottom:0px"><span style="color:rgb(0,0,128)">#define</span><span style="color:rgb(192,192,192)"> </span><span style="color:rgb(0,0,128)">vtkRenderingCore_AUTOINIT</span><span style="color:rgb(192,192,192)"> </span><span style="color:rgb(0,0,128)">3</span><span style="color:rgb(0,0,0)">(</span>vtkInteractionStyle<span style="color:rgb(0,0,0)">,</span>vtkRenderingFreeType<span style="color:rgb(0,0,0)">,</span>vtkRenderingOpenGL2<span style="color:rgb(0,0,0)">)</span></pre>
<pre style="margin-top:0px;margin-bottom:0px"><span style="color:rgb(0,0,128)">#define</span><span style="color:rgb(192,192,192)"> </span><span style="color:rgb(0,0,128)">vtkRenderingVolume_AUTOINIT</span><span style="color:rgb(192,192,192)"> </span><span style="color:rgb(0,0,128)">1</span><span style="color:rgb(0,0,0)">(</span>vtkRenderingVolumeOpenGL2<span style="color:rgb(0,0,0)">)</span></pre>
<pre style="margin-top:0px;margin-bottom:0px"><br></pre></div><div class="gmail_default"><font face="verdana, sans-serif"><br></font></div><div class="gmail_default"><font face="verdana, sans-serif">But when I try to run the app it crashes with "</font><span style="font-family:verdana,sans-serif">Fault Module Name:</span><span class="gmail-Apple-tab-span" style="font-family:verdana,sans-serif;white-space:pre"> </span><span style="font-family:verdana,sans-serif">libvtkCommonCore-7.0.dll"</span></div><div class="gmail_default"><span style="font-family:verdana,sans-serif"><br></span></div><div class="gmail_default"><span style="font-family:verdana,sans-serif"><br></span></div><div class="gmail_default"><font face="verdana, sans-serif">Any clues why this thisĀ happening?</font></div><div class="gmail_default"><font face="verdana, sans-serif"><br></font></div><div class="gmail_default"><font face="verdana, sans-serif">Thanks</font></div><div class="gmail_default"><font face="verdana, sans-serif"><br></font></div><div class="gmail_default"><font face="verdana, sans-serif"><br></font></div><div class="gmail_default"><font face="verdana, sans-serif">Jothy</font></div><div style="font-family:verdana,sans-serif"><br></div></div></div>