<div dir="ltr">Hi<div>A while back (2015) a similar query was posted. I have version 7.1 of the Vtk src and am interested in only</div><div>the modules viz. vtkIOImport, vtkIOEnsight which should be void of any OpenGL dependency (based on my understanding). I tried following the solution suggested in the thread but without much success. I am possibly missing something. Any pointers would be appreciated.</div><div>
<p class="gmail-p1"><span class="gmail-s1">cmake -DVTK_Group_StandAlone:BOOL=OFF -DVTK_Group_Rendering:BOOL=OFF -DVTK_RENDERING_BACKGROUND=OpenGL2 -DModule_vtkIOEnSight:BOOL=ON -DVTK_BUILD_ALL_MODULES_FOR_TESTS:BOOL=OFF ..</span></p><p class="gmail-p1"><span class="gmail-s1"><br></span></p><p class="gmail-p1"><span class="gmail-s1">but get errors as shown below:</span></p><p class="gmail-p1"><span class="gmail-s1">-- * vtktiff, needed by vtkIOImage.</span></p><p class="gmail-p1"><span class="gmail-s1">-- * vtkzlib, needed by 6 modules:</span></p><p class="gmail-p1"><span class="gmail-s1"> vtkIOCore</span></p><p class="gmail-p1"><span class="gmail-s1"> vtkIOImage</span></p><p class="gmail-p1"><span class="gmail-s1"> vtkMetaIO</span></p><p class="gmail-p1"><span class="gmail-s1"> vtkfreetype</span></p><p class="gmail-p1"><span class="gmail-s1"> vtkpng</span></p><p class="gmail-p1"><span class="gmail-s1"> vtktiff</span></p><p class="gmail-p1"><span class="gmail-s1">CMake Error at /usr/local/share/cmake-3.5/Modules/FindPackageHandleStandardArgs.cmake:148 (message):</span></p><p class="gmail-p1"><span class="gmail-s1"> Could NOT find OpenGL (missing: OPENGL_gl_LIBRARY OPENGL_INCLUDE_DIR)</span></p><p class="gmail-p1"><span class="gmail-s1">Call Stack (most recent call first):</span></p><p class="gmail-p1"><span class="gmail-s1"> /usr/local/share/cmake-3.5/Modules/FindPackageHandleStandardArgs.cmake:388 (_FPHSA_FAILURE_MESSAGE)</span></p><p class="gmail-p1"><span class="gmail-s1"> /usr/local/share/cmake-3.5/Modules/FindOpenGL.cmake:172 (FIND_PACKAGE_HANDLE_STANDARD_ARGS)</span></p><p class="gmail-p1"><span class="gmail-s1"> src/Components/VTK/CMake/vtkOpenGL.cmake:77 (find_package)</span></p><p class="gmail-p1"><span class="gmail-s1">
</span></p><p class="gmail-p1"><span class="gmail-s1"> src/Components/VTK/ThirdParty/glew/vtkglew/CMakeLists.txt:3 (include)</span></p><p class="gmail-p1"><span class="gmail-s1">====</span></p><p class="gmail-p1"><span class="gmail-s1"><br></span></p><p class="gmail-p1"><span class="gmail-s1">Thanks</span></p><p class="gmail-p1"><span class="gmail-s1">Ramesh</span></p></div></div>