<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=us-ascii">
<meta name="Generator" content="Microsoft Word 14 (filtered medium)">
<style><!--
/* Font Definitions */
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0in;
        margin-bottom:.0001pt;
        font-size:11.0pt;
        font-family:"Calibri","sans-serif";}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:purple;
        text-decoration:underline;}
span.EmailStyle17
        {mso-style-type:personal-compose;
        font-family:"Calibri","sans-serif";
        color:windowtext;}
.MsoChpDefault
        {mso-style-type:export-only;
        font-family:"Calibri","sans-serif";}
@page WordSection1
        {size:8.5in 11.0in;
        margin:1.0in 1.0in 1.0in 1.0in;}
div.WordSection1
        {page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]-->
</head>
<body lang="EN-US" link="blue" vlink="purple">
<div class="WordSection1">
<p class="MsoNormal">Hong Yi recently reported problems in release build that didn’t appear in debug. She appears to have successfully resolved her specific issues – they seem to have been caused by using VTK 5.6 built using Visual Studio 2008 in an application
built with Visual Studio 2010. However, I also had something that appeared only in release build as well, and I’m working with everything – VTK 5.8.0, Qt 4.7.1, and my C++ app calling on those libraries – all built in VS 2010, so that’s not the problem for
me. I should say that I’m not currently having this problem anymore, and I don’t know how to reproduce it, especially since the class in which it occurred was fairly complex at this point, so even when it was happening I wasn’t able to isolate it in a test
case of manageable size. I guess I’m bringing it up in order to get everyone’s (anyone’s) ideas about why it should occur only in release but not debug.<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">What I have is a class that inherits from QDialog with a number (6) of QvtkWidgets, each of which has an associated vtkRenderWindow and all the usual appurtenances. In only one (and always the same one) of those 6, for some builds and
only some of the time (usually at the window’s first appearance), none of a set of vtkPolyData structures would show up. Just to complicate matters, the vtkPolyData objects actually are members of another class that belongs to the QDialog descendent, so I’m
not going to even try to submit a code snippet. But more generally, why might this occur in a release build only, and then only sporadically?<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal"><span style="color:black">-Steve Chall<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:black"> Senior Research Software Developer<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:black"> Renaissance Computing Institute (RENCI)<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:black"> Phone: 919-681-9639<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:black"> Email: <a href="mailto:stevec@renci.org">
<span style="color:blue">stevec@renci.org</span></a></span><o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
</body>
</html>