[vtk-developers] QVTKWidget - Error: no override found for 'vtkContextDevice2D'

Marcus D. Hanwell marcus.hanwell at kitware.com
Thu Jul 31 20:50:43 EDT 2014


As David pointed, I split the OpenGL backend out. If you add the link
to the vtkRenderingContextOpenGL backend then it should work fine. Let
me know if you continue to have problems.

On Thu, Jul 31, 2014 at 8:03 PM, David Gobbi <david.gobbi at gmail.com> wrote:
> It's due to the addition of the VTK Rendering/ContextOpenGL directory
> that occurred a couple weeks ago in the following commit:
>
> http://vtk.org/gitweb?p=VTK.git;a=commit;h=c5121871
>
> Basically, now that the OpenGL override for vtkContextDevice2D has been
> moved int Rendering/ContextOpenGL, you have to make sure that you link
> to vtkRenderingContextOpenGL.  See the following wiki page for more info:
>
> http://www.vtk.org/Wiki/VTK/VTK_6_Migration/Factories_now_require_defines
>
>  - David
>
>
> On Thu, Jul 31, 2014 at 5:44 PM, Jean-Christophe Fillion-Robin
> <jchris.fillionr at kitware.com> wrote:
>> Hi Folks,
>>
>> After doing some experiment with Slicer, building against:
>>
>>    VTK 6.2-dev - f19689d
>>
>>    Ubuntu 10.04 - g++ (Ubuntu 4.4.3-4ubuntu5.1) 4.4.3
>>
>> It causes the volume rendering test [0] to fail [1] with the following
>> error:
>>
>>
>> Generic Warning: In
>> /home/kitware/Dashboards/Nightly/Slicer-0-build/VTKv6/Rendering/Context2D/vtkContextDevice2D.cxx,
>> line 27
>> Error: no override found for 'vtkContextDevice2D'.
>>
>> This has already been discussed few days ago in [2] but we didn't came to a
>> solution.
>>
>> I suspect it is related to the recent work done regarding the support of
>> different rendering backend.
>>
>> Any idea what could be done to fix this ?
>>
>> You will also find below a complete backtrace. See [3]
>>
>> Thanks
>> Jc
> _______________________________________________
> Powered by www.kitware.com
>
> Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html
>
> Follow this link to subscribe/unsubscribe:
> http://public.kitware.com/mailman/listinfo/vtk-developers
>



More information about the vtk-developers mailing list