[vtkusers] Tcl wrapping error with tag v5.10.1

Dean Inglis inglis.dl at gmail.com
Wed Sep 14 12:14:43 EDT 2016


yep, that was it ... wrong tag. Thanks David.

On Wed, Sep 14, 2016 at 11:48 AM, David Gobbi <david.gobbi at gmail.com> wrote:

> 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/vtk
> TkRenderWidget.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/a3fa8eea/attachment.html>


More information about the vtkusers mailing list