[vtkusers] Installation of VTK in Code::Blocks

Christopher Mullins christopher.mullins at kitware.com
Mon May 12 06:50:04 EDT 2014


You'll need to replace "SetInput" with "SetInputData."

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].

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.

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!


[1] http://www.vtk.org/Wiki/VTK/Examples/Cxx
[2] http://www.vtk.org/Wiki/VTK/Examples/Cxx/GeometricObjects/Sphere
[3] http://www.vtk.org/Wiki/VTK/Examples/Python


On Mon, May 12, 2014 at 2:16 AM, Sonya Blade <sonyablade2010 at hotmail.com>wrote:

> Dear All,
>
> I'm trying to configure the C::B to work with VTK library, I 've
> downloaded the
> vtkpython_6-1-0-Windows-64bit self-installer and VTK6-1-0 zipped source
>  folder.
> After istalling the self-installer I got the VTK-6-1/bin folder full of
> precompiled dlls.
> e.g. vtkCommonColor-6.1.dll, vtkCommonCore-6.1.dll,
> vtkCommonDataModel-6.1.dll etcc.
> I'd like to know with which compiler the precompiled dlls are compiled
> with?
>
> It seems that, precompiled dlls mostly are targeted for visual studio ide
> enviroment.
> Which way to follow if I prefer to compile or use the precompiled
> libraries with GNU compilers in CodeBlocks?
>
> Aside from that, even if I configure the C::B for VC++10 the given example
> at the
> http://www.vtk.org/VTK/help/examplecode.html (Creating a Sphere) doesn'tcompile
> an compilers
> complains about :
> "vtk_main.cpp|20|error C2039: 'SetInput' : is not a member of
> 'vtkPolyDataMapper'|
> Probably the code is obsolete?
>
> Your guidance will be appreciated,
>
> _______________________________________________
> Powered by www.kitware.com
>
> Visit other Kitware open-source projects at
> http://www.kitware.com/opensource/opensource.html
>
> Please keep messages on-topic and check the VTK FAQ at:
> http://www.vtk.org/Wiki/VTK_FAQ
>
> Follow this link to subscribe/unsubscribe:
> http://www.vtk.org/mailman/listinfo/vtkusers
>
>


-- 
Christopher Mullins
R&D Engineer
Kitware Inc.,
919.869.8871
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.vtk.org/pipermail/vtkusers/attachments/20140512/fe16b68f/attachment.html>


More information about the vtkusers mailing list