I am using the latest PV source as of this date downloaded from the github repo. I am also using CMake 3.5.2 to build for Visual Studio 2015 on Windows 10.
After configuring once I followed the instructions provided here <http://www.paraview.org/Wiki/Setting_up_a_ParaView_Server#OSMesa_support> and tried to search for the CMake variable OPENGL_INCLUDE_DIR. However, it does not show up. I only see the QT version of it: QT_QT OPENGL_INCLUDE_DIR. I set the option to build qt gui to off and I set VTK_OPENGL_HAS_OSMESA to true. Then I tried to look for the libraries libGL and libGLU, but none of those is to be found inside the OSMesa build directory so I assumed that you are talking about the standard library files so I left the OPENGL_gl_LIBRARY and OPENGL_glu_LIBRARY variables alone. I set the osmesa library and include library to osmesa.lib and to <OSMesa SOURCE DIR>/include and NOT the build directory. The reason why I am doing this is because I was unable to install using scons. It configures and builds just fine. What am I doing wrong? These are the osmesa variables: http://puu.sh/qMzRY/e7d481b134.png These are the OPENGL variables: http://puu.sh/qMzWI/187cf17769.png And these are some of the errors I get when I build it like this: Severity Code Description Project File Line Suppression State Error C2440 'static_cast': cannot convert from 'OSMESAproc' to 'vtkOpenGLExtensionManagerFunctionPointer' vtkRenderingOpenGL D:\Projects\Paraview\ParaviewUpdated\ParaviewSource\VTK\Rendering\OpenGL\vtk OpenGLExtensionManager.cxx 725 Error C2440 'static_cast': cannot convert from 'OSMESAproc' to 'vtkOpenGLExtensionManagerFunctionPointer' vtkRenderingOpenGL D:\Projects\Paraview\ParaviewUpdated\ParaviewSource\VTK\Rendering\OpenGL\vtk OpenGLExtensionManager.cxx 725 Error LNK1104 cannot open file '..\..\..\lib\Debug\vtkRenderingOpenGL-pv5.1.lib' vtkRenderingContextOpenGL D:\Projects\Paraview\ParaviewUpdated\ParaviewBuild\VTK\Rendering\ContextOpen GL\LINK 1 Error LNK1104 cannot open file '..\..\..\lib\Debug\vtkRenderingOpenGL-pv5.1.lib' vtkRenderingContextOpenGL D:\Projects\Paraview\ParaviewUpdated\ParaviewBuild\VTK\Rendering\ContextOpen GL\LINK 1 Error LNK1104 cannot open file '..\..\..\lib\Debug\vtkRenderingOpenGL-pv5.1.lib' vtkRenderingLIC D:\Projects\Paraview\ParaviewUpdated\ParaviewBuild\VTK\Rendering\LIC\LINK 1 Error LNK1104 cannot open file '..\..\..\lib\Debug\vtkRenderingOpenGL-pv5.1.lib' vtkRenderingLIC D:\Projects\Paraview\ParaviewUpdated\ParaviewBuild\VTK\Rendering\LIC\LINK 1 Error LNK1104 cannot open file '..\..\..\lib\Debug\vtkRenderingOpenGL-pv5.1.lib' vtkRenderingVolumeOpenGL D:\Projects\Paraview\ParaviewUpdated\ParaviewBuild\VTK\Rendering\VolumeOpenG L\LINK 1 Error LNK1104 cannot open file '..\..\..\lib\Debug\vtkRenderingOpenGL-pv5.1.lib' vtkRenderingVolumeOpenGL D:\Projects\Paraview\ParaviewUpdated\ParaviewBuild\VTK\Rendering\VolumeOpenG L\LINK 1 Error LNK1104 cannot open file '..\..\..\lib\Debug\vtkRenderingOpenGL-pv5.1.lib' vtkRenderingParallel D:\Projects\Paraview\ParaviewUpdated\ParaviewBuild\VTK\Rendering\Parallel\LI NK 1 Error LNK1104 cannot open file '..\..\..\lib\Debug\vtkRenderingOpenGL-pv5.1.lib' vtkRenderingParallel D:\Projects\Paraview\ParaviewUpdated\ParaviewBuild\VTK\Rendering\Parallel\LI NK 1 Error LNK1104 cannot open file '..\..\..\lib\Debug\vtkRenderingContextOpenGL-pv5.1.lib' vtkRenderingGL2PS D:\Projects\Paraview\ParaviewUpdated\ParaviewBuild\VTK\Rendering\GL2PS\LINK 1 Error LNK1104 cannot open file '..\..\..\lib\Debug\vtkRenderingContextOpenGL-pv5.1.lib' vtkRenderingGL2PS D:\Projects\Paraview\ParaviewUpdated\ParaviewBuild\VTK\Rendering\GL2PS\LINK 1 Error LNK1104 cannot open file '..\..\..\lib\Debug\vtkRenderingVolumeOpenGL-pv5.1.lib' vtkRenderingVolumeAMR D:\Projects\Paraview\ParaviewUpdated\ParaviewBuild\VTK\Rendering\VolumeAMR\L INK 1 http://puu.sh/qMAIx/d57d40e5a5.png All the OSMesa libraries I got: http://puu.sh/qMAX3/3dc72dfa9e.png
_______________________________________________ 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 ParaView Wiki at: http://paraview.org/Wiki/ParaView Search the list archives at: http://markmail.org/search/?q=ParaView Follow this link to subscribe/unsubscribe: http://public.kitware.com/mailman/listinfo/paraview