[vtkusers] Installation of VTK in Code::Blocks
David E DeMarle
dave.demarle at kitware.com
Thu May 15 15:13:57 EDT 2014
Hi Sonya,
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.
To build the 6.1 vtkpython executables, I used this super build repository:
https://github.com/demarle/VTK-superbuild
on windows I compiled with visual studio 9.
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.
hth
David E DeMarle
Kitware, Inc.
R&D Engineer
21 Corporate Drive
Clifton Park, NY 12065-8662
Phone: 518-881-4909
On Mon, May 12, 2014 at 6:50 AM, Christopher Mullins <
christopher.mullins at kitware.com> wrote:
> 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
>
> _______________________________________________
> 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
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.vtk.org/pipermail/vtkusers/attachments/20140515/e107bf65/attachment.html>
More information about the vtkusers
mailing list