<div dir="ltr">Hi Sonya,<div><br></div><div>Chris is correct. The vtkpython distribution's purpose is to allow people try the python interface to VTK without having to compile VTK from source to get there. As such it lowers the barrier to entry quite a bit.<div>
<br></div><div><div>To build the 6.1 vtkpython executables, I used this super build repository: </div><div><a href="https://github.com/demarle/VTK-superbuild">https://github.com/demarle/VTK-superbuild</a></div><div>on windows I compiled with visual studio 9.</div>
</div><div><br></div><div>I am hoping to get a proper SDK out in the next release, so that people will be able to use VTK as a C++ library in their own applications without having to compile it, again without having to compile it from source.<div>
</div></div><div><br></div><div>hth</div></div></div><div class="gmail_extra"><br clear="all"><div>David E DeMarle<br>Kitware, Inc.<br>R&D Engineer<br>21 Corporate Drive<br>Clifton Park, NY 12065-8662<br>Phone: 518-881-4909</div>
<br><br><div class="gmail_quote">On Mon, May 12, 2014 at 6:50 AM, Christopher Mullins <span dir="ltr"><<a href="mailto:christopher.mullins@kitware.com" target="_blank">christopher.mullins@kitware.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><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" target="_blank">http://www.vtk.org/Wiki/VTK/Examples/Cxx</a></div><div>[2] <a href="http://www.vtk.org/Wiki/VTK/Examples/Cxx/GeometricObjects/Sphere" target="_blank">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" target="_blank">http://www.vtk.org/Wiki/VTK/Examples/Python</a></div></div><div class="gmail_extra"><br><br><div class="gmail_quote"><div><div class="h5">
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>
</div></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><div class="h5">
<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></div></div>_______________________________________________<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><span class="HOEnZb"><font color="#888888"><br><br clear="all"><div><br></div>-- <br>Christopher Mullins<div>R&D Engineer</div><div>Kitware Inc.,</div><div><a href="tel:919.869.8871" value="+19198698871" target="_blank">919.869.8871</a></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></blockquote></div><br></div>