[vtkusers] Building VTK without OpenGL

David Gobbi david.gobbi at gmail.com
Wed Oct 21 15:51:12 EDT 2015


I was about to say the same thing.  You have to set VTK_RENDERING_BACKEND
to a valid value, or else you're likely to see side-effects that aren't
directly related to the issue you're trying to solve.

 - David


On Wed, Oct 21, 2015 at 1:49 PM, Bill Lorensen <bill.lorensen at gmail.com>
wrote:

> Change the opengl backend to OpenGL2
>
>
> On Wed, Oct 21, 2015 at 3:24 PM, Moreland, Kenneth <kmorel at sandia.gov>
> wrote:
> > I do not, but turning that module off does not help. I try turning that
> > module off and I get the exact same error as before:
> >
> >
> > CMake Error at CMake/vtkModuleTop.cmake:53 (message):
> >   No such module "vtkRenderingNone" needed by "vtkGUISupportQt"
> > Call Stack (most recent call first):
> >   CMake/vtkModuleTop.cmake:69 (vtk_module_check)
> >   CMake/vtkModuleTop.cmake:69 (vtk_module_check)
> >   CMake/vtkModuleTop.cmake:76 (vtk_module_check)
> >   CMakeLists.txt:532 (include)
> >
> > Attached is my updated CMakeCache.txt.
> >
> >
> > -Ken
> >
> > On 10/21/15, 12:58 PM, "Bill Lorensen" <bill.lorensen at gmail.com> wrote:
> >
> >>Ken,
> >>Module_vtkIOExport:BOOL=ON
> >>
> >>is the culprit it uses rendering. Do you need it in your app.
> >>vtk_module(vtkIOExport
> >>  GROUPS
> >>    Rendering
> >>  DEPENDS
> >>    vtkCommonCore
> >>    vtkRenderingAnnotation
> >>    vtkRenderingContext2D
> >>    vtkRenderingCore
> >>    vtkRenderingFreeType
> >>    ${opengl_depends}
> >>    vtkRenderingLabel
> >>    vtkRendering${VTK_RENDERING_BACKEND}
> >>    vtkImagingCore
> >>
> >>
> >>On Tue, Oct 20, 2015 at 9:01 PM, Ben Boeckel <ben.boeckel at kitware.com>
> >>wrote:
> >>> On Tue, Oct 20, 2015 at 23:38:41 +0000, Moreland, Kenneth wrote:
> >>>> Yup. For reference I attached my CMakeCache.txt.
> >>>
> >>> How about the output of CMake when you configure which contains the
> list
> >>> of enabled modules?
> >>>
> >>> Is there a backtrace for where OpenGL is trying to be found from
> >>> printed?
> >>>
> >>> --Ben
> >>> _______________________________________________
> >>> 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
> >>>
> >>> Search the list archives at: http://markmail.org/search/?q=vtkusers
> >>>
> >>> Follow this link to subscribe/unsubscribe:
> >>> http://public.kitware.com/mailman/listinfo/vtkusers
> >>
> >>
> >>
> >>--
> >>Unpaid intern in BillsBasement at noware dot com
> >
>
>
>
> --
> Unpaid intern in BillsBasement at noware dot com
> _______________________________________________
> 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
>
> Search the list archives at: http://markmail.org/search/?q=vtkusers
>
> Follow this link to subscribe/unsubscribe:
> http://public.kitware.com/mailman/listinfo/vtkusers
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/vtkusers/attachments/20151021/1dff09fa/attachment.html>


More information about the vtkusers mailing list