[vtk-developers] OSMesa regression

Dan Lipsa dan.lipsa at kitware.com
Mon Sep 7 16:01:34 EDT 2015


Hi Bill,
I'll look into it.

Dan


On Mon, Sep 7, 2015 at 2:43 PM, Bill Lorensen <bill.lorensen at gmail.com>
wrote:

> More information...
>
> This build uses off screen rendering with os mesa. The system has qt
> installed.
>
> Originally I had these settings. Worked OK until the git bisect commit.
> VTK_BUILD_ALL_MODULES:BOOL=ON
> VTK_USE_OFFSCREEN:BOOL=ON
> VTK_OPENGL_HAS_OSMESA:BOOL=ON
> VTK_USE_X:BOOL=ON
>
> Then I changed to the following:
> VTK_BUILD_ALL_MODULES:BOOL=OFF
> VTK_USE_OFFSCREEN:BOOL=ON
> VTK_OPENGL_HAS_OSMESA:BOOL=ON
> VTK_USE_X:BOOL=OFF
> VTK_Group_Imaging:BOOL=ON
> VTK_Group_Qt:BOOL=OFF
> VTK_Group_Rendering:BOOL=ON
> VTK_Group_StandAlone:BOOL=ON
> VTK_Group_Views:BOOL=ON
>
> So the referenced commit is still a regression, but I can workaround it.
>
> Bill
>
>
>
>
> On Sat, Sep 5, 2015 at 1:11 PM, Bill Lorensen <bill.lorensen at gmail.com>
> wrote:
> > Folks,
> >
> > git bisect identified this commit
> > # first bad commit: [f09903e468b60c20a1e30cb665a5a72a8ab3140f] COMP:
> > Add logic to selectively use OpenGL or OSMesa.
> > https://gitlab.kitware.com/vtk/vtk/merge_requests/427
> >
> > causes these errors in my OSMesa build:
> > Linking CXX shared library ../../lib/libvtkGUISupportQt-6.3.so
> > CMakeFiles/vtkGUISupportQt.dir/QVTKWidget.cxx.o: In function
> > `QVTKWidget::x11_setup_window()':
> > /home/lorensen/ProjectsGIT/VTKGerrit/GUISupport/Qt/QVTKWidget.cxx:736:
> > undefined reference to `XGetWindowAttributes'
> > /home/lorensen/ProjectsGIT/VTKGerrit/GUISupport/Qt/QVTKWidget.cxx:740:
> > undefined reference to `XCreateWindow'
> > /home/lorensen/ProjectsGIT/VTKGerrit/GUISupport/Qt/QVTKWidget.cxx:746:
> > undefined reference to `XGetWMColormapWindows'
> > /home/lorensen/ProjectsGIT/VTKGerrit/GUISupport/Qt/QVTKWidget.cxx:750:
> > undefined reference to `XFree'
> > /home/lorensen/ProjectsGIT/VTKGerrit/GUISupport/Qt/QVTKWidget.cxx:777:
> > undefined reference to `XSetWMColormapWindows'
> > /home/lorensen/ProjectsGIT/VTKGerrit/GUISupport/Qt/QVTKWidget.cxx:780:
> > undefined reference to `XFree'
> > /home/lorensen/ProjectsGIT/VTKGerrit/GUISupport/Qt/QVTKWidget.cxx:782:
> > undefined reference to `XFlush'
> > collect2: error: ld returned 1 exit status
> > make[3]: *** [lib/libvtkGUISupportQt-6.3.so.1] Error 1
> > make[2]: *** [GUISupport/Qt/CMakeFiles/vtkGUISupportQt.dir/all] Error 2
> > make[1]: *** [GUISupport/Qt/CMakeFiles/vtkGUISupportQt.dir/rule] Error 2
> > make: *** [vtkGUISupportQt] Error 2
>
>
>
> --
> Unpaid intern in BillsBasement at noware dot com
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/vtk-developers/attachments/20150907/6774ed7f/attachment.html>


More information about the vtk-developers mailing list