[vtk-developers] QVTKWidget - Error: no override found for 'vtkContextDevice2D'
David Gobbi
david.gobbi at gmail.com
Thu Jul 31 20:03:50 EDT 2014
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
More information about the vtk-developers
mailing list