[vtkusers] Tcl wrapping error with tag v5.10.1

David Gobbi david.gobbi at gmail.com
Wed Sep 14 11:48:00 EDT 2016


Hi Dean,

Are you sure your build is for tag v5.10.1, and not v5.10.0?

Here is the vtkTkRenderWidget for v5.10.1, and it has the static_cast:
http://gitlab.kitware.com/vtk/vtk/blob/v5.10.1/Rendering/
vtkTkRenderWidget.cxx#L1311

Cheers,
 - David


On Wed, Sep 14, 2016 at 7:27 AM, Dean Inglis <inglis.dl at gmail.com> wrote:

> Hi all,
>
> I am trying to build vtk tag v5.10.1 with tcl wrapping
> but ran into an error
>
> /Rendering/vtkTkRenderWidget.cxx:1309:14: error: invalid conversion from
> ‘void*’ to ‘char*’ [-fpermissive]
>      self->RW = ckalloc(
>
> this is easily fixable with static_cast<char*> around ckalloc
> and my build proceeds to completion.  Building on Ubuntu 15.10 64-bit OS
> gcc 5.2.1, shared libs, debug.
>
> - Dean
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/vtkusers/attachments/20160914/ff4de5d4/attachment.html>


More information about the vtkusers mailing list