<br><br><div class="gmail_quote">On Fri, Nov 6, 2009 at 6:17 PM, F <span dir="ltr">&lt;<a href="mailto:frinxor@gmail.com">frinxor@gmail.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
I&#39;ve been following along with this conversation and following the example on the wiki, I tried to do this:<br><br>    vtkSmartPointer&lt;vtkMultiBlockPLOT3DReader&gt; m_Reader2;<br>    vtkSmartPointer&lt;vtkMultiBlockDataSet&gt; dataset = m_Reader2-&gt;GetOutput();<br>

<br>which gave me an error <br> error C2664: &#39;vtkSmartPointerBase::vtkSmartPointerBase(vtkObjectBase *)&#39; : cannot convert parameter 1 from &#39;vtkMultiBlockDataSet *&#39; to &#39;vtkObjectBase *&#39;<br><br>I can&#39;t seem to figure out why this is the case?<div>
<div></div><div class="h5"><br><br></div></div></blockquote><div><br></div><div>These seemingly cryptic errors with smart pointers normally mean that you forgot an include:</div><div><br></div><div>#include &quot;vtkMultiBlockDataSet.h&quot;</div>
<div><br></div><div>Jeff </div><div><br></div></div>