What does your CMakeList.txt file look like?<br><br><div class="gmail_quote">On Tue, Sep 25, 2012 at 1:28 PM, Shun Miao <span dir="ltr"><<a href="mailto:shwinmiao@gmail.com" target="_blank">shwinmiao@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div>The program is:
</div><div><br></div><div>int main(void)</div><div>{</div><div><span style="white-space:pre-wrap">        </span>vtkFixedPointVolumeRayCastMapper * mapper = vtkFixedPointVolumeRayCastMapper::<span style="color:rgb(61,29,129)">New</span>();</div>
<div><br></div><div><span style="white-space:pre-wrap">        </span>return 0;</div><div>}</div>
<div><div><br></div><div>It crashes with VTK-6.0, compiled by gcc 4.2.1.</div><div>I tried the same thing with VTK-5.10.0, and it worked fine. </div><div><br></div><div>Do I need to anything special for VTK-6.0?</div>
<span class="HOEnZb"><font color="#888888"><div>-- </div><div>Shun Miao</div><div>Sent with <a href="http://www.sparrowmailapp.com/?sig" target="_blank">Sparrow</a></div><div><br></div></font></span></div><div class="HOEnZb">
<div class="h5">
<p style="color:#a0a0a8">On Tuesday, September 25, 2012 at 5:17 AM, Bill Lorensen wrote:</p>
<blockquote type="cite" style="border-left-style:solid;border-width:1px;margin-left:0px;padding-left:10px">
<span><div><div>It is hard to tell without seeing the program.<br><br><div>On Tue, Sep 25, 2012 at 1:49 AM, Shun Miao <span dir="ltr"><<a href="mailto:shwinmiao@gmail.com" target="_blank">shwinmiao@gmail.com</a>></span> wrote:<br>
<blockquote type="cite"><div>
<div>
I compiled a VTK 6.0 on Mac OS X 10.8.2. My program crashes whenever I call vtkFixedPointVolumeRayCastMapper::<span style="color:rgb(61,29,129)">New</span>(). I tried both i386 and x86_64 to compile VTK and my program, but both of them crash on this line.</div>
<div><br></div><div>I'm going to try in on Windows. But anyone knows what goes wrong with my program on Mac?</div>
<div><div><br></div><div>Many thanks,</div><span><font color="#888888"><div><br></div><div>-- </div><div>Shun Miao</div><div><br></div></font></span></div>
<br>_______________________________________________<br>
Powered by <a href="http://www.kitware.com" target="_blank">www.kitware.com</a><br>
<br>
Visit other Kitware open-source projects at <a href="http://www.kitware.com/opensource/opensource.html" target="_blank">http://www.kitware.com/opensource/opensource.html</a><br>
<br>
Please keep messages on-topic and check the VTK FAQ at: <a href="http://www.vtk.org/Wiki/VTK_FAQ" target="_blank">http://www.vtk.org/Wiki/VTK_FAQ</a><br>
<br>
Follow this link to subscribe/unsubscribe:<br>
<a href="http://www.vtk.org/mailman/listinfo/vtkusers" target="_blank">http://www.vtk.org/mailman/listinfo/vtkusers</a><br>
<br></div></blockquote></div><br><br clear="all"><div><br></div>-- <br>Unpaid intern in BillsBasement at noware dot com<br><br>
</div></div></span>
</blockquote>
<div>
<br>
</div>
</div></div></blockquote></div><br><br clear="all"><div><br></div>-- <br>Unpaid intern in BillsBasement at noware dot com<br><br>