<div dir="ltr">Hi Bill,<div>I'll look into it.</div><div><br></div><div>Dan</div><div><br></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Mon, Sep 7, 2015 at 2:43 PM, Bill Lorensen <span dir="ltr"><<a href="mailto:bill.lorensen@gmail.com" target="_blank">bill.lorensen@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">More information...<br>
<br>
This build uses off screen rendering with os mesa. The system has qt installed.<br>
<br>
Originally I had these settings. Worked OK until the git bisect commit.<br>
VTK_BUILD_ALL_MODULES:BOOL=ON<br>
VTK_USE_OFFSCREEN:BOOL=ON<br>
VTK_OPENGL_HAS_OSMESA:BOOL=ON<br>
VTK_USE_X:BOOL=ON<br>
<br>
Then I changed to the following:<br>
VTK_BUILD_ALL_MODULES:BOOL=OFF<br>
VTK_USE_OFFSCREEN:BOOL=ON<br>
VTK_OPENGL_HAS_OSMESA:BOOL=ON<br>
VTK_USE_X:BOOL=OFF<br>
VTK_Group_Imaging:BOOL=ON<br>
VTK_Group_Qt:BOOL=OFF<br>
VTK_Group_Rendering:BOOL=ON<br>
VTK_Group_StandAlone:BOOL=ON<br>
VTK_Group_Views:BOOL=ON<br>
<br>
So the referenced commit is still a regression, but I can workaround it.<br>
<br>
Bill<br>
<div class="HOEnZb"><div class="h5"><br>
<br>
<br>
<br>
On Sat, Sep 5, 2015 at 1:11 PM, Bill Lorensen <<a href="mailto:bill.lorensen@gmail.com">bill.lorensen@gmail.com</a>> wrote:<br>
> Folks,<br>
><br>
> git bisect identified this commit<br>
> # first bad commit: [f09903e468b60c20a1e30cb665a5a72a8ab3140f] COMP:<br>
> Add logic to selectively use OpenGL or OSMesa.<br>
> <a href="https://gitlab.kitware.com/vtk/vtk/merge_requests/427" rel="noreferrer" target="_blank">https://gitlab.kitware.com/vtk/vtk/merge_requests/427</a><br>
><br>
> causes these errors in my OSMesa build:<br>
> Linking CXX shared library ../../lib/<a href="http://libvtkGUISupportQt-6.3.so" rel="noreferrer" target="_blank">libvtkGUISupportQt-6.3.so</a><br>
> CMakeFiles/vtkGUISupportQt.dir/QVTKWidget.cxx.o: In function<br>
> `QVTKWidget::x11_setup_window()':<br>
> /home/lorensen/ProjectsGIT/VTKGerrit/GUISupport/Qt/QVTKWidget.cxx:736:<br>
> undefined reference to `XGetWindowAttributes'<br>
> /home/lorensen/ProjectsGIT/VTKGerrit/GUISupport/Qt/QVTKWidget.cxx:740:<br>
> undefined reference to `XCreateWindow'<br>
> /home/lorensen/ProjectsGIT/VTKGerrit/GUISupport/Qt/QVTKWidget.cxx:746:<br>
> undefined reference to `XGetWMColormapWindows'<br>
> /home/lorensen/ProjectsGIT/VTKGerrit/GUISupport/Qt/QVTKWidget.cxx:750:<br>
> undefined reference to `XFree'<br>
> /home/lorensen/ProjectsGIT/VTKGerrit/GUISupport/Qt/QVTKWidget.cxx:777:<br>
> undefined reference to `XSetWMColormapWindows'<br>
> /home/lorensen/ProjectsGIT/VTKGerrit/GUISupport/Qt/QVTKWidget.cxx:780:<br>
> undefined reference to `XFree'<br>
> /home/lorensen/ProjectsGIT/VTKGerrit/GUISupport/Qt/QVTKWidget.cxx:782:<br>
> undefined reference to `XFlush'<br>
> collect2: error: ld returned 1 exit status<br>
> make[3]: *** [lib/libvtkGUISupportQt-6.3.so.1] Error 1<br>
> make[2]: *** [GUISupport/Qt/CMakeFiles/vtkGUISupportQt.dir/all] Error 2<br>
> make[1]: *** [GUISupport/Qt/CMakeFiles/vtkGUISupportQt.dir/rule] Error 2<br>
> make: *** [vtkGUISupportQt] Error 2<br>
<br>
<br>
<br>
</div></div><span class="HOEnZb"><font color="#888888">--<br>
Unpaid intern in BillsBasement at noware dot com<br>
</font></span></blockquote></div><br></div>