<div dir="ltr">I am having the same problem.  I used CMAKE to build vtk and MSVC10 for my project.<div><br></div><div>I reported that issue before here: <a href="http://www.vtk.org/pipermail/vtkusers/2012-September/125555.html">http://www.vtk.org/pipermail/vtkusers/2012-September/125555.html</a></div>

<div><br></div><div style>The New() return NULL unless I set the VTK_AUTOLOAD_PATH environment variable and I build the python binaries. </div><div style><br></div><div style>Regards</div></div><div class="gmail_extra"><br>

<br><div class="gmail_quote">On Fri, Mar 15, 2013 at 10:22 AM, Sean McBride <span dir="ltr">&lt;<a href="mailto:sean@rogue-research.com" target="_blank">sean@rogue-research.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">

<div class="im">On Fri, 15 Mar 2013 16:54:59 +0100, Frédéric Speisser said:<br>
<br>
&gt;We want to port our application using Vtk 5.9 to Vtk 6.<br>
&gt;Some code working on 5.9 does not work in 6, simple example with<br>
&gt;following line :<br>
&gt;<br>
&gt;vtkSmartPointer&lt;vtkActor&gt; actor = vtkSmartPointer&lt;vtkActor&gt;::New();<br>
&gt;<br>
&gt;returns a NULL pointer ...<br>
<br>
</div>I&#39;ve had a similar experience.  I use CMake to build the VTK libraries, but for my own application I use my IDE (Xcode) and link against the VTK libraries.  Everything links fine, but at runtime creating some objects (as above) returns NULL pointers.  I have not found any solution yet...<br>


<br>
Cheers,<br>
<span class="HOEnZb"><font color="#888888"><br>
--<br>
____________________________________________________________<br>
Sean McBride, B. Eng                 <a href="mailto:sean@rogue-research.com">sean@rogue-research.com</a><br>
Rogue Research                        <a href="http://www.rogue-research.com" target="_blank">www.rogue-research.com</a><br>
Mac Software Developer              Montréal, Québec, Canada<br>
</font></span><div class="HOEnZb"><div class="h5"><br>
<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>
</div></div></blockquote></div><br></div>