<div dir="ltr">You'll need to replace "SetInput" with "SetInputData."Â <div><br></div><div>Please use the examples here instead [1], it looks like that one is outdated anyway. Â In particular, this sphere example is what you're looking for [2].</div>
<div><br></div><div>The python installers are created for a simple way to use the VTK-Python interface. Â Please try out some of the Python examples [3] if that's what you want to use.</div><div><br></div><div>At the moment I don't see any documentation on configuring VTK development with Codeblocks, but if you get it working I'll be happy to help you create some instructions on the wiki!<br>
<div><br></div><div><br></div><div>[1]Â <a href="http://www.vtk.org/Wiki/VTK/Examples/Cxx">http://www.vtk.org/Wiki/VTK/Examples/Cxx</a></div><div>[2]Â <a href="http://www.vtk.org/Wiki/VTK/Examples/Cxx/GeometricObjects/Sphere">http://www.vtk.org/Wiki/VTK/Examples/Cxx/GeometricObjects/Sphere</a></div>
</div><div>[3]Â <a href="http://www.vtk.org/Wiki/VTK/Examples/Python">http://www.vtk.org/Wiki/VTK/Examples/Python</a></div></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Mon, May 12, 2014 at 2:16 AM, Sonya Blade <span dir="ltr"><<a href="mailto:sonyablade2010@hotmail.com" target="_blank">sonyablade2010@hotmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div><div dir="ltr"><font face="Comic Sans MS">Dear All,</font><div><font face="Comic Sans MS"><br></font></div><div><font face="Comic Sans MS">I'm trying to configure the C::B to work with VTK library, I 've downloaded the </font></div>
<div><font face="Comic Sans MS">vtkpython_6-1-0-Windows-64bit self-installer and VTK6-1-0 zipped source  folder.</font></div><div><font face="Comic Sans MS">After istalling the self-installer I got the VTK-6-1/bin folder full of precompiled dlls. </font></div>
<div><font face="Comic Sans MS">e.g. vtkCommonColor-6.1.dll, vtkCommonCore-6.1.dll, vtkCommonDataModel-6.1.dll etcc.</font></div><div><font face="Comic Sans MS">I'd like to know with which compiler the precompiled dlls are compiled with? </font></div>
<div><font face="Comic Sans MS"><br></font></div><div><font face="Comic Sans MS">It seems that, precompiled dlls mostly are targeted for visual studio ide enviroment.</font></div><div><span style="font-family:'Comic Sans MS';font-size:12pt">Which way to follow if I prefer to compile or use the precompiled libraries with GNU compilers in CodeBlocks?</span></div>
<div><span style="font-family:'Comic Sans MS';font-size:12pt"><br></span></div><div><font face="Comic Sans MS">Aside from that, even if I configure the C::B for VC++10 the given example at the </font></div><div><a href="http://www.vtk.org/VTK/help/examplecode.html" target="_blank">http://www.vtk.org/VTK/help/examplecode.html</a> <font face="Comic Sans MS" size="3" style="font-size:12pt">(<span style="line-height:22px;text-align:justify;background-color:rgb(255,255,255)">Creating a Sphere) d</span><span style="line-height:22px;text-align:justify;background-color:rgb(255,255,255)">o</span><span style="line-height:22px;text-align:justify;background-color:rgb(255,255,255)">esn'tcompile an compilers </span></font></div>
<div><font face="Comic Sans MS" size="3" style="font-size:12pt"><span style="line-height:22px;text-align:justify;background-color:rgb(255,255,255)">complains about :</span></font></div><div><font face="Comic Sans MS" size="3" style="font-size:12pt"><span style="line-height:22px;text-align:justify;background-color:rgb(255,255,255)">"</span></font><font face="Comic Sans MS"><span style="line-height:22px">vtk_main.cpp|20|error C2039: 'SetInput' : is not a member of 'vtkPolyDataMapper'|</span></font></div>
<div><font face="Comic Sans MS">Probably the code is obsolete?</font></div><div><font face="Comic Sans MS"><br></font></div><div><font face="Comic Sans MS">Your guidance will be appreciated,</font></div> </div>
</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></blockquote></div><br><br clear="all"><div><br></div>-- <br>Christopher Mullins<div>R&D Engineer</div><div>Kitware Inc.,</div><div>919.869.8871</div>
</div>